summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: afb71835f9e88858e535f5ccf04961f09842f912 (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
# Contributor:  VirtualTam
# Maintainer: MCMic <come.bernigaud@laposte.net>

pkgname=qphotobooth-git
pkgver=929f8d6
pkgrel=1
pkgdesc="Photo booth implementation for parties."
arch=('i686' 'x86_64')
url="http://projects.haxx.es/p/qphotobooth/"
license=('BSD')
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 install DESTDIR=$pkgdir
}