summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PKGBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index dba3da9fadb4..7a2fa94002f3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=python-rtimulib
_gitname=RTIMULib
pkgver=7.2.1
-pkgrel=1
+pkgrel=2
pkgdesc="Python Binding for RTIMULib, a versatile IMU library."
arch=('armv7h')
url="http://www.richards-tech.com/"
@@ -15,15 +15,15 @@ source=("https://github.com/RPi-Distro/${_gitname}/archive/V${pkgver}.tar.gz")
sha256sums=('d8cc6c8c07633f4cd64f42fef80527033d3c8ed2a457fd6d003850450adb5b03')
build() {
- cd "${srcdir}/${_gitname}/Linux/python/"
+ cd "${srcdir}/${_gitname}-${pkgver}/Linux/python/"
python setup.py build
}
package() {
- cd "${srcdir}/${_gitname}/Linux/python/"
+ cd "${srcdir}/${_gitname}-${pkgver}/Linux/python/"
python setup.py install --root="${pkgdir}" --optimize=1
# Install license
- install -Dm644 "${srcdir}/${_gitname}/LICENSE" \
+ install -Dm644 "${srcdir}/${_gitname}-${pkgver}/LICENSE" \
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}