summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlice Gaudon2020-08-06 12:18:25 +0200
committerAlice Gaudon2020-08-06 12:18:25 +0200
commit53361e9d304075c24ce61c4c840c551dafe1179b (patch)
tree7c1d869e8b2bd059d8809d3110d6df85147a09b5
parentc36305fa0334ac9a7cf82aeb3474131fdb1610c1 (diff)
downloadaur-53361e9d304075c24ce61c4c840c551dafe1179b.tar.gz
Remove pkgver() as this is not a -git package
-rw-r--r--PKGBUILD5
1 files changed, 0 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index f7ea5200cf33..6e8d382f6ea3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -38,11 +38,6 @@ validpgpkeys=(
'29D0817A67156E4F25DC24782A349DD577D586A5' # Matthew Holt <mholt@users.noreply.github.com>
)
-pkgver() {
- cd ${_pkgname}
- git describe --tags --match 'v*' | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
-}
-
prepare() {
sed 's|/var/www/html|/srv/http|g' -i "${srcdir}/index-${_distcommit}.html"
sed 's|/etc/caddy/Caddyfile|/etc/caddy/caddy.conf|g' -i "${srcdir}/index-${_distcommit}.html"