summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f4ebc99ff233d1a5cba9e94c857e7e6c89084187 (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.r13.g0219de1
pkgdesc=" DSSIM C implementation"
arch=('x86_64')
url="https://github.com/pornel/dssim/"
license=(AGPL)
depends=('libpng')
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'
}