mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-03-09 07:32:35 +01:00
39 lines
903 B
Plaintext
39 lines
903 B
Plaintext
# 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"
|