summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorErnesto Bazzano2021-05-10 01:09:53 -0300
committerErnesto Bazzano2021-05-10 01:09:53 -0300
commit7cddc977aa9d5544253cea9141c30adbe3c53547 (patch)
tree4b75cdc7d123282039e774c1e9bf359d66f1917c /PKGBUILD
downloadaur-deepmatching.tar.gz
init
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..65807876e9c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+#Maintainer: Bazza <bazza@riseup.net>
+
+pkgname=('deepmatching')
+pkgver=1.2.2
+pkgrel=1
+pkgdesc="Deep Convolutional Matching"
+makedepends=('openmp' 'cblas')
+url='https://thoth.inrialpes.fr/src/deepmatching/'
+arch=('any')
+source=("https://thoth.inrialpes.fr/src/deepmatching/code/deepmatching_1.2.2.zip")
+md5sums=('3a1906d9f40c554e5501c61d3d1750a4')
+license=('GPL')
+options=(!strip)
+
+prepare(){
+ cd deepmatching_1.2.2_c++
+ sed -i 's/^.*libsatlas.so//' Makefile
+ sed -i 's/fopenmp $/fopenmp -lblas/' Makefile
+ make
+}
+
+package(){
+ mkdir -p "${pkgdir}"/usr/bin/
+ cp "${srcdir}"/deepmatching_1.2.2_c++/deepmatching "${pkgdir}"/usr/bin/
+ chmod 755 "${pkgdir}"/usr/bin/deepmatching
+}