summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorHengjian Jia2022-03-03 10:21:54 +0000
committerHengjian Jia2022-03-03 10:21:54 +0000
commitade97f11148fd9c1e68ebbb0747b6f6b6b88fd40 (patch)
tree61ac998c093c3a1b9bb9bcea0e3abe04678d6456
parent49d45f5cff462b208e7eccb014835794e653fae4 (diff)
downloadaur-python-pooch.tar.gz
Update to fix install location
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3ee186202bde..26df73d83a11 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = python-pooch
pkgdesc = Python library for fetching and caching data files
pkgver = 1.6.0
- pkgrel = 1
+ pkgrel = 2
url = https://www.fatiando.org/pooch/latest/
arch = any
license = BSD 3-Clause
diff --git a/PKGBUILD b/PKGBUILD
index 460b169d00df..23167ed40e40 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=python-pooch
_pkgname=pooch
pkgver=1.6.0
-pkgrel=1
+pkgrel=2
pkgdesc="Python library for fetching and caching data files"
arch=('any')
url="https://www.fatiando.org/pooch/latest/"
@@ -21,6 +21,6 @@ build() {
package() {
cd "$srcdir/${_pkgname}-${pkgver}"
- python -m pip install --no-deps .
+ python -m pip install --no-deps --root=${pkgdir} --prefix=/usr .
install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}