diff options
author | gustawho | 2022-07-01 23:59:41 -0600 |
---|---|---|
committer | gustawho | 2022-07-01 23:59:41 -0600 |
commit | a6d3109e4aa869c07636d83ad707a31b1d03aad8 (patch) | |
tree | c5431fcfcf3822f725ae17ae41098fd7703e6adc | |
parent | 02832830b2b2aaa5a0eb66bf12a9436431aa75b1 (diff) | |
download | aur-plasma-phonebook-git.tar.gz |
PKGBUILD format
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 5 insertions, 6 deletions
@@ -1,6 +1,6 @@ pkgbase = plasma-phonebook-git pkgdesc = Phone book for Plasma Mobile - pkgver = v21.05.r14.g5124e5d + pkgver = 22.06.r2.g16ef452 pkgrel = 1 url = https://invent.kde.org/plasma-mobile/plasma-phonebook arch = x86_64 @@ -28,4 +28,3 @@ pkgbase = plasma-phonebook-git sha256sums = SKIP pkgname = plasma-phonebook-git - @@ -1,7 +1,7 @@ # Maintainer: Gustavo Castro < gustawho [ at ] gmail [ dot ] com > pkgname=plasma-phonebook-git -pkgver=v21.05.r14.g5124e5d +pkgver=22.06.r2.g16ef452 pkgrel=1 pkgdesc="Phone book for Plasma Mobile" arch=(x86_64 i686 arm armv6h armv7h aarch64) @@ -17,8 +17,8 @@ sha256sums=('SKIP') pkgver() { cd "${pkgname%-git}" ( set -o pipefail - git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' || - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + git describe --long --tags --first-parent --match 'v[0-9][0-9.][0-9.]*' | \ + sed 's=^v==;s=^\([0-9][0-9.]*\)-\([a-zA-Z]\+\)=\1\2=;s=\([0-9]\+-g\)=r\1=;s=-=.=g' ) } @@ -29,4 +29,4 @@ build() { package() { DESTDIR="${pkgdir}" cmake --install build --config RelWithDebInfo -}
\ No newline at end of file +} |