diff options
author | Mark Wagie | 2022-06-06 10:55:22 -0600 |
---|---|---|
committer | Mark Wagie | 2022-06-06 10:55:22 -0600 |
commit | 5be38f93aeb9a67aeaabbfaf87bf41d978eb6759 (patch) | |
tree | 11a9f5f390dead5b943e7b28d05ef23f2154eee5 | |
parent | 888e1c034bb6a2164ae5c00b92249c2a812291b5 (diff) | |
download | aur-5be38f93aeb9a67aeaabbfaf87bf41d978eb6759.tar.gz |
0.4.8
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 9 insertions, 4 deletions
@@ -1,6 +1,6 @@ pkgbase = huekeys pkgdesc = Control the keyboard backlight on System76 laptops - pkgver = 0.4.5 + pkgver = 0.4.8 pkgrel = 1 url = https://github.com/BitPonyLLC/huekeys arch = x86_64 @@ -9,7 +9,7 @@ pkgbase = huekeys makedepends = go depends = gtk3 depends = libayatana-appindicator - source = git+https://github.com/BitPonyLLC/huekeys.git#commit=da72dc74a2168b5d5227dadf6624362bb6e182d7 + source = git+https://github.com/BitPonyLLC/huekeys.git#commit=51554208a0238cb0971e56eed84ccf49df7995e1 sha256sums = SKIP pkgname = huekeys @@ -1,6 +1,6 @@ # Maintainer: Mark Wagie <mark dot wagie at tutanota dot com> pkgname=huekeys -pkgver=0.4.5 +pkgver=0.4.8 pkgrel=1 pkgdesc="Control the keyboard backlight on System76 laptops" arch=('x86_64') @@ -8,10 +8,15 @@ url="https://github.com/BitPonyLLC/huekeys" license=('MIT') depends=('gtk3' 'libayatana-appindicator') makedepends=('git' 'go') -_commit=da72dc74a2168b5d5227dadf6624362bb6e182d7 +_commit=51554208a0238cb0971e56eed84ccf49df7995e1 source=("git+https://github.com/BitPonyLLC/huekeys.git#commit=${_commit}") sha256sums=('SKIP') +pkgver() { + cd "$srcdir/$pkgname" + git describe --tags | sed 's/^v//;s/-/+/g' +} + prepare() { cd "$srcdir/$pkgname" export GOPATH="$srcdir/gopath" |