[arch-commits] Commit in zimg/trunk (PKGBUILD)

Maxime Gauduin alucryd at archlinux.org
Mon Mar 2 14:56:34 UTC 2020


    Date: Monday, March 2, 2020 @ 14:56:34
  Author: alucryd
Revision: 588508

upgpkg: zimg 2.9.3-1

Modified:
  zimg/trunk/PKGBUILD

----------+
 PKGBUILD |   26 ++++++++++++++++----------
 1 file changed, 16 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-02 14:42:39 UTC (rev 588507)
+++ PKGBUILD	2020-03-02 14:56:34 UTC (rev 588508)
@@ -2,18 +2,24 @@
 # Contributor: Gustavo Alvarez <sl1pkn07 at gmail.com>
 
 pkgname=zimg
-pkgver=2.9.2
+pkgver=2.9.3
 pkgrel=1
 pkgdesc='Scaling, colorspace conversion, and dithering library'
-arch=('x86_64')
-url='https://github.com/sekrit-twc/zimg'
-license=('custom:WTFPL')
-makedepends=('git')
-provides=('libzimg.so')
-options=('!emptydirs')
-source=("git+https://github.com/sekrit-twc/zimg.git#tag=release-${pkgver}")
-sha256sums=('SKIP')
+arch=(x86_64)
+url=https://github.com/sekrit-twc/zimg
+license=(custom:WTFPL)
+makedepends=(git)
+provides=(libzimg.so)
+options=(!emptydirs)
+source=(git+https://github.com/sekrit-twc/zimg.git#tag=527dd55fd5221bd223bf019456da215759073c6f)
+sha256sums=(SKIP)
 
+pkgver() {
+  cd zimg
+
+  git describe --tags | sed 's/^release-//'
+}
+
 prepare() {
   cd zimg
 
@@ -24,7 +30,7 @@
   cd zimg
 
   ./configure \
-    --prefix='/usr' \
+    --prefix=/usr \
     --enable-x86simd \
     --disable-static
   make



More information about the arch-commits mailing list