[arch-commits] Commit in lib32-libjpeg-turbo/repos/multilib-x86_64 (PKGBUILD PKGBUILD)

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


    Date: Friday, November 24, 2017 @ 20:16:12
  Author: anthraxx
Revision: 268353

archrelease: copy trunk to multilib-x86_64

Added:
  lib32-libjpeg-turbo/repos/multilib-x86_64/PKGBUILD
    (from rev 268352, lib32-libjpeg-turbo/trunk/PKGBUILD)
Deleted:
  lib32-libjpeg-turbo/repos/multilib-x86_64/PKGBUILD

----------+
 PKGBUILD |  107 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 58 insertions(+), 49 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-11-24 20:15:58 UTC (rev 268352)
+++ PKGBUILD	2017-11-24 20:16:12 UTC (rev 268353)
@@ -1,49 +0,0 @@
-# $Id$
-# Maintainer: Allan McRae <allan at archlinux.org>
-# Contributor: Simone Sclavi 'Ito' <darkhado at gmail.com>
-
-_pkgbasename=libjpeg-turbo
-pkgname=lib32-$_pkgbasename
-pkgver=1.5.2
-pkgrel=1
-pkgdesc="libjpeg derivative with accelerated baseline JPEG compression and decompression (32-bit)"
-arch=('x86_64')
-url="http://libjpeg-turbo.virtualgl.org/"
-license=('custom')
-depends=('lib32-glibc' $_pkgbasename)
-makedepends=('nasm' gcc-multilib)
-provides=('lib32-libjpeg=8.1.2' 'lib32-turbojpeg')
-conflicts=('lib32-libjpeg' 'lib32-turbojpeg')
-replaces=('lib32-libjpeg' 'lib32-turbojpeg')
-options=('!libtool')
-source=(http://sourceforge.net/projects/$_pkgbasename/files/$pkgver/$_pkgbasename-$pkgver.tar.gz)
-sha512sums=('c7fe5cc77e38fad33af3f10e6db961c8edf033a86c09541121f49bfa20547179760924e6d3e397f0add7030459ff3babadd3457ab2da4a40a2147dc1574aa444')
-
-build() {
-  cd "$_pkgbasename-$pkgver"
-
-  export CC="gcc -m32"
-  export CXX="g++ -m32"
-  export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
-
-  ./configure --prefix=/usr --with-jpeg8 --mandir=/usr/share/man --libdir=/usr/lib32 --without-simd
-
-  make
-}
-
-check() {
-  cd "$_pkgbasename-$pkgver"
-  make test
-  }
-
-package() {
-  cd "$_pkgbasename-$pkgver"
-
-  make DESTDIR="$pkgdir/" docdir=/usr/share/doc/libjpeg-turbo \
-    exampledir=/usr/share/doc/libjpeg-turbo install
-
-  rm -rf "${pkgdir}"/usr/{include,share,bin,sbin}
-
-  mkdir -p "$pkgdir/usr/share/licenses"
-  ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname"
-}

Copied: lib32-libjpeg-turbo/repos/multilib-x86_64/PKGBUILD (from rev 268352, lib32-libjpeg-turbo/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-11-24 20:16:12 UTC (rev 268353)
@@ -0,0 +1,58 @@
+# $Id$
+# Maintainer: Allan McRae <allan at archlinux.org>
+# Contributor: Simone Sclavi 'Ito' <darkhado at gmail.com>
+
+_pkgbasename=libjpeg-turbo
+pkgname=lib32-$_pkgbasename
+pkgver=1.5.2
+pkgrel=2
+pkgdesc="libjpeg derivative with accelerated baseline JPEG compression and decompression (32-bit)"
+arch=('x86_64')
+url="https://libjpeg-turbo.org/"
+license=('custom')
+depends=('lib32-glibc' $_pkgbasename)
+makedepends=('nasm')
+provides=('lib32-libjpeg=8.1.2' 'lib32-turbojpeg')
+conflicts=('lib32-libjpeg' 'lib32-turbojpeg')
+replaces=('lib32-libjpeg' 'lib32-turbojpeg')
+options=('!libtool')
+validpgpkeys=('7D6293CC6378786E1B5C496885C7044E033FDE16')
+source=(https://sourceforge.net/projects/$_pkgbasename/files/$pkgver/$_pkgbasename-$pkgver.tar.gz{,.sig})
+sha512sums=('c7fe5cc77e38fad33af3f10e6db961c8edf033a86c09541121f49bfa20547179760924e6d3e397f0add7030459ff3babadd3457ab2da4a40a2147dc1574aa444'
+            'SKIP')
+
+build() {
+  cd "$_pkgbasename-$pkgver"
+
+  export CC="gcc -m32"
+  export CXX="g++ -m32"
+  export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+  ./configure \
+    --prefix=/usr \
+    --mandir=/usr/share/man \
+    --libdir=/usr/lib32 \
+    --with-jpeg8 \
+    --without-simd \
+    --with-build-date="$(date --utc --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y%m%d)" \
+
+  make
+}
+
+check() {
+  cd "$_pkgbasename-$pkgver"
+  make test
+}
+
+package() {
+  cd "$_pkgbasename-$pkgver"
+
+  make DESTDIR="$pkgdir/" docdir=/usr/share/doc/libjpeg-turbo \
+    exampledir=/usr/share/doc/libjpeg-turbo install
+
+  rm -rf "${pkgdir}"/usr/{include,share,bin,sbin}
+
+  mkdir -p "$pkgdir/usr/share/licenses"
+  ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname"
+  install -Dm 644 ChangeLog.md -t"${pkgdir}/usr/share/doc/${pkgname}"
+}



More information about the arch-commits mailing list