[arch-commits] Commit in (zimg zimg/trunk zimg/trunk/PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Sat Dec 12 12:17:40 UTC 2015
Date: Saturday, December 12, 2015 @ 13:17:39
Author: alucryd
Revision: 153125
Add zimg, new dep of vapoursynth
Added:
zimg/
zimg/trunk/
zimg/trunk/PKGBUILD
----------+
PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
Added: zimg/trunk/PKGBUILD
===================================================================
--- zimg/trunk/PKGBUILD (rev 0)
+++ zimg/trunk/PKGBUILD 2015-12-12 12:17:39 UTC (rev 153125)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Gustavo Alvarez <sl1pkn07 at gmail.com>
+
+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' \
+ --enable-x86simd \
+ --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')
Property changes on: zimg/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list