summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlávio Zavan2015-06-11 00:50:22 -0300
committerFlávio Zavan2015-06-11 00:50:22 -0300
commita97e5013db7b0e32ad58ede840b78021f1b010eb (patch)
tree9715c54d4ebacf3fd54989d3ef305dde3817ab4b
downloadaur-a97e5013db7b0e32ad58ede840b78021f1b010eb.tar.gz
Initial import
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD30
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..4b9a2ee3e47
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = openbr
+ pkgdesc = Open Source Biometrics
+ pkgver = 0.5
+ pkgrel = 1
+ url = http://openbiometrics.org/
+ arch = any
+ license = Apache
+ makedepends = git
+ makedepends = cmake
+ depends = qt5-base
+ depends = qt5-svg
+ depends = opencv
+ source = git+https://github.com/biometrics/openbr.git
+ sha256sums = SKIP
+
+pkgname = openbr
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..05cb9a528aa
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Flávio Zavan <flavio dot zavan at gmail dot com>
+pkgname=openbr
+pkgver=0.5
+pkgrel=1
+pkgdesc="Open Source Biometrics"
+arch=('any')
+url="http://openbiometrics.org/"
+license=('Apache')
+depends=('qt5-base' 'qt5-svg' 'opencv')
+makedepends=('git' 'cmake')
+source=('git+https://github.com/biometrics/openbr.git')
+sha256sums=('SKIP')
+
+build() {
+ cd "$pkgname"
+
+ git checkout $pkgver
+ git submodule init
+ git submodule update
+
+ mkdir -p build
+ cd build
+ cmake -Wno-dev -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr ..
+ make
+}
+
+package() {
+ cd "$pkgname/build"
+ make DESTDIR="$pkgdir" install
+}