diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d878843948d6 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,20 @@ +# Maintainer: Guillaume Horel <guillaume.horel@gmail.com> +pkgname=('python-pickle5') +_pkgname='pickle5' +pkgver='0.0.6' +pkgrel=1 +pkgdesc="Experimental backport of the pickle 5 protocol (PEP 574)" +url="https://github.com/pitrou/pickle5-backport" +depends=('python') +checkdepends=() +makedepends=('python-setuptools') +license=('custom') +arch=('any') +source=("https://pypi.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz") +sha256sums=('ae0022ad79930cf8cd190eade903ec5041c36a0237bab8ac38a50d2c9d3fc3cb') + +package() { + cd "${srcdir}/${_pkgname}-${pkgver}" + python setup.py install --root="${pkgdir}" --optimize=1 + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} |