[Frugalware-darcs] frugalware-current: eric4-4.0.0-1-i686
crazy
crazy at frugalware.org
Mon Jun 4 04:46:51 CEST 2007
Darcsweb-Url: http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=frugalware-current;a=darcs_commitdiff;h=20070604023834-f6986-e2cb96d672e3c686ff4972d301a5370adb52d99f.gz;
[eric4-4.0.0-1-i686
crazy <crazy at frugalware.org>**20070604023834
* New package
* ( we cannot remove/replace eric3 now )
] {
adddir ./source/xapps-extra/eric4
addfile ./source/xapps-extra/eric4/FrugalBuild
hunk ./source/xapps-extra/eric4/FrugalBuild 1
+# Compiling Time: 0.06 SBU
+# Maintainer: crazy <crazy at frugalware.org>
+
+pkgname=eric4
+pkgver=4.0.0
+pkgrel=1
+pkgdesc="Eric4 is a full featured Python (and Ruby) IDE that is written in PyQt4."
+_F_sourceforge_dirname="eric-ide"
+Finclude sourceforge python
+url="http://www.die-offenbachs.de/eric/index.html"
+up2date="lynx -dump 'http://sourceforge.net/project/showfiles.php?group_id=119070'|grep -om1 'eric4-\(.*\).tar.gz'|Flasttar"
+source=($source \
+ ${source/eric4-$pkgver/eric4-i18n-de-$pkgver} \
+ ${source/eric4-$pkgver/eric4-i18n-fr-$pkgver} \
+ ${source/eric4-$pkgver/eric4-i18n-ru-$pkgver} \
+ ${source/eric4-$pkgver/eric4-i18n-cs_CZ-$pkgver}
+ $pkgname.desktop)
+groups=('xapps-extra')
+archs=('i686')
+options=('scriptlet')
+depends=('pyqt4' 'qscintilla2-qt4' 'qscintilla2-python-qt4')
+rodepends=('shared-mime-info')
+
+subpkgs=("$pkgname-i18n-de" "$pkgname-i18n-fr" "$pkgname-i18n-ru" "$pkgname-i18n-cs_cz")
+subdescs=('German language files for Eric4' 'Frech language files for Eric4' \
+ 'Russian language files for Eric4' 'Czech language files for Eric4')
+subgroups=('locale-extra' 'locale-extra' 'locale-extra' 'locale-extra')
+subdepends=("$pkgname=$pkgver" "$pkgname=$pkgver" "$pkgname=$pkgver" "$pkgname=$pkgver")
+subarchs=('i686' 'i686' 'i686' 'i686')
+
+build()
+{
+ Fcd
+ python install.py -b /usr/bin -i $Fdestdir || Fdie
+ Fdocrel LICENSE.GPL
+ rm -f README-i18n.txt || Fdie
+ Ffilerel eric/icons/default/eric.png \
+ /usr/share/pixmaps/$pkgname.png
+ Ffile /usr/share/applications/$pkgname.desktop
+ ## FIXME conflicts with eric3
+ Fmv usr/lib/python2.5/site-packages/sitecustomize.* $_F_python_libdir/eric4
+
+ Fsplit $pkgname-i18n-de $_F_python_libdir/eric4/i18n/eric4_de.qm
+ Fsplit $pkgname-i18n-fr $_F_python_libdir/eric4/i18n/eric4_fr.qm
+ Fsplit $pkgname-i18n-ru $_F_python_libdir/eric4/i18n/eric4_ru.qm
+ Fsplit $pkgname-i18n-cs_cz $_F_python_libdir/eric4/i18n/eric4_cs_CZ.qm
+}
+sha1sums=('8264c7a8f9b2261ccb4fe1cc06dcf5c35164b191'\
+ 'de8d4ecf273f84a1d7b54b8656f9a68b3cf5dabb'\
+ '7c9dbf887e802d379a7eb01d37da3762444eec55'\
+ 'bcce1e35c9aa8f48195b2d4a87f01fb42a91b643'\
+ 'a53f22fb7d2a7014f14bce59c518b711f53d2412'\
+ 'a45dc892e51a061cfccfa1add539cb7ff803fe60')
addfile ./source/xapps-extra/eric4/eric4.desktop
hunk ./source/xapps-extra/eric4/eric4.desktop 1
+[Desktop Entry]
+Encoding=UTF-8
+Name=Eric
+Comment=Python (and Ruby) IDE
+Exec=eric4
+Terminal=false
+Type=Application
+StartupNotify=true
+#MimeType=application/x-asp;application/docbook+xml;application/x-javascript;application/x-perl;application/x-php;application/x-ruby;application/x-shellscript;application/xslt+xml;
+MimeType=text/css;text/html;text/x-c++hdr;text/x-c++src;text/x-csharp;text/x-chdr;text/x-csrc;text/x-dtd;text/x-idl;text/x-java;text/x-patch;text/x-python;text/x-sql;text/x-tex;text/xml
+Icon=eric4
+Categories=Application;Development;
addfile ./source/xapps-extra/eric4/eric4.install
hunk ./source/xapps-extra/eric4/eric4.install 1
+post_install()
+{
+ update-mime-database /usr/share/mime > /dev/null
+}
+
+post_remove()
+{
+ post_install
+}
+
+op=$1
+shift
+
+$op $*
+
+# vim: ft=sh
}
More information about the Frugalware-darcs
mailing list