makedeb
Python library to read characters and key strokes
Click here to go back to the commit logs for python3-readchar.
Hash: 7a79dc965e45a155ef3e0cdac1554c5f8c7a6d55
Message: Fix version installation
Thanks to @qark!
diff --git a/.SRCINFO b/.SRCINFO
index 4e67f4d..7c6d3e1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = python-readchar
pkgdesc = Python library to read characters and key strokes
pkgver = 3.0.5
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/magmax/python-readchar
arch = any
license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index 11acb18..fe4a84f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Maintainer: Kyle Laker <kyle+aur@laker.email>
pkgname=python-readchar
pkgver=3.0.5
-pkgrel=2
+pkgrel=3
pkgdesc="Python library to read characters and key strokes"
arch=("any")
url="https://github.com/magmax/python-readchar"
@@ -32,6 +32,6 @@ build() {
package() {
cd "${srcdir}/$pkgname-$pkgver"
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ GITHUB_REF="refs/tags/$pkgver" python setup.py install --root="$pkgdir" --optimize=1 --skip-build
install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}