New package: light-0.9
This commit is contained in:
parent
1d744ae804
commit
49040ed4df
1 changed files with 22 additions and 0 deletions
22
srcpkgs/light/template
Normal file
22
srcpkgs/light/template
Normal file
|
@ -0,0 +1,22 @@
|
|||
# Template file for 'light'
|
||||
pkgname=light
|
||||
version=0.9
|
||||
revision=1
|
||||
build_style=gnu-makefile
|
||||
short_desc="Program to control backlight controllers"
|
||||
maintainer="Dennis Kraus <kraus@posteo.de>"
|
||||
license="GPL-3"
|
||||
homepage="http://haikarainen.github.io/light/"
|
||||
distfiles="https://github.com/haikarainen/light/archive/v${version}.tar.gz"
|
||||
checksum=a6015bad4d2b17507a140896d7f30b4ab47eb7a0faef670edf3f1e30de9cdfb6
|
||||
|
||||
pre_build() {
|
||||
sed -i 's|^CFLAGS=|override CFLAGS+=|g' Makefile
|
||||
sed -i 's|src/main.c$|src/main.c $(LDFLAGS)|' Makefile
|
||||
}
|
||||
|
||||
do_install() {
|
||||
vbin light
|
||||
chmod 4755 ${DESTDIR}/usr/bin/light
|
||||
}
|
||||
|
Loading…
Reference in a new issue