updated on Wed Jan 11 16:09:51 UTC 2012
[aur-mirror.git] / peppy / PKGBUILD
bloba8727404d031352364a34e973834be40525efba3
1 # Maintainer: TDY <tdy@gmx.com>
3 pkgname=peppy
4 pkgver=0.16.0
5 pkgrel=1
6 pkgdesc="(ap)Proximated (X)Emacs Powered by PYthon"
7 arch=('i686' 'x86_64')
8 url="http://peppy.flipturn.org/"
9 license=('GPL3')
10 depends=('wxpython>=2.8')
11 optdepends=('gdal>=1.4.0: broader range of image formats'
12             'mpd: MPD mode'
13             'pyenchant>=1.2.0: spell checking support'
14             'python-numpy>=1.0: hyperspectral image view mode'
15             'python-scipy>=0.5.2: extended mathematical functionality')
16 source=(http://$pkgname.flipturn.org/archive/$pkgname-$pkgver.tar.bz2
17         $pkgname.desktop)
18 md5sums=('89963a596c80b5f8e2863344ca82ae70'
19          '6666c9657bf97aad6b8f25ac48f05e21')
21 build() {
22   cd "$srcdir/$pkgname-$pkgver"
23   python2 setup.py build
26 package() {
27   cd "$srcdir/$pkgname-$pkgver"
28   python2 setup.py install --prefix=/usr --root="$pkgdir"
29   install -Dm644 $pkgname/icons/$pkgname.png \
30     "$pkgdir/usr/share/pixmaps/$pkgname.png"
31   install -Dm644 ../$pkgname.desktop \
32     "$pkgdir/usr/share/applications/$pkgname.desktop"