summaryrefslogtreecommitdiff
path: root/community/parrot/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
committerroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
commit7a65a910b77ad191d69881098c47f9b0c852d92e (patch)
tree9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/parrot/PKGBUILD
parent60da6abff6c9577a783d72865f11de7a585e912e (diff)
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/parrot/PKGBUILD')
-rw-r--r--community/parrot/PKGBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/community/parrot/PKGBUILD b/community/parrot/PKGBUILD
new file mode 100644
index 000000000..e36b3debe
--- /dev/null
+++ b/community/parrot/PKGBUILD
@@ -0,0 +1,37 @@
+# $Id: PKGBUILD 94711 2013-07-29 10:19:02Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: mpie <michael.kyne-phillips1@ntlworld.com>
+
+pkgname=parrot
+pkgver=5.6.0
+#_rel=stable
+_rel=devel
+pkgrel=1
+pkgdesc="Standalone VM that can execute bytecode compiled dynamic languages"
+arch=('x86_64' 'i686')
+url="http://www.parrotcode.org/"
+license=('GPL')
+depends=('icu' 'openssl' 'libffi')
+makedepends=('perl-json')
+optdepends=('freeglut')
+options=('!makeflags')
+source=(ftp://ftp.parrot.org/pub/parrot/releases/$_rel/$pkgver/$pkgname-$pkgver.tar.bz2)
+md5sums=('7bf098790c5772bb45480abe3e425f3c')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ perl Configure.pl --prefix=/usr \
+ --parrot_is_shared \
+ --disable-rpath \
+ --mandir=/usr/share/man \
+ --optimize
+ 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
+}