updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / gnome-guile-platform-git / PKGBUILD
blob02069a3824e1f21038e9c5d945597b1d5c380564
1 # Contributor: Daniel Oliveira <psykond@gmail.com>
2 pkgname=gnome-guile-platform-git
3 pkgver=20101022
4 pkgrel=1
5 pkgdesc="Binding between Guile Scheme and the Gnome stack of libraries. (fe. Pango, GTK+, Cairo, GStreamer, Glade, GtkSourceView and else). To build wrappers for GTK+ and higher in the stack, you will first need Guile-Cairo."
6 arch=('i686', 'x86_64')
7 url="http://www.gnu.org/software/guile-gnome/"
8 license=('GPL2')
9 depends=('guile>=1.6.4' 'g-wrap>=1.9.13' libffi patch)
10 provides=('guile-gnome-platform')
11 makedepends=('git')
13 _gitroot="git://git.sv.gnu.org/guile-gnome.git"
14 _gitname="guile-gnome-platform"
16 build() {
17   cd "$srcdir"
18   msg "Connecting to GIT server...."
20   if [ -d $_gitname ] ; then
21     cd $_gitname && git pull origin
22     msg "The local files are updated."
23   else
24     git clone $_gitroot $_gitname
25   fi
27   msg "GIT checkout done or server timeout"
28   msg "Starting make..."
30   rm -rf "$srcdir/$_gitname-build"
31   git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
32   cd "$srcdir/$_gitname-build"
34   #
35   # BUILD HERE
36   #
38   ./scripts/configure-packages guile-gnome-platform
39   ./autogen.sh --prefix=/usr
40   make || return 1
41   make DESTDIR="$pkgdir/" install