initial import
This commit is contained in:
26
python-scrypt/PKGBUILD
Normal file
26
python-scrypt/PKGBUILD
Normal file
@@ -0,0 +1,26 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=python-scrypt
|
||||
pkgver=0.8.19
|
||||
pkgrel=1
|
||||
pkgdesc="Bindings for the scrypt key derivation function library"
|
||||
url='https://github.com/holgern/py-scrypt'
|
||||
arch=('i686' 'x86_64')
|
||||
license=('Simplified-BSD')
|
||||
depends=('python' 'glibc' 'libressl')
|
||||
makedepends=('python-setuptools')
|
||||
source=("https://github.com/holgern/py-scrypt/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
|
||||
sha512sums=('a207675cfc368ed0f333af9ec6159397c2455aab58a781869d3b7ff8226ce3214465f5373b9ae21bb7b53266da651321c3d0b4618516524fd58f72c660674e15')
|
||||
|
||||
build() {
|
||||
cd py-scrypt-${pkgver}
|
||||
python setup.py build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd py-scrypt-${pkgver}
|
||||
python setup.py install --root="${pkgdir}" -O1 --skip-build
|
||||
rm -r "${pkgdir}"/usr/lib/python*/site-packages/scrypt/tests
|
||||
install -Dm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
|
||||
install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
|
||||
}
|
||||
Reference in New Issue
Block a user