blob: 97b03be1dfca2845b6ea48fe68b769b14081d881 (
plain)
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
30
31
32
33
34
35
36
|
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=slurp
pkgver=1.2.0
pkgrel=1
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=debugoptimized \
. 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"
|