summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c780ed7916f6a79d0a2022a1ed14935b6334ad41 (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#commit=589fac281aa4a8ecfb9ce07ec2e6f6dd1e6eccbb')
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
}