community/zimg to 2.1-1

This commit is contained in:
Kevin Mihelich 2016-05-08 18:11:16 +00:00
parent 6fb7720333
commit 00b55cb0bf

View file

@ -6,7 +6,7 @@
# - remove --enable-x86simd from configure
pkgname=zimg
pkgver=2.0.4
pkgver=2.1
pkgrel=1
pkgdesc='Scaling, colorspace conversion, and dithering library'
arch=('i686' 'x86_64')
@ -16,11 +16,14 @@ depends=('gcc-libs' 'glibc')
provides=('libzimg.so')
options=('!emptydirs')
source=("zimg-${pkgver}.tar.gz::https://github.com/sekrit-twc/zimg/archive/release-${pkgver}.tar.gz")
sha256sums=('e3b1f5b9f8ce750f96b9bc9801ff5d6aa931d35300d67711826e397df43c5245')
sha256sums=('e6d6c6c60b38ebaf74e2ab934b5b90b54e61f34e0a3f111c9da82958335f25da')
build() {
cd zimg-release-${pkgver}
# GCC 6
export CXXFLAGS="$CXXFLAGS -std=c++1z"
./autogen.sh
./configure \
--prefix='/usr' \
@ -33,9 +36,6 @@ package(){
make DESTDIR="${pkgdir}" install
install -dm 755 "${pkgdir}"/usr/lib/vapoursynth
ln -s "${pkgdir}"/usr/lib/{zimg/,vapoursynth/lib}vszimg.so
install -dm 755 "${pkgdir}"/usr/share/licenses/zimg
install -m 644 COPYING "${pkgdir}"/usr/share/licenses/zimg/
}