summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAtticFinder655362022-11-11 17:30:47 +1100
committerAtticFinder655362022-11-11 17:30:47 +1100
commit14db77b0c27c7b17c08f4171dd04f5fe459dc9c4 (patch)
tree96cc09ee830111f3ca447207828adef62bf8722d
parentb43a517fd671e7196d84b6a31c714b10aa344e1c (diff)
downloadaur-14db77b0c27c7b17c08f4171dd04f5fe459dc9c4.tar.gz
Use best practices for pkgver (strip 'v' prefix)
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 33ace57d949b..9c73e4c29e46 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index d4fccb3584d2..d5b56d0971f5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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(){