blob: 360e5ce5ca40987a351b336e2f3250312e53b20d (
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
|
# Maintainer: Thibault Saunier <tsaunier@gnome.org>
pkgname=dssim-c-git
pkgrel=1
pkgver=1.3.3.r18.ga40c62b
pkgdesc=" DSSIM C implementation"
arch=('x86_64')
url="https://github.com/pornel/dssim/"
license=(AGPL)
depends=('libpng' 'libjpeg-turbo')
provides=('dssim')
makedepends=('git' 'ninja' 'meson')
source=('git+https://github.com/kornelski/dssim#branch=dssim1-c')
sha256sums=('SKIP')
build() {
arch-meson dssim build
ninja -C build
}
package() {
DESTDIR="$pkgdir/" ninja -C build install
}
pkgver() {
cd dssim
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
|