summaryrefslogtreecommitdiff
path: root/user/redshift
diff options
context:
space:
mode:
Diffstat (limited to 'user/redshift')
-rw-r--r--user/redshift/APKBUILD10
1 files changed, 4 insertions, 6 deletions
diff --git a/user/redshift/APKBUILD b/user/redshift/APKBUILD
index fca669f61..59bd659fd 100644
--- a/user/redshift/APKBUILD
+++ b/user/redshift/APKBUILD
@@ -1,5 +1,5 @@
# Contributor: Luis Ressel <aranea@aixah.de>
-# Maintainer: Luis Ressel <aranea@aixah.de>
+# Maintainer:
pkgname=redshift
pkgver=1.12
pkgrel=0
@@ -7,14 +7,13 @@ pkgdesc="Adjust the color temperature of your screen according to your surroundi
url="http://jonls.dk/redshift/"
arch="all"
license="GPL-3.0+"
-options="!check" # No test suite
+options="!check" # No test suite.
depends=""
makedepends="glib-dev intltool libdrm-dev libx11-dev libxcb-dev libxxf86vm-dev"
subpackages="$pkgname-doc $pkgname-gui $pkgname-lang"
source="https://github.com/jonls/redshift/releases/download/v$pkgver/redshift-$pkgver.tar.xz"
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -35,13 +34,12 @@ build() {
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
doc() {
- cd "$builddir"
- install -Dm644 -t "$subpkgdir/usr/share/doc/$pkgname" redshift.conf.sample
+ install -Dm644 -t "$subpkgdir/usr/share/doc/$pkgname" \
+ "$builddir"/redshift.conf.sample
default_doc
}