Skip to content
Snippets Groups Projects
Commit 7b1030fe authored by Kyle Keen's avatar Kyle Keen
Browse files

py3

parent f44d6b4d
No related branches found
Tags 5.2.122-5
No related merge requests found
......@@ -4,13 +4,13 @@
pkgname=libpgm
pkgver=5.2.122
pkgrel=4
pkgrel=5
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=('python2')
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"
......@@ -21,8 +21,8 @@ sha256sums=('6b895f550b95284dcde7189b01e04a9a1c1f94579af31b1eebd32c2207a1ba2c'
prepare() {
cd "$srcdir/$pkgname-$pkgver/openpgm/pgm"
find . -type f -exec sed -i 's/python/python2/g' {} \+
patch -p3 -i "$srcdir"/libpgm-fix-pkgconfig.patch # Fix wrong include dir in pkgconfig file
2to3 -wn version_generator.py
}
build() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment