mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
added community/zimg
This commit is contained in:
parent
7047e38172
commit
61025ae49a
1 changed files with 44 additions and 0 deletions
44
community/zimg/PKGBUILD
Normal file
44
community/zimg/PKGBUILD
Normal file
|
@ -0,0 +1,44 @@
|
|||
# $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.0.2
|
||||
pkgrel=1
|
||||
pkgdesc='Scaling, colorspace conversion, and dithering library'
|
||||
arch=('i686' '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")
|
||||
|
||||
|
||||
build() {
|
||||
cd zimg-release-${pkgver}
|
||||
|
||||
./autogen.sh
|
||||
./configure \
|
||||
--prefix='/usr' \
|
||||
--disable-static
|
||||
make
|
||||
}
|
||||
|
||||
package(){
|
||||
cd zimg-release-${pkgver}
|
||||
|
||||
make DESTDIR="${pkgdir}" install
|
||||
|
||||
install -dm 755 "${pkgdir}"/usr/lib/vapoursynth
|
||||
mv "${pkgdir}"/usr/lib/{zimg/,vapoursynth/lib}vszimg.so
|
||||
|
||||
install -dm 755 "${pkgdir}"/usr/share/licenses/zimg
|
||||
install -m 644 COPYING "${pkgdir}"/usr/share/licenses/zimg/
|
||||
}
|
||||
|
||||
# vim: ts=2 sw=2 et:
|
||||
sha256sums=('b9c7bac9e6ad53dfa94215c28440167d72d41109df10278673789f8e531f2142')
|
Loading…
Reference in a new issue