diff options
author | Gaming4JC <g4jc@openmailbox.org> | 2017-02-19 13:03:28 -0500 |
---|---|---|
committer | Gaming4JC <g4jc@openmailbox.org> | 2017-02-19 13:03:28 -0500 |
commit | 9b4ef426427b16b7a0fd6910fe75013d3033f95d (patch) | |
tree | ff762fb40efdfdc7da49531e8a3c747b1a71d88f | |
parent | a2b5be28dcf023f57a4951f54490433b9eda6ce6 (diff) | |
download | abslibre-9b4ef426427b16b7a0fd6910fe75013d3033f95d.tar.gz abslibre-9b4ef426427b16b7a0fd6910fe75013d3033f95d.tar.bz2 abslibre-9b4ef426427b16b7a0fd6910fe75013d3033f95d.zip |
add python2-shutilwhich to pcr
-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 +} |