summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMark Wagie2024-01-20 15:25:00 -0700
committerMark Wagie2024-01-20 15:25:00 -0700
commit22393d86a680304b14f209ca2b9469c88ed611f2 (patch)
treea3867104cfa9d1d0e724a72926bb05ae3fb2c46d /PKGBUILD
parent1ce6dd429c5790f880c7c5f7bff5eee68ab0ab32 (diff)
downloadaur-22393d86a680304b14f209ca2b9469c88ed611f2.tar.gz
use SPDX license identifier
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 76fd311e3c9b..f1fb65816fcd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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