diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -1,6 +1,6 @@ # Maintainer: noprobelm@protonmail.com pkgname=tempy -pkgver=1.2.1.r75.1a8d27f +pkgver=1.4.0.r192.22db47e pkgrel=1 pkgdesc="Render visually pleasing weather reports as rich text to your terminal" arch=(any) @@ -23,17 +23,17 @@ md5sums=('SKIP') #autofill using updpkgsums pkgver() { cd "$pkgname" - printf "1.2.1.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + printf "1.4.0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } build() { - cd tempy - /usr/bin/python3 -m build --wheel --no-isolation + cd "$pkgname" + python -m build --wheel --no-isolation } package() { - cd tempy - python -m installer --destdir="$pkgdir" dist/*.whl + cd "$pkgname" + python -m installer --destdir="$pkgdir" --compile-bytecode=2 dist/*.whl install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md" } |