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

Levente Polyak anthraxx at archlinux.org
Thu Jan 14 21:23:07 UTC 2021


    Date: Thursday, January 14, 2021 @ 21:23:06
  Author: anthraxx
Revision: 820910

archrelease: copy trunk to multilib-x86_64

Added:
  lib32-lz4/repos/multilib-x86_64/PKGBUILD
    (from rev 820909, lib32-lz4/trunk/PKGBUILD)
Deleted:
  lib32-lz4/repos/multilib-x86_64/PKGBUILD

----------+
 PKGBUILD |  107 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 54 insertions(+), 53 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-01-14 21:23:03 UTC (rev 820909)
+++ PKGBUILD	2021-01-14 21:23:06 UTC (rev 820910)
@@ -1,53 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Sébastien Luttringer
-
-_pkgname=lz4
-pkgname=lib32-lz4
-_gitcommit=fdf2ef5809ca875c454510610764d9125ef2ebbd
-pkgver=1.9.2
-pkgrel=1
-pkgdesc='Extremely fast compression algorithm (32-bit)'
-url='https://www.lz4.org/'
-arch=('x86_64')
-license=('GPL2')
-makedepends=('git')
-checkdepends=('diffutils')
-depends=('lz4' 'lib32-glibc')
-source=("git+https://github.com/lz4/lz4.git#commit=${_gitcommit}")
-sha512sums=('SKIP')
-
-pkgver() {
-  cd ${_pkgname}
-  git describe --tags --match 'v*' | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
-}
-
-build() {
-  cd ${_pkgname}
-  export CC="gcc -m32"
-  export CXX="g++ -m32"
-  export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
-  # do not use the main makefile, it calls sub make with -e
-  # exported CLFAGS by makepkg break the version. see FS#50071
-  make -C lib PREFIX=/usr
-  make -C programs PREFIX=/usr lz4 lz4c
-}
-
-check() {
-  rm -f passwd.lz4
-  ${_pkgname}/programs/lz4 /etc/passwd passwd.lz4
-  ${_pkgname}/programs/lz4 -d passwd.lz4 passwd
-  diff -q /etc/passwd passwd
-  rm passwd
-}
-
-package() {
-  cd ${_pkgname}
-  make install \
-    PREFIX=/usr \
-    LIBDIR=/usr/lib32 \
-    PKGCONFIGDIR=/usr/lib32/pkgconfig \
-    DESTDIR="${pkgdir}"
-  rm -rf "${pkgdir}"/usr/{share,include,bin}
-}
-
-# vim: ts=2 sw=2 et:

Copied: lib32-lz4/repos/multilib-x86_64/PKGBUILD (from rev 820909, lib32-lz4/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-01-14 21:23:06 UTC (rev 820910)
@@ -0,0 +1,54 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Sébastien Luttringer
+
+_pkgname=lz4
+pkgname=lib32-lz4
+_gitcommit=d44371841a2f1728a3f36839fd4b7e872d0927d3
+pkgver=1.9.3
+pkgrel=1
+pkgdesc='Extremely fast compression algorithm (32-bit)'
+url='https://www.lz4.org/'
+arch=('x86_64')
+license=('GPL2')
+makedepends=('git')
+checkdepends=('diffutils')
+depends=('lz4' 'lib32-glibc')
+provides=('liblz4.so')
+source=("git+https://github.com/lz4/lz4.git#commit=${_gitcommit}")
+sha512sums=('SKIP')
+
+pkgver() {
+  cd ${_pkgname}
+  git describe --tags --match 'v*' | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+build() {
+  cd ${_pkgname}
+  export CC="gcc -m32"
+  export CXX="g++ -m32"
+  export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+  # do not use the main makefile, it calls sub make with -e
+  # exported CLFAGS by makepkg break the version. see FS#50071
+  make -C lib PREFIX=/usr
+  make -C programs PREFIX=/usr lz4 lz4c
+}
+
+check() {
+  rm -f passwd.lz4
+  ${_pkgname}/programs/lz4 /etc/passwd passwd.lz4
+  ${_pkgname}/programs/lz4 -d passwd.lz4 passwd
+  diff -q /etc/passwd passwd
+  rm passwd
+}
+
+package() {
+  cd ${_pkgname}
+  make install \
+    PREFIX=/usr \
+    LIBDIR=/usr/lib32 \
+    PKGCONFIGDIR=/usr/lib32/pkgconfig \
+    DESTDIR="${pkgdir}"
+  rm -rf "${pkgdir}"/usr/{share,include,bin}
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list