aboutsummaryrefslogtreecommitdiffstats
path: root/adjbacklight/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--adjbacklight/PKGBUILD15
1 files changed, 7 insertions, 8 deletions
diff --git a/adjbacklight/PKGBUILD b/adjbacklight/PKGBUILD
index 0187956..cdefa12 100644
--- a/adjbacklight/PKGBUILD
+++ b/adjbacklight/PKGBUILD
@@ -1,27 +1,26 @@
# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@kth.se>
pkgname=adjbacklight
pkgver=8.2.1
-pkgrel=1
+pkgrel=2
pkgdesc="Convenient method for adjusting the backlight on your portable computer"
arch=('x86_64' 'i686')
-url="https://github.com/maandree/adjbacklight"
+url="https://codeberg.org/maandree/adjbacklight"
license=('custom:ISC')
-depends=('linux')
-source=(adjbacklight-$pkgver.tar.gz::https://github.com/maandree/adjbacklight/archive/${pkgver}.tar.gz)
-sha256sums=(b7a3c90826ced10bd7c31081d07fa834b9900a54e36c8f84b29cb51871bc69c6)
+source=(adjbacklight-$pkgver.tar.gz::${url}/archive/${pkgver}.tar.gz)
+sha256sums=(b1a33f0e7c67bc5275b839a511fff54ecd7a5fdb001108282dc4dcb9e365e4e9)
build() {
- cd "${srcdir}/adjbacklight-${pkgver}"
+ cd "${srcdir}/adjbacklight"
make DESTDIR="${pkgdir}/" PREFIX=/usr
}
check() {
- cd "${srcdir}/adjbacklight-${pkgver}"
+ cd "${srcdir}/adjbacklight"
make check
}
package() {
- cd "${srcdir}/adjbacklight-${pkgver}"
+ cd "${srcdir}/adjbacklight"
make DESTDIR="${pkgdir}/" PREFIX=/usr install
make DESTDIR="${pkgdir}/" PREFIX=/usr post-install
}