summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authororumin2016-01-01 02:29:29 +0900
committerorumin2016-01-01 02:29:33 +0900
commit4dd80b7005ee230628ba57fb4d181c263047c934 (patch)
tree7f1ee46e4a74883b212d2861561041eea5e737cf /PKGBUILD
parent365f7b6ffc46a8da502e85759a481f391c525bbd (diff)
downloadaur-ttf-kazesawa-git.tar.gz
correct pkgver()
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index f597d28c903..9935691562d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=ttf-kazesawa-git
_gitname=kazesawa
pkgver=alpha.v1.r15.g3789e6d
-pkgrel=1
+pkgrel=2
pkgdesc="Japanese TrueType font obtained by mixing M+ and Source Sans Pro"
arch=('any')
url="http://kazesawa.github.io/"
@@ -15,7 +15,7 @@ md5sums=('SKIP')
install=ttf.install
pkgver() {
- cd "$_gitroot"
+ cd "${srcdir}/${_gitname}"
git describe --long --tags | sed -E 's/([^-]*-g)/r\1/;s/-/./g'
}