Date: Monday, July 23, 2018 @ 09:52:06 Author: alucryd Revision: 362943
upgpkg: zimg 2.7.5-1 Modified: zimg/trunk/PKGBUILD ----------+ PKGBUILD | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-07-23 09:48:46 UTC (rev 362942) +++ PKGBUILD 2018-07-23 09:52:06 UTC (rev 362943) @@ -3,20 +3,20 @@ # Contributor: Gustavo Alvarez <[email protected]> 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 \ @@ -27,10 +27,8 @@ } 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:
