summaryrefslogtreecommitdiff
path: root/community/parrot/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/parrot/PKGBUILD')
-rw-r--r--community/parrot/PKGBUILD24
1 files changed, 4 insertions, 20 deletions
diff --git a/community/parrot/PKGBUILD b/community/parrot/PKGBUILD
index 0e4a3927c..35af52e37 100644
--- a/community/parrot/PKGBUILD
+++ b/community/parrot/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 71230 2012-05-25 11:31:06Z spupykin $
+# $Id: PKGBUILD 73261 2012-07-04 14:01:36Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: mpie <michael.kyne-phillips1@ntlworld.com>
pkgname=parrot
-pkgver=4.4.0
+pkgver=4.5.0
#_rel=stable
_rel=devel
pkgrel=1
@@ -16,36 +16,20 @@ makedepends=('perl-json')
optdepends=('freeglut')
options=('!makeflags')
source=(ftp://ftp.parrot.org/pub/parrot/releases/$_rel/$pkgver/$pkgname-$pkgver.tar.bz2)
-sha256sums=('5c3f5ba2de06f6adb53b7835374a4f3e0601ec63e8a1d1dba6c6a07e12cc2990')
-sha256sums=('348ce13fc136afc74a7b50b094f64d8cb00f83f0cd3d59acc6fa4e63c824fa4d')
-sha256sums=('348ce13fc136afc74a7b50b094f64d8cb00f83f0cd3d59acc6fa4e63c824fa4d')
+md5sums=('8deb517792652d8b44442ebb5d289e2c')
build() {
cd "$srcdir/$pkgname-$pkgver"
-
- sed -i 's#auto::sha1##' lib/Parrot/Configure/Step/List.pm
- sed -i 's#auto::git_describe##' lib/Parrot/Configure/Step/List.pm
-
perl Configure.pl --prefix=/usr \
--parrot_is_shared \
- --disable-rpath || true
-
-# find -type f -name Makefile | while read F; do
-# grep "$srcdir" $F && sed -i \
-# "s#-Wl,-rpath=$srcdir/$pkgname-$pkgver/blib/lib##" $F
-# grep "$srcdir" $F && sed -i \
-# "s#-rpath=$srcdir/$pkgname-$pkgver/blib/lib##" $F
-# done
-
+ --disable-rpath
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:$(pwd)/blib/lib"
make all parrot_utils docs html
}
package() {
cd "$srcdir/$pkgname-$pkgver"
-
make DESTDIR="$pkgdir" install-dev
-
sed -i "s#$srcdir#/usr/src#" \
$pkgdir/usr/lib/parrot/$pkgver/tools/lib/Parrot/Config/Generated.pm
}