You've already forked phanpy-bin_aur
Make sure upgrade does not require clean install
This commit is contained in:
5
.SRCINFO
5
.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
|
||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@
|
||||
pkg/
|
||||
src/
|
||||
phanpy-dist.tar.gz
|
||||
phanpy-dist-*.tar.gz
|
||||
|
18
PKGBUILD
18
PKGBUILD
@ -1,22 +1,20 @@
|
||||
# Maintainer: Balakrishnan Balasubramanian <aur@balki.me>
|
||||
#Maintainer: Bjoern Franke <bjo+aur@schafweide.org>
|
||||
|
||||
# Previous Maintainer: Bjoern Franke <bjo+aur@schafweide.org>
|
||||
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/
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user