Guest User

guile-gnome-platform PKGBUILD

a guest
Jul 26th, 2011
119
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Contributor: Daniel Oliveira <psykond@gmail.com>
  2. pkgname=guile-gnome-platform-git
  3. pkgver=20110727
  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')
  12.  
  13. _gitroot="git://git.sv.gnu.org/guile-gnome.git"
  14. _gitname="guile-gnome-platform"
  15.  
  16. build() {
  17.   cd "$srcdir"
  18.   msg "Connecting to GIT server...."
  19.  
  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
  26.  
  27.   msg "GIT checkout done or server timeout"
  28.   msg "Starting make..."
  29.  
  30.   #
  31.   # BUILD HERE
  32.   #
  33.  
  34.   ./scripts/configure-packages guile-gnome-platform
  35.   ./autogen.sh --prefix=/usr --disable-Werror
  36.   make || return 1
  37.   make DESTDIR="$pkgdir/" install
  38. }
RAW Paste Data