summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorShulhan2019-01-16 16:27:29 +0700
committerShulhan2019-01-16 16:27:58 +0700
commit34540041b038cf27b4e4f4885a09aa16ee5e0232 (patch)
tree2ea326017d5d46fadd4750704939e5815007ec35 /PKGBUILD
parent82ab3e389fbb593084e7c41cb0dd2e6f326096a1 (diff)
downloadaur-34540041b038cf27b4e4f4885a09aa16ee5e0232.tar.gz
Release v2.0.0
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 2 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 91e842f0018..fcac6d85656 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,6 @@
# Maintainer: shulhan <ms@kilabit.info>
pkgname=rescached-git
-pkgver=2.0.0rc2.96.b727ff3
-_pkgver=2.0.0rc2
+pkgver=2.0.0.r0.g56ddcf9
pkgrel=1
pkgdesc="Resolver/DNS cache daemon"
arch=('i686' 'x86_64' 'armv7h')
@@ -20,7 +19,6 @@ sha1sums=(
'SKIP'
)
-install=rescached-git.install
backup=(
'etc/rescached/rescached.cfg'
'etc/rescached/hosts.d/hosts.block'
@@ -28,7 +26,7 @@ backup=(
pkgver() {
cd "$pkgname"
- printf "%s.%s.%s" "$_pkgver" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {