[arch-commits] Commit in lib32-lz4/repos/multilib-x86_64 (PKGBUILD PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Wed Sep 4 18:40:18 UTC 2019
Date: Wednesday, September 4, 2019 @ 18:40:17
Author: anthraxx
Revision: 508058
archrelease: copy trunk to multilib-x86_64
Added:
lib32-lz4/repos/multilib-x86_64/PKGBUILD
(from rev 508057, lib32-lz4/trunk/PKGBUILD)
Deleted:
lib32-lz4/repos/multilib-x86_64/PKGBUILD
----------+
PKGBUILD | 107 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 53 insertions(+), 54 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-09-04 18:40:12 UTC (rev 508057)
+++ PKGBUILD 2019-09-04 18:40:17 UTC (rev 508058)
@@ -1,54 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Sébastien Luttringer
-
-_pkgname=lz4
-pkgname=lib32-lz4
-_gitcommit=398e36c756a3067de8e2b35dd380baef040dfe0d
-pkgver=1.9.1
-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}?signed")
-sha512sums=('SKIP')
-validpgpkeys=('5DE3E0509C47EA3CF04A42D34AEE18F83AFDEB23') # GitHub (web-flow commit signing) <noreply at github.com>
-
-pkgver() {
- cd ${_pkgname}
- git describe --tags --always|sed 's/^v//;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 508057, lib32-lz4/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-09-04 18:40:17 UTC (rev 508058)
@@ -0,0 +1,53 @@
+# 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:
More information about the arch-commits
mailing list