summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorspider-mario2018-10-13 13:44:32 +0200
committerspider-mario2018-10-13 13:44:32 +0200
commitba0f41b116759a7c78dd56d57b6beeaeac847e0c (patch)
treeaaf0431c1c273d9b4f5c44ef5c9735c10cb53c4f
downloadaur-ba0f41b116759a7c78dd56d57b6beeaeac847e0c.tar.gz
First version
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD27
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..023737842f3
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = ssimulacra
+ pkgdesc = Structural SIMilarity Unveiling Local And Compression Related Artifacts
+ pkgver = 0.1
+ pkgrel = 1
+ url = https://github.com/cloudinary/ssimulacra
+ arch = x86_64
+ license = Apache
+ makedepends = vtk
+ depends = opencv
+ source = git+https://github.com/cloudinary/ssimulacra.git
+ sha512sums = SKIP
+
+pkgname = ssimulacra
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..93bfb7ea130
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: spider-mario <spidermario@free.fr>
+pkgname=ssimulacra
+pkgver=0.1
+pkgrel=1
+pkgdesc="Structural SIMilarity Unveiling Local And Compression Related Artifacts"
+arch=('x86_64')
+url="https://github.com/cloudinary/ssimulacra"
+license=('Apache')
+depends=('opencv')
+makedepends=('vtk')
+source=('git+https://github.com/cloudinary/ssimulacra.git')
+sha512sums=('SKIP')
+
+prepare() {
+ cd "$pkgname"
+ perl -pe 's/(?:C|LD)FLAGS\K=/+=/g' -i Makefile
+}
+
+build() {
+ cd "$pkgname"
+ make
+}
+
+package() {
+ cd "$pkgname"
+ install -Dm755 ssimulacra "$pkgdir"/usr/bin/ssimulacra
+}