PKGBUILDs/community/zimg/PKGBUILD
2018-07-23 12:31:50 +00:00

37 lines
806 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
pkgname=zimg
pkgver=2.7.5
pkgrel=1
pkgdesc='Scaling, colorspace conversion, and dithering library'
arch=('x86_64')
url='https://github.com/sekrit-twc/zimg'
license=('custom:WTFPL')
makedepends=('git')
provides=('libzimg.so')
options=('!emptydirs')
source=("git+https://github.com/sekrit-twc/zimg.git#tag=release-${pkgver}")
sha256sums=('SKIP')
build() {
cd zimg
./autogen.sh
./configure \
--prefix='/usr' \
--disable-static
make
}
package(){
make DESTDIR="${pkgdir}" -C zimg install
install -Dm 644 zimg/COPYING -t "${pkgdir}"/usr/share/licenses/zimg/
}
# vim: ts=2 sw=2 et: