diff options
author | spider-mario | 2018-10-13 13:44:32 +0200 |
---|---|---|
committer | spider-mario | 2018-10-13 13:44:32 +0200 |
commit | ba0f41b116759a7c78dd56d57b6beeaeac847e0c (patch) | |
tree | aaf0431c1c273d9b4f5c44ef5c9735c10cb53c4f | |
download | aur-ba0f41b116759a7c78dd56d57b6beeaeac847e0c.tar.gz |
First version
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..023737842f3c --- /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 000000000000..93bfb7ea1306 --- /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 +} |