diff options
-rw-r--r-- | pcr/python2-shutilwhich/PKGBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pcr/python2-shutilwhich/PKGBUILD b/pcr/python2-shutilwhich/PKGBUILD new file mode 100644 index 000000000..d6013bd9d --- /dev/null +++ b/pcr/python2-shutilwhich/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Luke R. <g4jc@openmailbox.org> GPG: rsa4096/3EAE8697 + +pkgname=python2-shutilwhich +pkgver=1.1.0 +pkgrel=1 +pkgdesc="shutil.which for those not using Python 3.3 yet." +url="http://github.com/mbr/shutilwhich" +depends=('python2' ) +makedepends=('python2' 'python2-setuptools') +license=('PSF') +arch=('any') +source=(https://pypi.python.org/packages/source/s/shutilwhich/shutilwhich-$pkgver.tar.gz) +sha512sums=('94001875c428ce1ad1c92e5f5be1ed497630ac0e2221dbb93fde8438f128f4f2663a0a13e17b94852e4813aadec694fa21c24f647500e8053c89ec610eb7fe21') + +build() { + cd $srcdir/shutilwhich-$pkgver + python2 setup.py build +} + +package() { + cd $srcdir/shutilwhich-$pkgver + python2 setup.py install --root="$pkgdir" --optimize=1 + chmod 644 $pkgdir/usr/lib/python2.7/site-packages/shutilwhich-1.1.0-py2.7.egg-info/PKG-INFO +} |