diff options
author | yar | 2015-11-22 19:26:24 -0800 |
---|---|---|
committer | yar | 2015-11-22 19:43:45 -0800 |
commit | 7232042c649929f0892ace5244bc0c776d0700b7 (patch) | |
tree | 88a8808f99984d7bdf9d0e78ed4cf6668324388c /PKGBUILD | |
download | aur-7232042c649929f0892ace5244bc0c776d0700b7.tar.gz |
base off python2-simple-crypt
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..6e4bf2b739e5 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: David Parrish <daveparrish@gmail.com> + +pkgname=python2-simple-crypt +pkgver=4.1.7 +pkgrel=1 +arch=('any') +license=('custom') +pkgdesc="Simple, secure encryption and decryption for Python 2.7" +url="https://pypi.python.org/pypi/simple-crypt" +makedepends=('python-distribute') +depends=('python-crypto') +source=("https://pypi.python.org/packages/source/s/simple-crypt/simple-crypt-$pkgver.tar.gz" + "LICENSE") +md5sums=('dc2b13ce6be9c9da08fb1e7d83498882' + 'e6208ad8f3763a8fd68f263ca0363732') + +build() { + cd "$srcdir/simple-crypt-$pkgver" + ls + python2 setup.py build +} + +package() { + cd "$srcdir" + ls + # Install public domain license + install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" + install -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/" + cd "simple-crypt-$pkgver" + python2 setup.py install --root=$pkgdir --optimize=1 +} |