diff options
author | Matt Cuneo | 2023-07-09 22:10:08 +1000 |
---|---|---|
committer | Matt Cuneo | 2023-07-09 22:10:08 +1000 |
commit | ee2d68ed5cee2f3f03bf08237f4a4d96de8f8650 (patch) | |
tree | ccbafde82825418247f7dfc69e474b87a42acde3 /PKGBUILD | |
download | aur-ee2d68ed5cee2f3f03bf08237f4a4d96de8f8650.tar.gz |
Initial package
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..9315f1cc37ae --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer: Matt Cuneo <m@cuneo.au> +_pkgname=lemmony +pkgname="python-$_pkgname" +pkgver=0.0.5 +pkgrel=1 +pkgdesc="A better 'All' browsing experience for Lemmy instances" +arch=('any') +url="https://github.com/jheidecker/$_pkgname" +license=('MIT') +depends=('python-certifi' 'python-charset-normalizer' 'python-idna' 'python-requests' 'python-urllib3') +makedepends=(python-build python-installer) +source=("https://github.com/jheidecker/$_pkgname/archive/refs/tags/v$pkgver.tar.gz") +sha256sums=('d4b134464039c95c6b61ce6f3d5e877c045c6207bad40662e9749874b3294cc9') + +build() { + cd $_pkgname-$pkgver + python -m build +} +package() { + cd $_pkgname-$pkgver + python -m installer --destdir="$pkgdir" dist/*.whl +} |