mirror of
https://github.com/kha7iq/pingme.git
synced 2025-05-15 14:20:18 -07:00
fix: release to aur
This commit is contained in:
parent
e0047ea5e5
commit
03e380461f
2
.github/aur/pingme/PKGBUILD.template
vendored
2
.github/aur/pingme/PKGBUILD.template
vendored
@ -9,7 +9,7 @@ arch=("i686" "x86_64" "aarch64")
|
||||
license=("MIT")
|
||||
makedepends=('go>=1.16')
|
||||
source=(
|
||||
"${pkgname}-${pkgver}.tar.gz::https://github.com/kha7iq/pingme/archive/v${pkgver}.tar.gz"
|
||||
"${pkgname}-${pkgver}.tar.gz::https://github.com/kha7iq/${pkgname}/archive/v${pkgver}.tar.gz"
|
||||
)
|
||||
sha256sums=(
|
||||
${SHA256SUM}
|
||||
|
2
.github/aur/pingme/publish.sh
vendored
2
.github/aur/pingme/publish.sh
vendored
@ -41,7 +41,7 @@ else
|
||||
export PKGREL=1
|
||||
fi
|
||||
|
||||
export SHA256SUM=$(curl -sL https://github.com/kha7iq/subvars/archive/v$PKGVER.tar.gz | sha256sum | awk '{ print $1 }')
|
||||
export SHA256SUM=$(curl -sL https://github.com/kha7iq/${PKGNAME}/archive/v$PKGVER.tar.gz | sha256sum | awk '{ print $1 }')
|
||||
|
||||
envsubst '$PKGVER $PKGREL $SHA256SUM' < .SRCINFO.template > $GITDIR/.SRCINFO
|
||||
envsubst '$PKGVER $PKGREL $SHA256SUM' < PKGBUILD.template > $GITDIR/PKGBUILD
|
||||
|
Loading…
x
Reference in New Issue
Block a user