summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PKGBUILD10
1 files changed, 3 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index fb0b85b6241..a69571b19c4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Clint Valentine <valentine.clint@gmail.com>
_name=adjustText
-pkgname='python-adjusttext'
+pkgname=python-adjusttext
pkgver=0.7.3
pkgrel=1
pkgdesc='Iteratively adjust text position in matplotlib plots to minimize overlaps'
@@ -18,16 +18,12 @@ source=(
sha256sums=('b90e275a95b4d980cbbac7967914b8d66477c09bc346a0b3c9e2125bba664b06'
'443687f058d5f541952ab9bcd6f836d9843ac13b93b8a6b1097eb0832d2314fa')
-prepare() {
- cp -a "${_name}"-"${pkgver}"{,-py2}
-}
-
build() {
- cd "${srcdir}"/"${_name}"-"${pkgver}"
+ cd "$srcdir/$_name-$pkgver"
python setup.py build
}
-package_python-adjusttext() {
+package() {
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
cd "$_name-$pkgver"
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build