summaryrefslogtreecommitdiff
path: root/user/redshift/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/redshift/APKBUILD')
-rw-r--r--user/redshift/APKBUILD8
1 files changed, 3 insertions, 5 deletions
diff --git a/user/redshift/APKBUILD b/user/redshift/APKBUILD
index 33a015d32..59bd659fd 100644
--- a/user/redshift/APKBUILD
+++ b/user/redshift/APKBUILD
@@ -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
}