aboutsummaryrefslogtreecommitdiffstats
path: root/testing/peek/APKBUILD
blob: e9e31ff6bdbb10666868f0c4ee4d2f67027c7841 (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
30
31
32
33
34
35
36
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=peek
pkgver=1.5.0
pkgrel=1
pkgdesc="Simple animated GIF screen recorder with an easy to use interface"
url="https://github.com/phw/peek"
arch="all"
license="GPL-3.0-or-later"
depends="ffmpeg gst-plugins-good gst-plugins-bad"
makedepends="meson gtk+3.0-dev gettext-dev vala txt2man keybinder3-dev"
checkdepends="appstream-glib desktop-file-utils"
subpackages="$pkgname-lang $pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/phw/peek/archive/v$pkgver.tar.gz"

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

check() {
	ninja -C output test
}

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

sha512sums="f4df743e8dd6e469d8bae53c8e4fdf225e6e430959e5cad1c9f3de03d385c4a00febd2c25e64afa18b5b522abb1d8915d42734c2db65118064e0d5afba96c36d  peek-1.5.0.tar.gz"