aboutsummaryrefslogtreecommitdiffstats
path: root/community/grim/APKBUILD
blob: 370c379d4392c382edce3790a60f43730f278d54 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=grim
pkgver=1.3.1
pkgrel=0
pkgdesc="Grabs images from Wayland compositors"
options="!check" # No testsuite
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/grim/archive/v$pkgver.tar.gz"

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=plain \
		. output
	ninja -C output
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}

sha512sums="07d04681ec589bf3e48b14c3bfcdc2a6012dfe5c5c2d7ee0cba95bc128187ca0de19ec04140dbe00907778f3d68844e6a90dc35365dafa489d65048b590fdf1b  grim-1.3.1.tar.gz"