diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 9 insertions, 2 deletions
@@ -1,6 +1,6 @@ pkgbase = cozette-drawing-git pkgdesc = Patch to make Cozette's braille characters take up their entire space. - pkgver = 0 + pkgver = r151.b6752ee pkgrel = 1 url = https://github.com/redstonekasi/cozette-drawing arch = any @@ -1,7 +1,7 @@ # Maintainer: Cain Atkinson <yellowsink@riseup.net> pkgname=cozette-drawing-git -pkgver=0 +pkgver=r151.b6752ee pkgrel=1 pkgdesc="Patch to make Cozette's braille characters take up their entire space." arch=(any) @@ -13,6 +13,13 @@ makedepends=(git fontforge python-pipenv pyenv java-runtime-headless) source=('cozette::git+https://github.com/slavfox/cozette' 'drawing::git+https://github.com/redstonekasi/cozette-drawing') sha256sums=(SKIP SKIP) +pkgver() { + cd "${srcdir}/cozette" + +# Git, no tags available + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + prepare() { # patch cd "${srcdir}/cozette" |