diff options
author | Mark Wagie | 2024-01-20 15:25:00 -0700 |
---|---|---|
committer | Mark Wagie | 2024-01-20 15:25:00 -0700 |
commit | 22393d86a680304b14f209ca2b9469c88ed611f2 (patch) | |
tree | a3867104cfa9d1d0e724a72926bb05ae3fb2c46d /PKGBUILD | |
parent | 1ce6dd429c5790f880c7c5f7bff5eee68ab0ab32 (diff) | |
download | aur-22393d86a680304b14f209ca2b9469c88ed611f2.tar.gz |
use SPDX license identifier
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -6,7 +6,7 @@ pkgrel=1 pkgdesc="Display brightness slider for gnome shell using ddcutil backend" arch=('any') url="https://github.com/daitj/gnome-display-brightness-ddcutil" -license=('GPL3') +license=('GPL-3.0-or-later') depends=('ddcutil' 'gnome-shell') makedepends=('git') provides=("${pkgname%-git}") @@ -15,17 +15,17 @@ source=("git+https://github.com/daitj/gnome-display-brightness-ddcutil.git") sha256sums=('SKIP') pkgver() { - cd "$srcdir/gnome-display-brightness-ddcutil" + cd gnome-display-brightness-ddcutil printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } build() { - cd "$srcdir/gnome-display-brightness-ddcutil" + cd gnome-display-brightness-ddcutil make } package() { - cd "$srcdir/gnome-display-brightness-ddcutil" + cd gnome-display-brightness-ddcutil install -d "$pkgdir/usr/share/gnome-shell/extensions/${_uuid}" bsdtar xvf "dist/${_uuid}.shell-extension.zip" -C \ "$pkgdir/usr/share/gnome-shell/extensions/${_uuid}/" --no-same-owner |