summaryrefslogtreecommitdiff
path: root/pcr/peek/PKGBUILD
blob: 99e0e4cb20422974c2ef9d96ce84e5c7a482fea6 (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
# Maintainer: Philipp Wolfer <ph.wolfer@gmail.com>
pkgname=peek
pkgver=1.0.0
pkgrel=1
pkgdesc="An animated GIF recorder"
arch=('i686' 'x86_64')
url="https://github.com/phw/peek"
license=('GPL3')
depends=(gtk3 libkeybinder3 ffmpeg imagemagick)
makedepends=(cmake vala gettext)
optdepends=(
  'gst-plugins-good: WebM output under Gnome Shell'
  'gst-plugins-ugly: MP4 output under Gnome Shell'
)
source=("https://github.com/phw/peek/archive/v$pkgver.tar.gz")
sha512sums=('0a152f3c5301dad33dd64a9291ba05408d08e0c378790ae2777069d0d6f3f13bf38b15b66117f253afe9e0829c7442b1eeef046686830b4698b1d3ca5c0b8e2f')
whirlpoolsums=('b9483a0d725fc4c9480a7876420b9f771599e5f80d13bf59b33bcf663d6e952554ce0f45b1cc56b5f820fb28ac370b8c7ee58ffab4f7e9f3e1c7c31176f48e48')

build() {
	cd "${srcdir}/peek-$pkgver"
	cmake -DCMAKE_INSTALL_PREFIX=/usr \
		-DBUILD_TESTS=ON \
		-DGSETTINGS_COMPILE=OFF .
	make
}

check() {
	cd "${srcdir}/peek-$pkgver"
	#make test
}

package() {
	cd "${srcdir}/peek-$pkgver"
	make DESTDIR=${pkgdir} install
}