diff --git a/.SRCINFO b/.SRCINFO index 90c4e69..4912d6b 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,13 +1,14 @@ pkgbase = phanpy-bin pkgdesc = A minimalistic opinionated Mastodon web client pkgver = 2025.04.28.5849b4d - pkgrel = 1 + pkgrel = 2 url = https://github.com/cheeaun/phanpy/ arch = any license = MIT provides = phanpy conflicts = phanpy - source = https://github.com/cheeaun/phanpy/releases/download/2025.04.28.5849b4d/phanpy-dist.tar.gz + noextract = phanpy-dist-2025.04.28.5849b4d.tar.gz + source = phanpy-dist-2025.04.28.5849b4d.tar.gz::https://github.com/cheeaun/phanpy/releases/download/2025.04.28.5849b4d/phanpy-dist.tar.gz sha256sums = 63bb5eff2cb391e9d3aabea6e97632a2d5d9e89bb0e49a868316080c676c4bc4 pkgname = phanpy-bin diff --git a/.gitignore b/.gitignore index b7e8a0b..46d8748 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ pkg/ src/ phanpy-dist.tar.gz +phanpy-dist-*.tar.gz diff --git a/PKGBUILD b/PKGBUILD index 71ff892..9126f84 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,22 +1,20 @@ # Maintainer: Balakrishnan Balasubramanian -#Maintainer: Bjoern Franke + +# Previous Maintainer: Bjoern Franke pkgname=phanpy-bin -_pkgver=2025.04.28.5849b4d -pkgver=${_pkgver//-/.} -pkgrel=1 +pkgver=2025.04.28.5849b4d +pkgrel=2 pkgdesc="A minimalistic opinionated Mastodon web client" arch=('any') url="https://github.com/cheeaun/phanpy/" license=('MIT') provides=('phanpy') conflicts=('phanpy') -source=("https://github.com/cheeaun/phanpy/releases/download/${_pkgver}/phanpy-dist.tar.gz") +source=(phanpy-dist-$pkgver.tar.gz::"https://github.com/cheeaun/phanpy/releases/download/${pkgver}/phanpy-dist.tar.gz") +noextract=(phanpy-dist-$pkgver.tar.gz) sha256sums=('63bb5eff2cb391e9d3aabea6e97632a2d5d9e89bb0e49a868316080c676c4bc4') package() { - cd ${srcdir} - install -d "${pkgdir}"/usr/share/webapps/phanpy/ - cp -r * "${pkgdir}"/usr/share/webapps/phanpy/ - rm "${pkgdir}"/usr/share/webapps/phanpy/phanpy-dist.tar.gz + install -d "${pkgdir}"/usr/share/webapps/phanpy/ + tar xf phanpy-dist-$pkgver.tar.gz --directory "${pkgdir}"/usr/share/webapps/phanpy/ } -