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

Antonio Rojas arojas at archlinux.org
Sat Dec 5 12:53:30 UTC 2020


    Date: Saturday, December 5, 2020 @ 12:53:30
  Author: arojas
Revision: 770519

archrelease: copy trunk to multilib-staging-x86_64

Added:
  lib32-libpgm/repos/multilib-staging-x86_64/
  lib32-libpgm/repos/multilib-staging-x86_64/PKGBUILD
    (from rev 770518, lib32-libpgm/trunk/PKGBUILD)

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

Copied: lib32-libpgm/repos/multilib-staging-x86_64/PKGBUILD (from rev 770518, lib32-libpgm/trunk/PKGBUILD)
===================================================================
--- multilib-staging-x86_64/PKGBUILD	                        (rev 0)
+++ multilib-staging-x86_64/PKGBUILD	2020-12-05 12:53:30 UTC (rev 770519)
@@ -0,0 +1,47 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: oi_wtf <brainpower at mailbox.org>
+# Contributor: Kyle Keen <keenerd at gmail.com>
+# Contributor: Lex Black <autumn-wind at web.de>
+# Contributor: Vladimir Kirillov <proger at wilab.org.ua>
+
+pkgname=lib32-libpgm
+pkgver=5.3.128
+pkgrel=1
+pkgdesc='An implementation of the PGM reliable multicast protocol'
+arch=('x86_64')
+url='https://github.com/steve-o/openpgm'
+license=('LGPL2.1')
+depends=('lib32-glibc' 'libpgm')
+makedepends=('cmake' 'gcc-multilib' 'python2')
+options=('!strip')
+source=("libpgm-${pkgver}.tar.gz::https://github.com/steve-o/openpgm/archive/release-${pkgver//./-}.tar.gz")
+sha256sums=('8d707ef8dda45f4a7bc91016d7f2fed6a418637185d76c7ab30b306499c6d393')
+
+prepare() {
+  cd openpgm-release-${pkgver//./-}/openpgm/pgm
+  cp openpgm-5.2.pc.in openpgm-5.3.pc.in
+
+  find . -type f -exec sed -i 's/python/python2/g' {} +
+  autoreconf -fiv
+}
+
+build() {
+  cd openpgm-release-${pkgver//./-}/openpgm/pgm \
+
+  export CC='gcc -m32'
+  export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+
+  ./configure \
+    --prefix='/usr' \
+    --libdir='/usr/lib32'
+  make
+}
+
+package() {
+  cd openpgm-release-${pkgver//./-}/openpgm/pgm \
+
+  make DESTDIR="${pkgdir}" install
+  rm -rf "${pkgdir}"/{etc,usr/{bin,lib,include,share}}
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list