Date: Wednesday, September 4, 2019 @ 18:44:08 Author: anthraxx Revision: 508068
archrelease: copy trunk to multilib-x86_64 Added: lib32-zstd/repos/multilib-x86_64/PKGBUILD (from rev 508067, lib32-zstd/trunk/PKGBUILD) Deleted: lib32-zstd/repos/multilib-x86_64/PKGBUILD ----------+ PKGBUILD | 96 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 48 insertions(+), 48 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-09-04 18:44:03 UTC (rev 508067) +++ PKGBUILD 2019-09-04 18:44:08 UTC (rev 508068) @@ -1,48 +0,0 @@ -# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> -# Contributor: Bartłomiej Piotrowski <bpiotrow...@archlinux.org> -# Contributor: Andrzej Giniewicz <ggi...@gmail.com> -# Contributor: Johan Förberg <jo...@forberg.se> - -_pkgname=zstd -pkgname=lib32-zstd -pkgver=1.4.2 -pkgrel=1 -pkgdesc='Zstandard - Fast real-time compression algorithm (32-bit)' -url='https://www.zstd.net/' -arch=('x86_64') -license=('BSD' 'GPL2') -depends=('zstd' 'lib32-zlib' 'lib32-xz' 'lib32-lz4') -makedepends=('gtest') -source=(https://github.com/facebook/zstd/releases/download/v${pkgver}/zstd-${pkgver}.tar.gz) -sha256sums=('12730983b521f9a604c6789140fcb94fadf9a3ca99199765e33c56eb65b643c9') -sha512sums=('b760f201ff8d018c422b030d3f59245b5f1cfd157ba8d6eb9fe9240e23d5739ca7b5a705b2d5e8ace703d041ab77bea66d735b283e51facfb18923794fabe213') - -build() { - cd ${_pkgname}-${pkgver} - export CC="gcc -m32" - export CXX="g++ -m32" - export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" - make - make zstdmt - make -C contrib/pzstd -} - -check() { - cd ${_pkgname}-${pkgver} - make check - make -C contrib/pzstd test -} - -package() { - cd ${_pkgname}-${pkgver} - make \ - PREFIX=/usr \ - LIBDIR=/usr/lib32 \ - PKGCONFIGDIR=/usr/lib32/pkgconfig \ - DESTDIR="${pkgdir}" \ - install - rm -rf "${pkgdir}"/usr/{share,include,bin} - install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" -} - -# vim: ts=2 sw=2 et: Copied: lib32-zstd/repos/multilib-x86_64/PKGBUILD (from rev 508067, lib32-zstd/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-09-04 18:44:08 UTC (rev 508068) @@ -0,0 +1,48 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Contributor: Bartłomiej Piotrowski <bpiotrow...@archlinux.org> +# Contributor: Andrzej Giniewicz <ggi...@gmail.com> +# Contributor: Johan Förberg <jo...@forberg.se> + +_pkgname=zstd +pkgname=lib32-zstd +pkgver=1.4.3 +pkgrel=1 +pkgdesc='Zstandard - Fast real-time compression algorithm (32-bit)' +url='https://www.zstd.net/' +arch=('x86_64') +license=('BSD' 'GPL2') +depends=('zstd' 'lib32-zlib' 'lib32-xz' 'lib32-lz4') +makedepends=('gtest') +source=(https://github.com/facebook/zstd/releases/download/v${pkgver}/zstd-${pkgver}.tar.gz) +sha256sums=('e88ec8d420ff228610b77fba4fbf22b9f8b9d3f223a40ef59c9c075fcdad5767') +sha512sums=('cb36772a59f79922e65c0f869384dca4ef2948c1d1440abcddecc7e3838efee5b547dad97b9023cdcf17bf10a32412b8f3b20a5e16b79314e61074987edecfab') + +build() { + cd ${_pkgname}-${pkgver} + export CC="gcc -m32" + export CXX="g++ -m32" + export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" + make + make zstdmt + make -C contrib/pzstd +} + +check() { + cd ${_pkgname}-${pkgver} + make check + make -C contrib/pzstd test +} + +package() { + cd ${_pkgname}-${pkgver} + make \ + PREFIX=/usr \ + LIBDIR=/usr/lib32 \ + PKGCONFIGDIR=/usr/lib32/pkgconfig \ + DESTDIR="${pkgdir}" \ + install + rm -rf "${pkgdir}"/usr/{share,include,bin} + install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" +} + +# vim: ts=2 sw=2 et: