summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 93bfb7ea13060d8bc13a6d580a8f68148a78497c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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
}