Date: Tuesday, July 25, 2017 @ 19:07:12 Author: alucryd Revision: 246365
archrelease: copy trunk to multilib-x86_64 Added: lib32-libpgm/repos/multilib-x86_64/PKGBUILD (from rev 246364, lib32-libpgm/trunk/PKGBUILD) Deleted: lib32-libpgm/repos/multilib-x86_64/PKGBUILD ----------+ PKGBUILD | 93 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 47 insertions(+), 46 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2017-07-25 19:06:59 UTC (rev 246364) +++ PKGBUILD 2017-07-25 19:07:12 UTC (rev 246365) @@ -1,46 +0,0 @@ -# $Id$ -# Maintainer: Maxime Gauduin <aluc...@archlinux.org> -# Contributor: oi_wtf <brainpo...@mailbox.org> -# Contributor: Kyle Keen <keen...@gmail.com> -# Contributor: Lex Black <autumn-w...@web.de> -# Contributor: Vladimir Kirillov <pro...@wilab.org.ua> - -pkgname=lib32-libpgm -pkgver=5.2.122 -pkgrel=3 -pkgdesc='An implementation of the PGM reliable multicast protocol' -arch=('x86_64') -url='http://code.google.com/p/openpgm' -license=('LGPL2.1') -depends=('lib32-glibc' 'libpgm') -makedepends=('gcc-multilib' 'python2') -options=('!strip') -source=("http://openpgm.googlecode.com/files/libpgm-$pkgver.tar.gz") -sha256sums=('6b895f550b95284dcde7189b01e04a9a1c1f94579af31b1eebd32c2207a1ba2c') - -prepare() { - cd libpgm-${pkgver}/openpgm/pgm - - find . -type f -exec sed -i 's/python/python2/g' {} + -} - -build() { - cd libpgm-${pkgver}/openpgm/pgm - - export CC='gcc -m32' - export PKG_CONFIG_PATH='/usr/lib32/pkgconfig' - - ./configure \ - --prefix='/usr' \ - --libdir='/usr/lib32' - make -} - -package() { - cd libpgm-${pkgver}/openpgm/pgm - - make DESTDIR="${pkgdir}" install - rm -rf "${pkgdir}"/{etc,usr/{bin,lib,include,share}} -} - -# vim: ts=2 sw=2 et: Copied: lib32-libpgm/repos/multilib-x86_64/PKGBUILD (from rev 246364, lib32-libpgm/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2017-07-25 19:07:12 UTC (rev 246365) @@ -0,0 +1,47 @@ +# $Id$ +# Maintainer: Maxime Gauduin <aluc...@archlinux.org> +# Contributor: oi_wtf <brainpo...@mailbox.org> +# Contributor: Kyle Keen <keen...@gmail.com> +# Contributor: Lex Black <autumn-w...@web.de> +# Contributor: Vladimir Kirillov <pro...@wilab.org.ua> + +pkgname=lib32-libpgm +pkgver=5.2.122 +pkgrel=4 +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=('acc1545fd8060aa66b17327110e2859e451cfc685ebd3b2211619728e3471b66') + +prepare() { + cd openpgm-release-${pkgver//./-}/openpgm/pgm + + 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: