[arch-commits] Commit in zimg/repos (community-x86_64 community-x86_64/PKGBUILD)
Maxime Gauduin
alucryd at gemini.archlinux.org
Mon Sep 6 12:25:48 UTC 2021
Date: Monday, September 6, 2021 @ 12:25:48
Author: alucryd
Revision: 423470
archrelease: copy trunk to community-x86_64
Added:
zimg/repos/community-x86_64/
zimg/repos/community-x86_64/PKGBUILD
(from rev 423469, zimg/trunk/PKGBUILD)
----------+
PKGBUILD | 46 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
Copied: zimg/repos/community-x86_64/PKGBUILD (from rev 423469, zimg/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2021-09-06 12:25:48 UTC (rev 423470)
@@ -0,0 +1,46 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Gustavo Alvarez <sl1pkn07 at gmail.com>
+
+pkgname=zimg
+pkgver=3.0.3
+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
+)
+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 \
+ --enable-x86simd \
+ --disable-static
+ 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:
More information about the arch-commits
mailing list