Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Updated PKGBUILD for reia-git
# Contributor: Friedrich Weber <fred@reichbier.de>
# Contributor: Michael Fellinger <m.fellinger@gmail.com>
pkgname=reia-git
pkgver=20101216
pkgrel=2
pkgdesc="A Ruby/Python-like scripting language for the Erlang virtual machine (BEAM)"
arch=('any')
url="http://reia-lang.org/"
license=('MIT')
depends=('erlang')
makedepends=('rake')
install=
source=()
noextract=()
md5sums=()
_gitroot="git://github.com/tarcieri/reia.git"
_gitname="reia"
build() {
cd "$srcdir"
msg "Connecting to GIT server...."
if [ -d $_gitname ] ; then
cd $_gitname && git pull origin
msg "The local files are updated."
else
git clone $_gitroot
fi
msg "GIT checkout done or server timeout"
msg "Starting make..."
rm -rf "$srcdir/$_gitname-build"
cp -r "$srcdir/$_gitname" "$srcdir/$_gitname-build"
cd "$srcdir/$_gitname-build"
# BUILD
erl_lib_dir=$pkgdir$(erl -noshell -eval "io:format(code:lib_dir())" -s erlang halt)
mkdir -p $erl_lib_dir $pkgdir/usr/bin $pkgdir/usr/lib/erlang/lib $pkgdir/usr/share/licenses/reia-git
install -Dm644 LICENSE $pkgdir/usr/share/licenses/reia-git/LICENSE
ERL_LIB_DIR=$erl_lib_dir REIA_BIN_DIR=$pkgdir/usr/bin rake install || exit 1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.