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
|
2018-07-23 12:31:50 +00:00
|
|
|
pkgver=2.7.5
|
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')
|
2018-07-23 12:31:50 +00:00
|
|
|
makedepends=('git')
|
2015-12-16 05:12:51 +00:00
|
|
|
provides=('libzimg.so')
|
|
|
|
options=('!emptydirs')
|
2018-07-23 12:31:50 +00:00
|
|
|
source=("git+https://github.com/sekrit-twc/zimg.git#tag=release-${pkgver}")
|
|
|
|
sha256sums=('SKIP')
|
2015-12-16 05:12:51 +00:00
|
|
|
|
|
|
|
build() {
|
2018-07-23 12:31:50 +00:00
|
|
|
cd zimg
|
2015-12-16 05:12:51 +00:00
|
|
|
|
|
|
|
./autogen.sh
|
|
|
|
./configure \
|
|
|
|
--prefix='/usr' \
|
|
|
|
--disable-static
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package(){
|
2018-07-23 12:31:50 +00:00
|
|
|
make DESTDIR="${pkgdir}" -C zimg install
|
|
|
|
install -Dm 644 zimg/COPYING -t "${pkgdir}"/usr/share/licenses/zimg/
|
2015-12-16 05:12:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
# vim: ts=2 sw=2 et:
|