blob: 02136a0f491dc66dc254b5120d097c7d69a19510 (
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.1.0
pkgrel=0
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=release \
. output
ninja -C output
}
check() {
cd "$builddir"
./output/slurp -h >/dev/null
}
package() {
cd "$builddir"
DESTDIR="$pkgdir" ninja -C output install
}
sha512sums="ef0120133095d6bb2c5f6df297eaac19890da1d65ead0dd84ee6f15be295eb956dc8357d62e66fd4c2082d1cccfe936bf401fba847b27fc9193903b39236c84f slurp-1.1.0.tar.gz"
|