diff options
author | Simon Ser | 2022-06-03 07:16:43 +0200 |
---|---|---|
committer | Simon Ser | 2022-06-03 07:16:43 +0200 |
commit | a4dbd38d112a54e8f995e4e3ce79567c310a1e43 (patch) | |
tree | 7c2683521fe22888fce9ccadefaeb2374232f552 | |
parent | 13bd0c7a6108f92de51b6bf48cfe143502c9a720 (diff) | |
download | aur-a4dbd38d112a54e8f995e4e3ce79567c310a1e43.tar.gz |
Update Git repo URL and pkgver
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 7 insertions, 8 deletions
@@ -1,8 +1,8 @@ pkgbase = grim-git pkgdesc = Grab images from a Wayland compositor - pkgver = r69.fb7261f + pkgver = 1.4.0.r6.g1573b1020ce2 pkgrel = 1 - url = http://github.com/emersion/grim + url = https://sr.ht/~emersion/grim arch = i686 arch = x86_64 license = MIT @@ -17,8 +17,7 @@ pkgbase = grim-git conflicts = grim options = debug options = !strip - source = grim::git+https://github.com/emersion/grim.git + source = grim::git+https://git.sr.ht/~emersion/grim sha1sums = SKIP pkgname = grim-git - @@ -1,7 +1,7 @@ # Maintainer: emersion <contact emersion fr> pkgname=grim-git _pkgname=grim -pkgver=r69.fb7261f +pkgver=1.4.0.r6.g1573b1020ce2 pkgrel=1 license=('MIT') pkgdesc='Grab images from a Wayland compositor' @@ -13,8 +13,8 @@ depends=( "libjpeg-turbo" ) arch=("i686" "x86_64") -url='http://github.com/emersion/grim' -source=("${pkgname%-*}::git+https://github.com/emersion/grim.git") +url='https://sr.ht/~emersion/grim' +source=("${pkgname%-*}::git+https://git.sr.ht/~emersion/grim") sha1sums=('SKIP') provides=('grim') conflicts=('grim') @@ -22,7 +22,7 @@ options=(debug !strip) pkgver() { cd "${srcdir}/${_pkgname}" - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)" + git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } build() { |