makedeb
Python library to read characters and key strokes
Click here to go back to the commit logs for python3-readchar.
Hash: 8685c5047f722f4cdffff01655109ccfd5f7baec
Message: Fix env
diff --git a/.SRCINFO b/.SRCINFO
index d6b47e3..1c76824 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 = 5
+ pkgrel = 6
url = https://github.com/magmax/python-readchar
arch = any
license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index 3156f8a..a49eadf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Maintainer: Kyle Laker <kyle+aur@laker.email>
pkgname=python-readchar
pkgver=3.0.5
-pkgrel=5
+pkgrel=6
pkgdesc="Python library to read characters and key strokes"
arch=("any")
url="https://github.com/magmax/python-readchar"
@@ -26,12 +26,12 @@ prepare() {
build() {
cd "${srcdir}/$pkgname-$pkgver"
- python -m build --wheel --no-isolation
+ GITHUB_REF="refs/tags/$pkgver" python -m build --wheel --no-isolation
}
package() {
cd "${srcdir}/$pkgname-$pkgver"
- GITHUB_REF="refs/tags/$pkgver" python -m installer --destdir="$pkgdir" dist/*.whl
+ python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}