From 0726757aa8679f6fa91ef47ac08e8a0f28f8b637 Mon Sep 17 00:00:00 2001 From: Yuval Adam Date: Tue, 30 Jun 2015 15:51:28 +0300 Subject: Initial import --- PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 PKGBUILD (limited to 'PKGBUILD') diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..c32d69c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,41 @@ +# Maintainer: Yuval Adam PGP-Key: CC2115C12D99D2F0 + +pkgname=openbr-git +pkgver=20140903 +pkgrel=2 +pkgdesc="A communal biometrics framework supporting the development of open algorithms and reproducible evaluations." +arch=('any') +url="http://openbiometrics.org/" +license=('Apache') +depends=('qt5-base' 'qt5-svg' 'opencv') +makedepends=('git' 'cmake') +provides=('openbr') +source=('git+https://github.com/biometrics/openbr.git') +md5sums=('SKIP') +_gitname=openbr + +pkgver() { + cd $_gitname + echo $(git describe --always | sed 's/-/./g') +} + +build() { + cd $_gitname + + msg "Pulling required submodules (might take some time...)" + git submodule init + git submodule update + + mkdir build + cd build + cmake -DCMAKE_BUILD_TYPE=Release ../ + make +} + +package() { + cd $_gitname/build + make DESTDIR=${pkgdir} install +} + +# vim:set ts=2 sw=2 et: + -- cgit v1.3.1