summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMhd Sulhan2016-07-08 00:25:47 +0700
committerMhd Sulhan2016-07-08 00:25:47 +0700
commit773eb8e2afb8f660db32ca81e56dd768c5c9e6c6 (patch)
treeef40ed181361dbb7a531c5e85b333b99f6e72329 /PKGBUILD
parent749b99e77e60102293f4b64232a03ab8df50f315 (diff)
downloadaur-773eb8e2afb8f660db32ca81e56dd768c5c9e6c6.tar.gz
Update to version 1.1.0.
* Get latest tags from git for package versioning. * Remove expandtab from vim modeline.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4566e376b50..e815095f405 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: sulhan <ms at kilabit.info>
_pkgname=rescached
pkgname=rescached-git
-pkgver=r123.94e4d7a
+pkgver=1.1.0.r0.g6be6500
pkgrel=1
pkgdesc="Resolver/DNS cache daemon"
arch=('i686' 'x86_64')
@@ -23,7 +23,7 @@ sha1sums=(
pkgver() {
cd "$srcdir/$_pkgname/src"
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
@@ -59,4 +59,4 @@ post_install() {
[[ -f /etc/rescached/hosts.ads ]] && rm -f /etc/rescached/hosts.ads
}
-# vim:set ts=2 sw=2 et:
+# vim:set ts=2 sw=2: