summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMhd Sulhan2016-07-08 00:25:47 +0700
committerMhd Sulhan2016-07-08 00:25:47 +0700
commit773eb8e2afb8f660db32ca81e56dd768c5c9e6c6 (patch)
treeef40ed181361dbb7a531c5e85b333b99f6e72329
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.
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
2 files changed, 4 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f361b6ca9ff..835a88a360c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,6 @@
-# Generated by mksrcinfo v8
-# Thu Jan 7 14:02:17 UTC 2016
pkgbase = rescached-git
pkgdesc = Resolver/DNS cache daemon
- pkgver = r123.94e4d7a
+ pkgver = 1.1.0.r0.g6be6500
pkgrel = 1
url = https://github.com/shuLhan/rescached
arch = i686
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: