diff options
author | kotontrion | 2024-04-11 08:49:02 +0200 |
---|---|---|
committer | kotontrion | 2024-04-11 08:49:02 +0200 |
commit | 58920808beb76f3f795c221f2145555e620d55a5 (patch) | |
tree | 6e1e93613b23d70a45f4112f73cba9e386920bce /PKGBUILD | |
parent | f3aab0c85cddef4980a0b1e3a971979f1e6b57a1 (diff) | |
download | aur-gtk-session-lock-git.tar.gz |
upgpkg: gtk-session-lock-git 0.2.0.r0.gb3544f3-1
upstream release
add conflict
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 13 |
1 files changed, 5 insertions, 8 deletions
@@ -2,9 +2,10 @@ pkgname=gtk-session-lock-git _pkgname=gtk-session-lock -pkgver=r510.00599bf -pkgrel=2 -provides=(gtk-session-lock) +pkgver=0.2.0.r0.gb3544f3 +pkgrel=1 +provides=(gtk-session-lock libgtk-session-lock.so=0-64) +conflicts=(gtk-session-lock) pkgdesc="A library to create screen lockers for Wayland using the ext-session-lock protocol" arch=(x86_64) license=(GPL3) @@ -25,11 +26,7 @@ sha256sums=('SKIP') pkgver() { cd "$_pkgname" - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" -} - -prepare() { - cd $_pkgname + git describe --long --tags --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } build() { |