mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
38 lines
935 B
Bash
38 lines
935 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.4
|
|
pkgrel=1
|
|
pkgdesc='Scaling, colorspace conversion, and dithering library'
|
|
arch=('x86_64')
|
|
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")
|
|
sha256sums=('5182544ba42001613ffa8fd54dac2e8738639339f4bf070a53a4ebf17fdb2a97')
|
|
|
|
build() {
|
|
cd zimg-release-${pkgver}
|
|
|
|
./autogen.sh
|
|
./configure \
|
|
--prefix='/usr' \
|
|
--disable-static
|
|
make
|
|
}
|
|
|
|
package(){
|
|
cd zimg-release-${pkgver}
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
install -Dm 644 COPYING -t "${pkgdir}"/usr/share/licenses/zimg/
|
|
}
|
|
|
|
# vim: ts=2 sw=2 et:
|