aboutsummaryrefslogtreecommitdiffstats
path: root/community/slurp
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-08-20 15:25:05 +0900
committerLeo <thinkabit.ukim@gmail.com>2019-08-20 13:00:04 -0300
commit33201fe10e85ca00eb7c8dcf5c3d35fa7147c2f6 (patch)
tree236aa60acbe7df9944f23fa12cc0052addf647d1 /community/slurp
parent39ad148a1b03ffa56801c3ded59b34d6ac0e4dd1 (diff)
downloadaports-33201fe10e85ca00eb7c8dcf5c3d35fa7147c2f6.tar.bz2
aports-33201fe10e85ca00eb7c8dcf5c3d35fa7147c2f6.tar.xz
community/slurp: move from testing
Diffstat (limited to 'community/slurp')
-rw-r--r--community/slurp/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/community/slurp/APKBUILD b/community/slurp/APKBUILD
new file mode 100644
index 0000000000..f7df65d402
--- /dev/null
+++ b/community/slurp/APKBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Drew DeVault <sir@cmpwn.com>
+pkgname=slurp
+pkgver=1.2.0
+pkgrel=0
+pkgdesc="Interaction screen selection on Wayland compositors"
+url="https://wayland.emersion.fr/slurp/"
+arch="all"
+license="MIT"
+makedepends="meson scdoc cairo-dev wayland-dev wayland-protocols"
+subpackages="$pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::https://github.com/emersion/$pkgname/archive/v$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
+
+build() {
+ cd "$builddir"
+ meson \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --buildtype=release \
+ . output
+ ninja -C output
+}
+
+check() {
+ cd "$builddir"
+ ./output/slurp -h >/dev/null
+}
+
+package() {
+ cd "$builddir"
+ DESTDIR="$pkgdir" ninja -C output install
+}
+
+sha512sums="443cd497049a5128e80a48c7b2afcc555a8d58a5eacc2dc6207058a9a399bc9e9804c7bca8b010af63f8be99000c05245720bd3e8cca248a74d5aa63a7faf4f9 slurp-1.2.0.tar.gz"