diff options
author | funilrys | 2020-07-03 19:21:17 +0200 |
---|---|---|
committer | funilrys | 2020-07-03 19:21:17 +0200 |
commit | 5f430b15cba28f8ae62a6e76c9e6d913b942683e (patch) | |
tree | c0800826f62c4b228204c43d2c6c17bd3ccf1692 /PKGBUILD | |
download | aur-python-wordpress-xmlrpc.tar.gz |
Introduction of python-wordpress-xmlrpc v2.3
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..64f9cb3b892c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Nissar Chababy <contact at funilrys dot com> + +pkgname=python-wordpress-xmlrpc +pkgver=2.3 +pkgrel=1 +pkgdesc="WordPress XML-RPC API Integration Library" +arch=('any') +url="https://github.com/maxcutler/python-wordpress-xmlrpc/" +license=('BSD') +provides=("${pkgname}") +source=( + "https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.zip" +) +sha256sums=( + "e15a8e9aca16db169369e5967299c29965570ed83c7c3ad418ed59b5ad1471bd" +) + +build() { + echo "https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.zip" + cd ${srcdir}/${pkgname}-${pkgver} + python setup.py build +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build +} |