summaryrefslogtreecommitdiff
path: root/user/redshift
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-11 07:29:53 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-11 07:29:53 +0000
commitb6f9114cecfe9fb3ae267d78a0cd04aa5c826dbc (patch)
treee7c5ff1bfd6f49364d87466892354339e448727a /user/redshift
parent095e14b7e22e82ed4c1719894fe1f432b67ee3d0 (diff)
downloadpackages-b6f9114cecfe9fb3ae267d78a0cd04aa5c826dbc.tar.gz
packages-b6f9114cecfe9fb3ae267d78a0cd04aa5c826dbc.tar.bz2
packages-b6f9114cecfe9fb3ae267d78a0cd04aa5c826dbc.tar.xz
packages-b6f9114cecfe9fb3ae267d78a0cd04aa5c826dbc.zip
user/*: Modernise / fix syntax / metadata / deps
Diffstat (limited to 'user/redshift')
-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
}