PKGBUILDs/extra/vala-misc-git/PKGBUILD
2009-09-26 09:35:50 -05:00

32 lines
687 B
Bash

# Contributor: Andries Radu <admiral0 AT tuxfamily.org>
pkgname=vala-misc-git
pkgver=20090921
pkgrel=1
pkgdesc="Vala bindings not submitted upstream yet."
arch=('arm')
url="http://www.freesmartphone.org"
license=('GPL')
depends=('vala')
_gitroot="git://git.freesmartphone.org/cornucopia.git"
_gitname="cornucopia"
build() {
cd ${srcdir}
msg "Connecting to git.freedesktop.org GIT server...."
if [ -d ${srcdir}/$_gitname ] ; then
cd $_gitname && git pull origin
msg "The local files are updated."
else
git clone $_gitroot
cd $_gitname
fi
cd misc-vapi
./autogen.sh
./configure --prefix=/usr
make || return 1
make DESTDIR=$pkgdir install || return 1
}