summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorHunter Peavey2020-10-30 21:39:41 -0700
committerHunter Peavey2020-10-30 21:39:41 -0700
commitcfdfd2493a6640348a69877058c11edeeabddfd8 (patch)
tree65e6ca82913f1f1f1cbb622027c44c3b668a6358
parentceb2271a21d4b57ac29271a890cb158c5dc94e5c (diff)
downloadaur-cfdfd2493a6640348a69877058c11edeeabddfd8.tar.gz
Minor update; leverage variables more
-rw-r--r--PKGBUILD11
1 files changed, 6 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index c56eeec3269..6fcc5da7e52 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,23 +1,24 @@
# Maintainer: Hunter Peavey < printf "srht@die.bots" | sed "s/die.bots/krathalan.net/g" >
pkgname=gmnisrv-git
+_pkgname=gmnisrv
pkgrel=1
-pkgver=r48.1fe1078
+pkgver=r58.70fadc2
pkgdesc="A high-performance Gemini server for POSIX systems"
-url="https://git.sr.ht/~sircmpwn/gmni"
+url="https://git.sr.ht/~sircmpwn/gmnisrv"
arch=("any")
license=("GPL")
-source=("gmnisrv::git+https://git.sr.ht/~sircmpwn/gmnisrv")
+source=("gmnisrv::git+${url}")
depends=('openssl')
makedepends=('git' 'scdoc')
pkgver() {
- cd gmnisrv
+ cd "${_pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
- cd gmnisrv
+ cd "${_pkgname}"
mkdir build && cd build
../configure --prefix=/usr