# Maintainer: Stefan Husmann # Contributor: Andrea Scarpino # Contributor: Bjorn Lindeijer # Contributor: kritoke pkgname=ruby-gconf2 pkgver=0.19.1 pkgrel=1 pkgdesc="Ruby GConf2 bindings" arch=('i686' 'x86_64') url="http://ruby-gnome2.sourceforge.jp" license=('LGPL') depends=('ruby-glib2' 'gconf') source=(http://downloads.sourceforge.net/ruby-gnome2/ruby-gnome2-all-$pkgver.tar.gz) md5sums=('d40a03e79ac2a6e6a786ed5a4851337d') build() { cd "$srcdir/ruby-gnome2-all-$pkgver" ruby extconf.rb gconf || return 1 make || return 1 make DESTDIR="$pkgdir" install || return 1 mv $pkgdir/usr/lib/pkgconfig $pkgdir/usr/lib/pkgconfig.orig install -d $pkgdir/usr/lib/pkgconfig mv $pkgdir/usr/lib/pkgconfig.orig $pkgdir/usr/lib/pkgconfig/$pkgname.pc }