[arch-commits] Commit in libpgm/repos (2 files)
Kyle Keen
kkeen at archlinux.org
Mon Sep 7 09:49:45 UTC 2020
Date: Monday, September 7, 2020 @ 09:49:45
Author: kkeen
Revision: 699521
archrelease: copy trunk to community-staging-x86_64
Added:
libpgm/repos/community-staging-x86_64/
libpgm/repos/community-staging-x86_64/PKGBUILD
(from rev 699520, libpgm/trunk/PKGBUILD)
----------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Copied: libpgm/repos/community-staging-x86_64/PKGBUILD (from rev 699520, libpgm/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-09-07 09:49:45 UTC (rev 699521)
@@ -0,0 +1,38 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Lex Black <autumn-wind at web dot de>
+# Contributor: Vladimir Kirillov <proger at wilab.org.ua>
+
+pkgname=libpgm
+pkgver=5.3.128
+_pkgver="${pkgver//./-}"
+pkgrel=1
+pkgdesc="OpenPGM: implementation of the Pragmatic General Multicast (PGM, RFC3208)"
+arch=('x86_64')
+url='https://www.freshports.org/net/openpgm/'
+license=('LGPL2.1')
+depends=('glibc')
+makedepends=('python')
+options=(!strip)
+#source=("http://openpgm.googlecode.com/files/$pkgname-$pkgver.tar.gz")
+#source=("https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/openpgm/libpgm-$pkgver.tar.gz")
+source=("libpgm-$pkgver.tgz::https://github.com/steve-o/openpgm/archive/release-${_pkgver}.tar.gz")
+sha256sums=('8d707ef8dda45f4a7bc91016d7f2fed6a418637185d76c7ab30b306499c6d393')
+
+prepare() {
+ cd "$srcdir/openpgm-release-$_pkgver/openpgm/pgm"
+ 2to3 -wn version_generator.py
+ # 5.3.128 is a little broken
+ cp openpgm-5.2.pc.in openpgm-5.3.pc.in
+}
+
+build() {
+ cd "$srcdir/openpgm-release-$_pkgver/openpgm/pgm"
+ ./bootstrap.sh
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/openpgm-release-$_pkgver/openpgm/pgm"
+ make prefix="$pkgdir/usr" install
+}
More information about the arch-commits
mailing list