summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorkotontrion2024-04-11 08:49:02 +0200
committerkotontrion2024-04-11 08:49:02 +0200
commit58920808beb76f3f795c221f2145555e620d55a5 (patch)
tree6e1e93613b23d70a45f4112f73cba9e386920bce
parentf3aab0c85cddef4980a0b1e3a971979f1e6b57a1 (diff)
downloadaur-gtk-session-lock-git.tar.gz
upgpkg: gtk-session-lock-git 0.2.0.r0.gb3544f3-1
upstream release add conflict
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD13
2 files changed, 9 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ae79a851eb07..f1ca1812d537 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = gtk-session-lock-git
pkgdesc = A library to create screen lockers for Wayland using the ext-session-lock protocol
- pkgver = r510.00599bf
- pkgrel = 2
+ pkgver = 0.2.0.r0.gb3544f3
+ pkgrel = 1
url = https://github.com/Cu3PO42/gtk-session-lock
arch = x86_64
license = GPL3
@@ -13,6 +13,8 @@ pkgbase = gtk-session-lock-git
depends = gtk3
depends = wayland
provides = gtk-session-lock
+ provides = libgtk-session-lock.so=0-64
+ conflicts = gtk-session-lock
source = git+https://github.com/Cu3PO42/gtk-session-lock.git
sha256sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index ecf8c7e2f930..97c6d8f9c767 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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() {