PKGBUILDs/community/zimg/PKGBUILD

39 lines
935 B
Bash
Raw Normal View History

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-03-07 00:51:16 +00:00
pkgver=2.7.4
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")
2018-03-07 00:51:16 +00:00
sha256sums=('5182544ba42001613ffa8fd54dac2e8738639339f4bf070a53a4ebf17fdb2a97')
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
2018-01-10 20:22:22 +00:00
install -Dm 644 COPYING -t "${pkgdir}"/usr/share/licenses/zimg/
2015-12-16 05:12:51 +00:00
}
# vim: ts=2 sw=2 et: