summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorCarlos Aznarán Laos2021-11-26 16:46:46 -0500
committerCarlos Aznarán Laos2021-11-26 16:46:46 -0500
commitd0b6c4de5a306433d000d268dada80dce4af4b69 (patch)
tree0c0a48738de2a6a8e188b11567601ee9087b6fc7 /PKGBUILD
parent6fab04f5f64a66f73a7f90d8c04443478e3a5526 (diff)
downloadaur-d0b6c4de5a306433d000d268dada80dce4af4b69.tar.gz
Remove duplicate python setup.py install
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD3
1 files changed, 1 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 2d099a367ede..53652d821fa5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor: Simon Legner <Simon.Legner@gmail.com>
pkgname=python-mwoauth
pkgver=0.3.0
-pkgrel=2
+pkgrel=3
pkgdesc="Generic MediaWiki OAuth handshake helper for Python"
license=(MIT)
arch=('any')
@@ -19,7 +19,6 @@ build() {
package() {
cd "${pkgname}-${pkgver}"
- python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
PYTHONPYCACHEPREFIX="${PWD}/.cache/cpython/" python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
}