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 /PKGBUILD | |
parent | b43a517fd671e7196d84b6a31c714b10aa344e1c (diff) | |
download | aur-14db77b0c27c7b17c08f4171dd04f5fe459dc9c4.tar.gz |
Use best practices for pkgver (strip 'v' prefix)
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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(){ |