From 90eba203d3a609bba4ac6bfdf789fe9a70109c81 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Mon, 2 Mar 2020 19:45:14 +0000 Subject: [PATCH] community/zimg to 2.9.3-1 --- community/zimg/PKGBUILD | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/community/zimg/PKGBUILD b/community/zimg/PKGBUILD index c75620359..034da06cc 100644 --- a/community/zimg/PKGBUILD +++ b/community/zimg/PKGBUILD @@ -5,17 +5,23 @@ # - remove --enable-x86simd from configure pkgname=zimg -pkgver=2.9.2 +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=release-${pkgver}") -sha256sums=('SKIP') +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 @@ -27,7 +33,7 @@ build() { cd zimg ./configure \ - --prefix='/usr' \ + --prefix=/usr \ --disable-static make }