diff options
author | AtticFinder65536 | 2022-11-11 17:30:47 +1100 |
---|---|---|
committer | AtticFinder65536 | 2022-11-11 17:30:47 +1100 |
commit | 14db77b0c27c7b17c08f4171dd04f5fe459dc9c4 (patch) | |
tree | 96cc09ee830111f3ca447207828adef62bf8722d | |
parent | b43a517fd671e7196d84b6a31c714b10aa344e1c (diff) | |
download | aur-14db77b0c27c7b17c08f4171dd04f5fe459dc9c4.tar.gz |
Use best practices for pkgver (strip 'v' prefix)
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 5 insertions, 3 deletions
@@ -1,7 +1,8 @@ pkgbase = ttf-twemoji-color-git pkgdesc = A color and B&W emoji SVG-in-OpenType font by Twitter with support for ZWJ, skin tone modifiers and country flags (git) - pkgver = v13.1.0.r2.g3239f32 + pkgver = 14.0.2.r0.ge451b5d pkgrel = 1 + epoch = 1 url = https://github.com/eosrei/twemoji-color-font arch = any license = custom:CCPL:by-4.0 @@ -2,8 +2,9 @@ pkgname=('ttf-twemoji-color-git') _gitname=('twemoji-color-font') -pkgver=v13.1.0.r2.g3239f32 +pkgver=14.0.2.r0.ge451b5d pkgrel=1 +epoch=1 pkgdesc="A color and B&W emoji SVG-in-OpenType font by Twitter with support for ZWJ, skin tone modifiers and country flags (git)" url="https://github.com/eosrei/twemoji-color-font" license=('custom:CCPL:by-4.0' 'MIT') @@ -17,7 +18,7 @@ conflicts=('twemoji-color-font' 'ttf-twemoji-color') pkgver() { cd "$_gitname" - git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' + git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } prepare(){ |