[arch-commits] Commit in lib32-bzip2/repos (2 files)

Antonio Rojas arojas at archlinux.org
Mon Jul 1 18:31:17 UTC 2019


    Date: Monday, July 1, 2019 @ 18:31:16
  Author: arojas
Revision: 487170

archrelease: copy trunk to multilib-testing-x86_64

Added:
  lib32-bzip2/repos/multilib-testing-x86_64/
  lib32-bzip2/repos/multilib-testing-x86_64/PKGBUILD
    (from rev 487169, lib32-bzip2/trunk/PKGBUILD)

----------+
 PKGBUILD |   36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

Copied: lib32-bzip2/repos/multilib-testing-x86_64/PKGBUILD (from rev 487169, lib32-bzip2/trunk/PKGBUILD)
===================================================================
--- multilib-testing-x86_64/PKGBUILD	                        (rev 0)
+++ multilib-testing-x86_64/PKGBUILD	2019-07-01 18:31:16 UTC (rev 487170)
@@ -0,0 +1,36 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: TryA <tryagainprod {at} gmail.com>
+
+_pkgbasename=bzip2
+pkgname=lib32-bzip2
+pkgver=1.0.7
+pkgrel=2
+pkgdesc="A high-quality data compression program (32-bit)"
+arch=('x86_64')
+license=('custom')
+url="https://sourceware.org/bzip2/"
+depends=('lib32-glibc' $_pkgbasename)
+makedepends=('gcc-multilib')
+source=(https://sourceware.org/pub/bzip2/$_pkgbasename-$pkgver.tar.gz{,.sig})
+sha512sums=('e0e19b493e6b1f7beeb0eeb0be8a6358c24202173f28acb1e902a768835be9e24f2cb966452fbc90fc3e4e692532ce0c7e86d06aef2d52c0d2a9ac16e12ec8c8'
+            'SKIP')
+validpgpkeys=('EC3CFE88F6CA0788774F5C1D1AA44BE649DE760A') # Mark Wielaard <mark at klomp.org>
+
+build() {
+  cd ${_pkgbasename}-${pkgver}
+ 
+  make -f Makefile-libbz2_so CC="gcc -m32 $CFLAGS $LDFLAGS"
+  make libbz2.a CC="gcc -m32 $CFLAGS $LDFLAGS"
+}
+
+package(){
+  cd ${_pkgbasename}-${pkgver}
+
+  install -dm755 "$pkgdir"/usr/lib32
+  cp -a libbz2.so* "$pkgdir"/usr/lib32
+  ln -s libbz2.so.$pkgver "$pkgdir"/usr/lib32/libbz2.so
+
+  install -Dm644 libbz2.a "$pkgdir"/usr/lib32/libbz2.a
+
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/${pkgname}/LICENSE
+}


More information about the arch-commits mailing list