2015-12-16 05:12:51 +00:00
|
|
|
# $Id$
|
|
|
|
# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
|
|
|
|
# Contributor: Gustavo Alvarez <sl1pkn07@gmail.com>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - remove --enable-x86simd from configure
|
|
|
|
|
|
|
|
pkgname=zimg
|
2017-11-21 18:58:18 +00:00
|
|
|
pkgver=2.6.2
|
2015-12-16 05:12:51 +00:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc='Scaling, colorspace conversion, and dithering library'
|
2017-11-21 18:58:18 +00:00
|
|
|
arch=('x86_64')
|
2015-12-16 05:12:51 +00:00
|
|
|
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")
|
2017-11-21 18:58:18 +00:00
|
|
|
sha256sums=('db407144b265c1587867e00108f6fc810d40cf94be697de75985a0cb9041313d')
|
2015-12-16 05:12:51 +00:00
|
|
|
|
|
|
|
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:
|