mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
50 lines
996 B
Bash
50 lines
996 B
Bash
# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
|
|
# Contributor: Gustavo Alvarez <sl1pkn07@gmail.com>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - remove --enable-x86simd from configure
|
|
# - configure with --disable-simd
|
|
|
|
pkgname=zimg
|
|
pkgver=3.0.3
|
|
pkgrel=2
|
|
pkgdesc='Scaling, colorspace conversion, and dithering library'
|
|
arch=(x86_64)
|
|
url=https://github.com/sekrit-twc/zimg
|
|
license=(custom:WTFPL)
|
|
depends=(
|
|
gcc-libs
|
|
glibc
|
|
)
|
|
makedepends=(git)
|
|
provides=(libzimg.so)
|
|
options=(!emptydirs)
|
|
_tag=1658ce429cf944e88868a88d8aef4683425d4e78
|
|
source=(git+https://github.com/sekrit-twc/zimg.git#tag=${_tag})
|
|
sha256sums=(SKIP)
|
|
|
|
prepare() {
|
|
cd zimg
|
|
./autogen.sh
|
|
}
|
|
|
|
pkgver() {
|
|
cd zimg
|
|
git describe --tags | sed 's/^release-//'
|
|
}
|
|
|
|
build() {
|
|
cd zimg
|
|
./configure \
|
|
--prefix=/usr \
|
|
--disable-static \
|
|
--disable-simd
|
|
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:
|