mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 05:17:07 +02:00
testing/gobolight: new aport
https://github.com/gobolinux/GoboLight/ Ultra-minimal backlight tool
This commit is contained in:
parent
ea14afc969
commit
65432e561f
38
testing/gobolight/APKBUILD
Normal file
38
testing/gobolight/APKBUILD
Normal file
@ -0,0 +1,38 @@
|
||||
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
|
||||
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
|
||||
pkgname=gobolight
|
||||
_pkgname=GoboLight
|
||||
pkgver=0.1
|
||||
pkgrel=0
|
||||
pkgdesc="Ultra-minimal backlight tool"
|
||||
url="https://github.com/gobolinux/GoboLight"
|
||||
arch="all"
|
||||
license="GPL-3.0-or-later"
|
||||
makedepends="autoconf automake"
|
||||
options="suid !check" # no tests provided
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/gobolinux/$_pkgname/archive/$pkgver.tar.gz"
|
||||
builddir="$srcdir/$_pkgname-$pkgver"
|
||||
|
||||
prepare() {
|
||||
default_prepare
|
||||
|
||||
cd "$builddir"
|
||||
./autogen.sh
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$builddir"
|
||||
./configure \
|
||||
--build=$CBUILD \
|
||||
--host=$CHOST \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$builddir"
|
||||
make install -j1 DESTDIR="$pkgdir"
|
||||
}
|
||||
|
||||
sha512sums="1c990cf5dae617ebd230da2bcaa79fea652106051cd4584a69b33cb66a3bfa94f71623e2e30104c9a95958cc2417a20c8cf179709ba826216b57a1c7e2a77e7c gobolight-0.1.tar.gz"
|
Loading…
Reference in New Issue
Block a user