summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDerek Brown2018-01-24 11:44:30 -0500
committerDerek Brown2018-01-24 11:44:30 -0500
commit4f0facc57498affb246457969482a2b0680596f7 (patch)
treeb021413a924c1eaaf5e1c84742d63ed351e2b358 /PKGBUILD
downloadaur-imageclipper-git.tar.gz
Initial Commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..42340113ae1
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Derek Brown <derek@allderek.com>
+
+pkgname=imageclipper-git
+pkgver=1.0.1
+pkgrel=1
+pkgdesc="An imageclipper intended for using when creating OpenCV haar cascade sample images."
+url="https://github.com/JoakimSoderberg/imageclipper"
+arch=('x86_64' 'i686')
+license=('MIT')
+depends=('opencv>=3.1.0-2' 'boost>=1.66.0-1' 'boost-libs>=1.66.0-1')
+makedepends=('cmake>=3.1.3-1')
+source=("git+https://github.com/JoakimSoderberg/imageclipper.git")
+md5sums=('SKIP')
+
+package() {
+
+ # Build
+ cd $srcdir/imageclipper
+ mkdir build && cd build
+ cmake ..
+ cmake --build .
+
+ # Copy Binary
+ mkdir -p $pkgdir/usr/bin
+ cp ./bin/imageclipper $pkgdir/usr/bin
+ chmod +x $pkgdir/usr/bin/imageclipper
+}