summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp A2020-08-03 10:08:15 +0200
committerPhilipp A2020-08-03 10:08:15 +0200
commit79a86f84571ed9774a9fdba8ca43f9adc0d2ddac (patch)
tree560b8b2da1978092178aa3e7ed6e64f541f179c8
parentc468669b00bb342f3989760f97cbd6d99afff355 (diff)
downloadaur-79a86f84571ed9774a9fdba8ca43f9adc0d2ddac.tar.gz
more fixes
-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