# Maintainer: Nyutag pkgname=qphotobooth-git pkgver=4a77ce9 pkgrel=1 pkgdesc="Photo booth implementation." arch=('i686' 'x86_64' 'armv7h') url="http://projects.haxx.es/p/qphotobooth/" license=('GPL3') depends=('opencv' 'qt5-base' 'qt5-sensors' 'qt5-webkit' 'qt5-multimedia') makedepends=('git' 'cmake') conflicts=() provides=('qphotobooth') replaces=('qphotobooth') _gitname="qphotobooth" source=(git://haxx.es/qphotobooth.git) sha256sums=(SKIP) pkgver() { cd ${_gitname} git describe --always | sed 's|-|.|g' } build(){ cd ${_gitname} cmake . -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd ${_gitname} make DESTDIR="$pkgdir/" install }