PKGBUILDs/community/zimg/PKGBUILD
2017-04-26 19:59:22 +00:00

42 lines
1,007 B
Bash

# $Id$
# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
# Contributor: Gustavo Alvarez <sl1pkn07@gmail.com>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - remove --enable-x86simd from configure
buildarch=28
pkgname=zimg
pkgver=2.5.1
pkgrel=1
pkgdesc='Scaling, colorspace conversion, and dithering library'
arch=('i686' 'x86_64')
url='https://github.com/sekrit-twc/zimg'
license=('custom:WTFPL')
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=('deb85887081cab7fa9c492b588900d60d6466e61ee8ea51a84ca280688d93de9')
build() {
cd zimg-release-${pkgver}
./autogen.sh
./configure \
--prefix='/usr' \
--disable-static
make
}
package(){
cd zimg-release-${pkgver}
make DESTDIR="${pkgdir}" install
install -dm 755 "${pkgdir}"/usr/share/licenses/zimg
install -m 644 COPYING "${pkgdir}"/usr/share/licenses/zimg/
}
# vim: ts=2 sw=2 et: