diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-03-02 09:53:03 -0700 |
---|---|---|
committer | Henrik Riomar <henrik.riomar@gmail.com> | 2019-03-02 22:08:33 +0100 |
commit | 1da138a0981bf8e5e433b023e5daf285fe6d8064 (patch) | |
tree | a03653d22bb133e15ff5cd55e4947b3d565fba3a /testing/grim | |
parent | dad434b8087a3b95b49e5e9b51a30b771f4b742e (diff) | |
download | aports-1da138a0981bf8e5e433b023e5daf285fe6d8064.tar.bz2 aports-1da138a0981bf8e5e433b023e5daf285fe6d8064.tar.xz |
testing/grim: new APKBUILD
Diffstat (limited to 'testing/grim')
-rw-r--r-- | testing/grim/APKBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/grim/APKBUILD b/testing/grim/APKBUILD new file mode 100644 index 0000000000..592172e9de --- /dev/null +++ b/testing/grim/APKBUILD @@ -0,0 +1,36 @@ +# Maintainer: Drew DeVault <sir@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" |