# Maintainer: Maxime Gauduin # Contributor: Gustavo Alvarez # ALARM: Kevin Mihelich # - remove --enable-x86simd from configure pkgname=zimg pkgver=2.9.3 pkgrel=1 pkgdesc='Scaling, colorspace conversion, and dithering library' arch=(x86_64) url=https://github.com/sekrit-twc/zimg license=(custom:WTFPL) makedepends=(git) provides=(libzimg.so) options=(!emptydirs) source=(git+https://github.com/sekrit-twc/zimg.git#tag=527dd55fd5221bd223bf019456da215759073c6f) sha256sums=(SKIP) pkgver() { cd zimg git describe --tags | sed 's/^release-//' } prepare() { cd zimg ./autogen.sh } build() { cd zimg ./configure \ --prefix=/usr \ --disable-static make } package(){ make DESTDIR="${pkgdir}" -C zimg install install -Dm 644 zimg/COPYING -t "${pkgdir}"/usr/share/licenses/zimg/ } # vim: ts=2 sw=2 et: