summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD26
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..7275b30d85e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = deepmatching
+ pkgdesc = Deep Convolutional Matching
+ pkgver = 1.2.2
+ pkgrel = 1
+ url = https://thoth.inrialpes.fr/src/deepmatching/
+ arch = any
+ license = GPL
+ makedepends = openmp
+ makedepends = cblas
+ options = !strip
+ source = https://thoth.inrialpes.fr/src/deepmatching/code/deepmatching_1.2.2.zip
+ md5sums = 3a1906d9f40c554e5501c61d3d1750a4
+
+pkgname = deepmatching
+
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
+}