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

Levente Polyak anthraxx at archlinux.org
Fri Nov 24 20:20:51 UTC 2017


    Date: Friday, November 24, 2017 @ 20:20:50
  Author: anthraxx
Revision: 268356

upgpkg: libjpeg6-turbo 1.5.2-2 (reproducible builds)

- setting build-date for reproducible builds

Modified:
  libjpeg6-turbo/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-11-24 20:17:29 UTC (rev 268355)
+++ PKGBUILD	2017-11-24 20:20:50 UTC (rev 268356)
@@ -4,10 +4,10 @@
 
 pkgname=libjpeg6-turbo
 pkgver=1.5.2
-pkgrel=1
+pkgrel=2
 pkgdesc='libjpeg derivative with accelerated baseline JPEG compression and decompression'
 arch=('x86_64')
-url='https://libjpeg-turbo.virtualgl.org/'
+url="https://libjpeg-turbo.org/"
 license=('BSD')
 depends=('glibc')
 makedepends=('nasm')
@@ -24,10 +24,16 @@
   ./configure \
     --prefix='/usr' \
     --mandir='/usr/share/man' \
-    --without-simd
+    --without-simd \
+    --with-build-date="$(date --utc --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y%m%d)"
   make
 }
 
+check() {
+  cd libjpeg-turbo-${pkgver}
+  make test
+}
+
 package() {
   cd libjpeg-turbo-${pkgver}
 


More information about the arch-commits mailing list