Mail archive
alpine-aports

[alpine-aports] [PATCH v2] testing/grim: new APKBUILD

From: Drew DeVault <sir_at_cmpwn.com>
Date: Sat, 2 Mar 2019 09:53:03 -0700

---
 testing/grim/APKBUILD | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)
 create mode 100644 testing/grim/APKBUILD
diff --git a/testing/grim/APKBUILD b/testing/grim/APKBUILD
new file mode 100644
index 0000000000..592172e9de
--- /dev/null
+++ b/testing/grim/APKBUILD
_at_@ -0,0 +1,36 @@
+# Maintainer: Drew DeVault <sir_at_cmpwn.com>
+pkgname=grim
+pkgver=1.1
+pkgrel=0
+pkgdesc="Grabs images from Wayland compositors"
+url="https://wayland.emersion.fr/grim/"
+arch="all"
+license="MIT"
+makedepends="meson scdoc wayland-dev wayland-protocols cairo-dev"
+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/grim -h >/dev/null
+}
+
+package() {
+	cd "$builddir"
+	DESTDIR="$pkgdir" ninja -C output install
+}
+
+sha512sums="43a0a6d4b4a25f963f3222d9f25dbf1e3b62b2ee72da1b689bed0e0d5231e28ff784594d87aec16ed5de77f99394f5f7d2c4254203dd3801fdaf7f6e0d492fbc  grim-1.1.tar.gz"
-- 
2.21.0
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Sat Mar 02 2019 - 09:53:03 UTC