[arch-commits] Commit in lib32-libpgm/trunk (PKGBUILD)

Maxime Gauduin alucryd at archlinux.org
Tue Jul 25 19:06:59 UTC 2017


    Date: Tuesday, July 25, 2017 @ 19:06:59
  Author: alucryd
Revision: 246364

code.google.com retirement: lib32-libpgm 5.2.122-4

Modified:
  lib32-libpgm/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-07-25 18:15:35 UTC (rev 246363)
+++ PKGBUILD	2017-07-25 19:06:59 UTC (rev 246364)
@@ -7,25 +7,26 @@
 
 pkgname=lib32-libpgm
 pkgver=5.2.122
-pkgrel=3
+pkgrel=4
 pkgdesc='An implementation of the PGM reliable multicast protocol'
 arch=('x86_64')
-url='http://code.google.com/p/openpgm'
+url='https://github.com/steve-o/openpgm'
 license=('LGPL2.1')
 depends=('lib32-glibc' 'libpgm')
-makedepends=('gcc-multilib' 'python2')
+makedepends=('cmake' 'gcc-multilib' 'python2')
 options=('!strip')
-source=("http://openpgm.googlecode.com/files/libpgm-$pkgver.tar.gz")
-sha256sums=('6b895f550b95284dcde7189b01e04a9a1c1f94579af31b1eebd32c2207a1ba2c')
+source=("libpgm-${pkgver}.tar.gz::https://github.com/steve-o/openpgm/archive/release-${pkgver//./-}.tar.gz")
+sha256sums=('acc1545fd8060aa66b17327110e2859e451cfc685ebd3b2211619728e3471b66')
 
 prepare() {
-  cd libpgm-${pkgver}/openpgm/pgm
+  cd openpgm-release-${pkgver//./-}/openpgm/pgm
 
   find . -type f -exec sed -i 's/python/python2/g' {} +
+  autoreconf -fiv
 }
 
 build() {
-  cd libpgm-${pkgver}/openpgm/pgm
+  cd openpgm-release-${pkgver//./-}/openpgm/pgm \
 
   export CC='gcc -m32'
   export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
@@ -37,7 +38,7 @@
 }
 
 package() {
-  cd libpgm-${pkgver}/openpgm/pgm
+  cd openpgm-release-${pkgver//./-}/openpgm/pgm \
 
   make DESTDIR="${pkgdir}" install
   rm -rf "${pkgdir}"/{etc,usr/{bin,lib,include,share}}



More information about the arch-commits mailing list