updated on Sun Jan 15 04:04:02 UTC 2012
[aur-mirror.git] / zeditor / PKGBUILD
blob9d47540dacd8d441bb92a737c508556c0538a273
1 # Contributor: Eric Forgeot < http://ifiction.free.fr >
2 pkgname=zeditor
3 pkgver=0.5
4 pkgrel=1
5 pkgdesc="An editor for the creation of tutorials (.tuto) used on the Site du Zéro"
6 arch=(i686 x86_64)
7 url="http://www.foxycode.net/zeditor/"
8 license=('gpl')
9 depends=('xulrunner')
10 source=(http://www.foxycode.net/zeditor/trunks/0-5/${pkgname}-0-5-ff.tar.gz)
11 md5sums=('ad6197948ceaf951e5d40ca913a8c0b0')
14 build() {
15         mkdir -p $pkgdir/usr/share/${pkgname}
16         mkdir -p $pkgdir/usr/bin/
17         cp -r $srcdir/zEditor/* $pkgdir/usr/share/${pkgname}
18         
19         echo "xulrunner /usr/share/zeditor/application.ini" > $pkgdir/usr/bin/zeditor
21     chmod +x $pkgdir/usr/bin/zeditor
22         
23 #desktop icons
24         mkdir -p $pkgdir/usr/share/pixmaps
25         mkdir -p $pkgdir/usr/share/applications
27         cp $srcdir/zEditor/chrome/icons/default/zozoreditor.xpm $pkgdir/usr/share/pixmaps/$pkgname.xpm
28         
29         install -D -m644 $srcdir/../$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
30         }