summaryrefslogtreecommitdiff
path: root/community/parrot
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-03-18 00:02:54 +0000
committerroot <root@rshg054.dnsready.net>2012-03-18 00:02:54 +0000
commitd14a25fc4f65ae3d6e62f4668e9cb88d74834255 (patch)
tree7c4f618283e9b502f0d9cfb5059ce38daa7738be /community/parrot
parent9a940818cc3edb82afac4d73a6474e6e3374f987 (diff)
Sun Mar 18 00:02:53 UTC 2012
Diffstat (limited to 'community/parrot')
-rw-r--r--community/parrot/PKGBUILD34
1 files changed, 21 insertions, 13 deletions
diff --git a/community/parrot/PKGBUILD b/community/parrot/PKGBUILD
index 0f0d9d4be..4ea0dd058 100644
--- a/community/parrot/PKGBUILD
+++ b/community/parrot/PKGBUILD
@@ -1,25 +1,25 @@
-# $Id: PKGBUILD 62750 2012-01-25 18:56:38Z spupykin $
+# $Id: PKGBUILD 67927 2012-03-16 10:14:41Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributer: mpie <michael.kyne-phillips1@ntlworld.com>
+# Contributor: mpie <michael.kyne-phillips1@ntlworld.com>
pkgname=parrot
-pkgver=4.0.0
-#_rel=devel
-_rel=stable
+pkgver=4.1.0
+#_rel=stable
+_rel=devel
pkgrel=2
-pkgdesc="standalone virtual machine that can be used to execute bytecode compiled dynamic languages"
-arch=(i686 x86_64)
+pkgdesc="Standalone VM that can execute bytecode compiled dynamic languages"
+arch=('x86_64' 'i686')
url="http://www.parrotcode.org/"
license=('GPL')
depends=('gmp' 'gdbm' 'readline' 'icu' 'openssl' 'libffi')
makedepends=('perl-json')
optdepends=('freeglut')
options=(!emptydirs !makeflags)
-source=(ftp://ftp.parrot.org/pub/parrot/releases/${_rel}/$pkgver/parrot-$pkgver.tar.gz)
-md5sums=('fc613c41771baf79307c519072302299')
+source=("ftp://ftp.parrot.org/pub/parrot/releases/$_rel/$pkgver/parrot-$pkgver.tar.gz")
+md5sums=('23c37c82aeac2d5bf9fd00a7873dab0d')
build() {
- cd $srcdir/$pkgname-$pkgver
+ 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
@@ -27,18 +27,26 @@ build() {
[ $NOEXTRACT -eq 1 ] || perl Configure.pl --prefix=/usr --parrot_is_shared
find -type f -name Makefile | while read F; do
- grep "$srcdir" $F && sed -i "s#-Wl,-rpath=$srcdir/parrot-$pkgver/blib/lib##" $F || true
- grep "$srcdir" $F && sed -i "s#-rpath=$srcdir/parrot-$pkgver/blib/lib##" $F || true
+ grep "$srcdir" $F && sed -i \
+ "s#-Wl,-rpath=$srcdir/parrot-$pkgver/blib/lib##" $F || true
+ grep "$srcdir" $F && sed -i \
+ "s#-rpath=$srcdir/parrot-$pkgver/blib/lib##" $F || true
done
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
OLD_LIB_PATH=$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$srcdir/parrot-$pkgver/blib/lib
make -j1 all parrot_utils docs html RPATH_BLIB=
export LD_LIBRARY_PATH=`pwd`/blib/lib
- make -j1 DESTDIR=$pkgdir install-dev
+ make -j1 DESTDIR="$pkgdir" install-dev
sed -i "s#$srcdir#/usr/src#" $pkgdir/usr/lib/parrot/$pkgver/tools/lib/Parrot/Config/Generated.pm
export LD_LIBRARY_PATH=$OLD_LIB_PATH
}
+
+# vim:set ts=2 sw=2 et: