# Maintainer: Jesus E. pkgname=peek pkgver=1.5.1 pkgrel=3 pkgdesc="Free and libre screen recorder with an easy to use interface" arch=('i686' 'x86_64') url='https://github.com/phw/peek' license=('GPL-3') depends=('gtk' 'libkeybinder3' 'ffmpeg' 'which') makedepends=('meson' 'vala' 'txt2man' 'gst-plugin-gtk' 'gst-plugins-ugly' 'gettext-tiny') source=("${pkgname}-${pkgver}.tar.gz::https://github.com/phw/peek/archive/refs/tags/${pkgver}.tar.gz") sha512sums=('dc25f24b1f5954ff26f399f86bf0a2a9b90c4d63c9cd33fcd44f16e447d23070c04e760c57bdc8a946e699c3038b8ee7afc44ce6daa7030e2f9e6f071be6eae4') build() { mkdir $pkgname-$pkgver/build cd $pkgname-$pkgver/build hyperbola-meson .. ninja } package() { cd $pkgname-$pkgver/build DESTDIR="$pkgdir" ninja install # remove unneeded parts from package, we don't support D-Bus and its interfaces rm -rf "$pkgdir"/usr/share/dbus-1 install -Dm644 $srcdir/$pkgname-$pkgver/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname }