Commit 1da138a0 authored by Drew DeVault's avatar Drew DeVault Committed by Henrik Riomar

testing/grim: new APKBUILD

parent dad434b8
# 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"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment