aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2019-12-27 22:26:11 +0100
committerRasmus Thomsen <oss@cogitri.dev>2019-12-28 11:42:42 +0100
commitb16919e63d49db4d981e5e5ee67848963c327c7b (patch)
treea1d2278048f404766f7e0e491d0d9bc6cb79e62d
parente5eab8d8305ee89d1f358ecaaca464d06bf877d1 (diff)
downloadaports-b16919e63d49db4d981e5e5ee67848963c327c7b.tar.bz2
aports-b16919e63d49db4d981e5e5ee67848963c327c7b.tar.xz
testing/lightsoff: new aport
-rw-r--r--testing/lightsoff/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/lightsoff/APKBUILD b/testing/lightsoff/APKBUILD
new file mode 100644
index 0000000000..83ed02d865
--- /dev/null
+++ b/testing/lightsoff/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
+pkgname=lightsoff
+pkgver=3.34.0
+pkgrel=0
+arch="all !s390x" # Blocked by librsvg -> rust
+url="https://wiki.gnome.org/Apps/Lightsoff"
+pkgdesc="Turn off all the lights"
+license="GPL-2.0-or-later"
+makedepends="meson ninja itstool vala gtk+3.0-dev librsvg-dev clutter-dev clutter-gtk-dev"
+source="https://download.gnome.org/sources/lightsoff/${pkgver%.*}/lightsoff-$pkgver.tar.xz"
+subpackages="$pkgname-doc $pkgname-lang"
+
+build() {
+ meson \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --buildtype=release \
+ . output
+ ninja -C output
+}
+
+check() {
+ ninja test -C output
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja install -C output
+}
+
+sha512sums="dafdb121810f931dcc795decf6d94f3b9fb4c67b0ea2362451f1a73fe96ff8278682ac32dd3db4d0653d530e75ec4b37effa6ee55c916b72ea8d3de618ecf7a9 lightsoff-3.34.0.tar.xz"