diff options
author | DorianXGH | 2020-11-01 20:08:20 +0100 |
---|---|---|
committer | DorianXGH | 2020-11-01 20:08:20 +0100 |
commit | 94190da5e8aa5b1fb1c6b6f25d4329cd11d2b4fb (patch) | |
tree | f41644e732df507e9e13cf8a14378d14513e48db | |
parent | dc45b8f6107a50e9dd613872cd45e52ea214ba78 (diff) | |
download | aur-94190da5e8aa5b1fb1c6b6f25d4329cd11d2b4fb.tar.gz |
added correct version numbering
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 7 insertions, 2 deletions
@@ -1,6 +1,6 @@ pkgbase = ttf-comic-mono-git pkgdesc = like the famous font but monospace and with adjusted metric - pkgver = 1 + pkgver = r21.03b5ad8 pkgrel = 1 arch = any license = MIT @@ -1,6 +1,6 @@ # Maintainer: Dorian Bourgeoisat <dorian dot bourgeoisat at icloud dot com> pkgname=ttf-comic-mono-git -pkgver=1 +pkgver=r21.03b5ad8 pkgrel=1 pkgdesc="like the famous font but monospace and with adjusted metric" license=('MIT') @@ -11,6 +11,11 @@ provides=("comic-mono") source=("git+https://github.com/dtinth/comic-mono-font.git") md5sums=('SKIP') +pkgver() { + cd "$srcdir/comic-mono-font" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + package() { cd "$srcdir/comic-mono-font" install -d "$pkgdir/usr/share/fonts/TTF" |