aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2022-07-20 15:27:07 +0200
committerMattias Andrée <maandree@kth.se>2022-07-20 15:27:07 +0200
commitfa045036771d94337b92f96db3f0e31a0d18c598 (patch)
treea4d2d0e82449df1ba3660391c6424b120a426f86
parentUpdate packages (diff)
downloadaur-packages-fa045036771d94337b92f96db3f0e31a0d18c598.tar.gz
aur-packages-fa045036771d94337b92f96db3f0e31a0d18c598.tar.bz2
aur-packages-fa045036771d94337b92f96db3f0e31a0d18c598.tar.xz
Update adjbacklight
Signed-off-by: Mattias Andrée <maandree@kth.se>
-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
}