[arch-commits] Commit in lib32-libjpeg6-turbo/repos/multilib-x86_64 (2 files)

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


    Date: Friday, November 24, 2017 @ 20:17:29
  Author: anthraxx
Revision: 268355

archrelease: copy trunk to multilib-x86_64

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

----------+
 PKGBUILD |   99 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 53 insertions(+), 46 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-11-24 20:17:21 UTC (rev 268354)
+++ PKGBUILD	2017-11-24 20:17:29 UTC (rev 268355)
@@ -1,46 +0,0 @@
-# $Id$
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: josephgbr <rafael.f.f1 at gmail.com>
-# Contributor: Martin Stolpe <martinstolpe at gmail.com>
-
-pkgname=lib32-libjpeg6-turbo
-pkgver=1.5.2
-pkgrel=1
-pkgdesc='libjpeg derivative with accelerated baseline JPEG compression and decompression'
-arch=('x86_64')
-url='https://libjpeg-turbo.virtualgl.org/'
-license=('BSD')
-depends=('lib32-glibc')
-makedepends=('nasm' 'gcc-multilib')
-provides=('lib32-libjpeg6')
-conflicts=('lib32-libjpeg6')
-source=("https://downloads.sourceforge.net/project/libjpeg-turbo/${pkgver}/libjpeg-turbo-${pkgver}.tar.gz"{,.sig})
-validpgpkeys=('7D6293CC6378786E1B5C496885C7044E033FDE16') # libjpeg-turbo
-sha256sums=('9098943b270388727ae61de82adec73cf9f0dbb240b3bc8b172595ebf405b528'
-            'SKIP')
-
-build() {
-  cd libjpeg-turbo-${pkgver}
-
-  export CC='gcc -m32'
-  export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
-
-  ./configure \
-    --prefix='/usr' \
-    --libdir='/usr/lib32' \
-    --mandir='/usr/share/man' \
-    --without-simd
-  make
-}
-
-package() {
-  cd libjpeg-turbo-${pkgver}
-
-  make DESTDIR="${pkgdir}" install
-  rm -rf "${pkgdir}"/usr/{bin,include,lib32/pkgconfig,share}
-  rm "${pkgdir}"/usr/lib32/lib{jpeg.{a,so},turbojpeg.{a,so*}}
-
-  install -Dm 644 LICENSE.md -t "${pkgdir}"/usr/share/licenses/lib32-libjpeg6-turbo/
-}
-
-# vim: ts=2 sw=2 et:

Copied: lib32-libjpeg6-turbo/repos/multilib-x86_64/PKGBUILD (from rev 268354, lib32-libjpeg6-turbo/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-11-24 20:17:29 UTC (rev 268355)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: josephgbr <rafael.f.f1 at gmail.com>
+# Contributor: Martin Stolpe <martinstolpe at gmail.com>
+
+pkgname=lib32-libjpeg6-turbo
+pkgver=1.5.2
+pkgrel=2
+pkgdesc='libjpeg derivative with accelerated baseline JPEG compression and decompression'
+arch=('x86_64')
+url="https://libjpeg-turbo.org/"
+license=('BSD')
+depends=('lib32-glibc')
+makedepends=('nasm')
+provides=('lib32-libjpeg6')
+conflicts=('lib32-libjpeg6')
+source=("https://downloads.sourceforge.net/project/libjpeg-turbo/${pkgver}/libjpeg-turbo-${pkgver}.tar.gz"{,.sig})
+validpgpkeys=('7D6293CC6378786E1B5C496885C7044E033FDE16') # libjpeg-turbo
+sha256sums=('9098943b270388727ae61de82adec73cf9f0dbb240b3bc8b172595ebf405b528'
+            'SKIP')
+
+build() {
+  cd libjpeg-turbo-${pkgver}
+
+  export CC='gcc -m32'
+  export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+
+  ./configure \
+    --prefix='/usr' \
+    --libdir='/usr/lib32' \
+    --mandir='/usr/share/man' \
+    --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}
+
+  make DESTDIR="${pkgdir}" install
+  rm -rf "${pkgdir}"/usr/{bin,include,lib32/pkgconfig,share}
+  rm "${pkgdir}"/usr/lib32/lib{jpeg.{a,so},turbojpeg.{a,so*}}
+
+  install -Dm 644 LICENSE.md -t "${pkgdir}"/usr/share/licenses/lib32-libjpeg6-turbo/
+}
+
+# vim: ts=2 sw=2 et:


More information about the arch-commits mailing list