summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: dc4a9797f4efd5d866d6d8891b5861cdf557a418 (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
28
29
# Maintainer: spider-mario <spidermario@free.fr>
pkgname=ssimulacra
pkgver=0.2
pkgrel=2
pkgdesc="Structural SIMilarity Unveiling Local And Compression Related Artifacts"
arch=('x86_64')
url="https://github.com/cloudinary/ssimulacra"
license=('Apache')
depends=('opencv' 'boost-libs')
makedepends=('boost')
source=('git+https://github.com/cloudinary/ssimulacra.git#commit=375726b13f9dec2a01950e6710e7e9f488c52ea3'
        'opencv4.patch')
sha512sums=('SKIP'
            '3d08d467c71b1bb64ad232a530fb970467c76ac745d7bd75f6df3c8823bf9a54448b98287098cec6076e80093b745b9f26e085048ed49afe7998c0254de3c77b')

prepare() {
	cd "$pkgname"
	git apply --3way "$srcdir"/opencv4.patch
}

build() {
	cd "$pkgname"
	make
}

package() {
	cd "$pkgname"
	install -Dm755 ssimulacra "$pkgdir"/usr/bin/ssimulacra
}