1 # Maintainer: Tetsumaki <http://goo.gl/YMBdA>
2 # Contributor: Stefan Husmann <stefan-husmann@t-online.de>
3 # Contributor: Stefano Esposito <ragnarok@email.it>
8 pkgdesc="GTK package manager for archlinux based on pacman"
10 url="http://gtkpacman.berlios.de/"
12 depends=('pygtk' 'vte')
13 source=("http://download.berlios.de/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
14 sha256sums=('0ee571a5b1efcf5d8594a6eb04456a598c6354301ee6300c6508999c1eb87b88')
17 cd "${srcdir}/${pkgname}-${pkgver}"
20 for _file in $(find . -name '*.py' -print); do
21 sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' "${_file}"
22 sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' "${_file}"
27 cd "${srcdir}/${pkgname}-${pkgver}"
28 python2 setup.py install --root="${pkgdir}"