1 # Maintainer: NiteHogg <keith.b.elliott [at] gmail [dot] com>
6 pkgdesc="GUI for I-PAC USB keyboard encoder programming utility."
8 url="http://www.zumbrovalley.net"
11 depends=('ipacutil' 'python2' 'pygtk' 'gtk2')
12 source=("http://www.zumbrovalley.net/ipacutil/dnld/$pkgname"_"$_pkgver.tar.gz")
13 md5sums=('de6f49bb346ab37254d0366ed4f8ea45')
17 install -d $pkgdir/usr/bin $pkgdir/usr/share/{applications,ipacgui,pixmaps}
18 cd $srcdir/$pkgname'_'$pkgver/usr
20 install share/games/ipacgui/* $pkgdir/usr/share/ipacgui
21 install share/pixmaps/* $pkgdir/usr/share/pixmaps/
22 sed -r 's|/usr/games|/usr/bin|g;s|(Categories=).*|\1GTK;Utility|g' share/applications/ipacgui.desktop > $pkgdir/usr/share/applications/ipacgui.desktop
23 sed -r 's|(IPATH=).*|\1/usr/share/ipacgui|g;s|python|python2|g' games/ipacgui > $pkgdir/usr/bin/ipacgui
24 chmod 755 $pkgdir/usr/bin/ipacgui
27 # vim:set ts=2 sw=2 et: