1 # Maintainer: Alexander De Sousa <archaur :dot: xandy21 :at: spamgourmet :dot: com>
2 # Contributor: stonecrest <stonecrestATgmailDOTcom>
7 pkgdesc="A software image editor focused on usability and logic."
9 url="http://www.$pkgname.org/"
11 depends=('gtk2>=2.18' 'pygtk' 'python2')
12 source=(http://www.nathive.org/dl/$pkgname-$pkgver.tgz)
13 md5sums=('37b76a856912713990e971f3d36efbf5')
14 sha1sums=('b3ec17ec3b5ba6be90e8c4b7f60029e2651998a0')
20 sed 's|BASE = /|BASE = ../../pkg/|g' -i makefile
22 # Right now, Python 2.x is needed:
23 if [ ! -e "$srcdir/python2-path" ]; then
24 mkdir $srcdir/python2-path
25 ln -s /usr/bin/python2 "$srcdir/python2-path/python"
27 export PATH="$srcdir/python2-path/:$PATH"
36 # Adjust paths and use the Python 2.x interpreter:
37 sed 's|python|python2|g' -i "$pkgdir/usr/bin/nathive"
38 sed 's|../../pkg||g' -i "$pkgdir/usr/bin/nathive"
39 sed 's|../../pkg||g' -i "$pkgdir/usr/share/nathive/META"
42 # vim: set ft=sh ts=3 sw=3 tw=0: