diff options
author | noprobelm | 2024-03-11 12:02:56 -0400 |
---|---|---|
committer | noprobelm | 2024-03-11 12:02:56 -0400 |
commit | 192c836d86e8a029da9503704d2a894e24f3086d (patch) | |
tree | ae65fea2050d02f0e72578e2dbc058c510398383 /PKGBUILD | |
parent | 24bb787516cfe07d75ae7b0bd8858ab97ba575bc (diff) | |
download | aur-tempy.tar.gz |
Bumped version and improved some PKGBUILD functions
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" } |