From abb833cf142ed646e68d8e77daf4010145186a35 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Mon, 23 Jul 2018 12:31:50 +0000 Subject: [PATCH] community/zimg to 2.7.5-1 --- community/zimg/PKGBUILD | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/community/zimg/PKGBUILD b/community/zimg/PKGBUILD index e1ccb7698..ac973b8f5 100644 --- a/community/zimg/PKGBUILD +++ b/community/zimg/PKGBUILD @@ -6,20 +6,20 @@ # - remove --enable-x86simd from configure pkgname=zimg -pkgver=2.7.4 +pkgver=2.7.5 pkgrel=1 pkgdesc='Scaling, colorspace conversion, and dithering library' arch=('x86_64') url='https://github.com/sekrit-twc/zimg' license=('custom:WTFPL') -depends=('gcc-libs' 'glibc') +makedepends=('git') provides=('libzimg.so') options=('!emptydirs') -source=("zimg-${pkgver}.tar.gz::https://github.com/sekrit-twc/zimg/archive/release-${pkgver}.tar.gz") -sha256sums=('5182544ba42001613ffa8fd54dac2e8738639339f4bf070a53a4ebf17fdb2a97') +source=("git+https://github.com/sekrit-twc/zimg.git#tag=release-${pkgver}") +sha256sums=('SKIP') build() { - cd zimg-release-${pkgver} + cd zimg ./autogen.sh ./configure \ @@ -29,10 +29,8 @@ build() { } package(){ - cd zimg-release-${pkgver} - - make DESTDIR="${pkgdir}" install - install -Dm 644 COPYING -t "${pkgdir}"/usr/share/licenses/zimg/ + make DESTDIR="${pkgdir}" -C zimg install + install -Dm 644 zimg/COPYING -t "${pkgdir}"/usr/share/licenses/zimg/ } # vim: ts=2 sw=2 et: