diff options
-rw-r--r-- | pcr/peek/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pcr/peek/PKGBUILD b/pcr/peek/PKGBUILD new file mode 100644 index 000000000..d605c5740 --- /dev/null +++ b/pcr/peek/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Philipp Wolfer <ph.wolfer@gmail.com> +pkgname=peek +pkgver=0.8.0 +pkgrel=1 +pkgdesc="An animated GIF recorder" +arch=('i686' 'x86_64') +url="https://github.com/phw/peek" +license=('GPL3') +depends=(gtk3 ffmpeg imagemagick) +makedepends=(cmake vala gettext) +source=("https://github.com/phw/peek/archive/v$pkgver.tar.gz") +sha512sums=('88d16b1f23e7e710dd617389f632b2eb94c9050861615abc95bc1a76cda84727f0eaf3b1f9898536e457507d0943b3d994800b7340ce2943adb509eb4516236b') +whirlpoolsums=('0b59668469067ef724e8e1ffcbf9dc6bd5a9a46ab61d133ce2f7bc6a1cb0de17bee53dc5975f4f1fd5bff228a490e3ca3c2b2a000a40b5662aef8ee120f2d0c2') + +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 +} |