2015-12-16 05:12:51 +00:00
|
|
|
# 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
|
2019-08-01 23:27:48 +00:00
|
|
|
pkgver=2.9.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')
|
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
|
|
|
|
2018-10-25 12:16:33 +00:00
|
|
|
prepare() {
|
2018-07-23 12:31:50 +00:00
|
|
|
cd zimg
|
2015-12-16 05:12:51 +00:00
|
|
|
|
|
|
|
./autogen.sh
|
2018-10-25 12:16:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd zimg
|
|
|
|
|
2015-12-16 05:12:51 +00:00
|
|
|
./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:
|