1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
6 pkgdesc="A graphical user interface for the Box vector graphics language"
8 url="http://boxc.sourceforge.net"
10 depends=('box' 'pygtk')
14 install="$pkgname.install"
15 source=("http://switch.dl.sourceforge.net/project/boxc/Boxer%20-%20the%20Box%20GUI/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz"
16 "http://boxc.sourceforge.net/_images/box-logo.png"
18 md5sums=('aec57ba2d93e96c3cd48e53bc7e50cec'
19 '2ad95dafb22037b74cac8c4736c73674'
20 '350cf47d8ed7851efa2001fea086ca89')
23 cd "$srcdir/$pkgname-$pkgver"
25 python2 setup.py build
29 cd "$srcdir/$pkgname-$pkgver"
31 python2 setup.py install --root="$pkgdir/"
33 # desktop file and pixmaps
34 install -Dm644 ../$pkgname.desktop \
35 "$pkgdir/usr/share/applications/$pkgname.desktop"
36 install -Dm644 ../box-logo.png \
37 "$pkgdir/usr/share/pixmaps/$pkgname.png"
40 sed -i "s|\(env python\).*|\12|" `grep -rl "env python" "$pkgdir"`
43 # vim:set ts=2 sw=2 et: