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

Antonio Rojas arojas at archlinux.org
Sun Jul 14 09:47:43 UTC 2019


    Date: Sunday, July 14, 2019 @ 09:47:43
  Author: arojas
Revision: 489509

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 489508, lib32-bzip2/trunk/PKGBUILD)

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

Copied: lib32-bzip2/repos/multilib-testing-x86_64/PKGBUILD (from rev 489508, lib32-bzip2/trunk/PKGBUILD)
===================================================================
--- multilib-testing-x86_64/PKGBUILD	                        (rev 0)
+++ multilib-testing-x86_64/PKGBUILD	2019-07-14 09:47:43 UTC (rev 489509)
@@ -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.8
+pkgrel=1
+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=('083f5e675d73f3233c7930ebe20425a533feedeaaa9d8cc86831312a6581cefbe6ed0d08d2fa89be81082f2a5abdabca8b3c080bf97218a1bd59dc118a30b9f3'
+            '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