diff options
author | JP-Ellis | 2018-08-13 19:38:19 +0200 |
---|---|---|
committer | JP-Ellis | 2018-08-13 19:38:19 +0200 |
commit | 76d00013a9f614aeb7765627a2d1cf14bbc6e12c (patch) | |
tree | 77c320cba108d867e60485c2d756f4d2124592e8 /PKGBUILD | |
download | aur-76d00013a9f614aeb7765627a2d1cf14bbc6e12c.tar.gz |
Initial commit
Signed-off-by: JP-Ellis <josh@jpellis.me>
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..8522d72dbb07 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: JP-Ellis <josh@jpellis.me> +pkgname=python-pylibgen +_name=${pkgname#python-} +pkgver=1.3.1 +pkgrel=1 +pkgdesc="Python interface to Library Genesis." +arch=('any') +url="https://pypi.org/project/pylibgen/" +license=('GPL') +depends=('python') +optdepends=() +source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz") +sha256sums=('303b0f279504c6b97f7619835bc9005bdadf9860c8b7a5d8204b189747c471e7') +noextract=() + +build() { + cd "${srcdir}/${_name}-${pkgver}" + touch Changelog.rst + python setup.py build +} + +package() { + cd "${srcdir}/${_name}-${pkgver}" + python setup.py install --root="$pkgdir/" --optimize=1 --skip-build +} + +# vim:set ts=2 sw=2 et: |