updated on Mon Jan 9 08:00:21 UTC 2012
[aur-mirror.git] / pallavi / PKGBUILD
blobd5223666f2cdfe34698522fd45d05e020f3fef60
1 # Contributor: Dusty Phillips <dusty@buchuki.com>
2 pkgname=pallavi
3 pkgver=0.6b3
4 pkgrel=2
5 pkgdesc="Extensible Text Editor"
6 arch=(i686 x86_64)
7 license=('custom:MIT')
8 url="http://pallavi.sf.net/"
9 depends=('python' 'wxpython')
10 source=("http://downloads.sourceforge.net/sourceforge/pallavi/Pallavi-$pkgver.tar.gz" menubar.patch pallavi.desktop LICENSE)
11 md5sums=('95b5906994f7c68ac743ac9957e40b8a'
12          'ffb8947bab37db024cb30561984988c7'
13          '99f6f8377472b406172e4d83b07719b0'
14          '20588a9062201296c00be9f25371948d')
16 build() {
17   cd $startdir/src/Pallavi-$pkgver
18   patch -Np0 < ../menubar.patch
19   python setup.py install --root=$startdir/pkg
20   cd $startdir/pkg/usr/bin
21   ln -s run-pallavi pallavi
22   # Install .desktop file
23   mkdir -p $startdir/pkg/usr/share/applications
24   install -m 644 $startdir/$pkgname.desktop $startdir/pkg/usr/share/applications/
26   install -D -m 644 $startdir/LICENSE $startdir/pkg/usr/share/licenses/pallavi/LICENSE