1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
6 pkgdesc="A simple editor for ".desktop" files."
8 url="http://sourceforge.net/projects/pygmed/"
11 install="$pkgname.install"
12 source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz"
13 "$pkgname.desktop") # A .desktop file editor without a .desktop file
14 md5sums=('96428ecd869cdb104e0bc6074e2ab70e'
15 '40df8b3c1057b6191db68f1abc49af9b')
18 cd "$srcdir/$pkgname-$pkgver"
21 sed -i "s|\(bin/python\).*|\12|" `grep -Erl "bin/python" .`
23 python2 setup.py build
27 cd "$srcdir/$pkgname-$pkgver"
29 python2 setup.py install --root="$pkgdir/"
32 install -Dm644 ../$pkgname.desktop "$pkgdir/usr/share/applications/$pkgname.desktop"
35 # vim:set ts=2 sw=2 et: