diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/ruby-gtk2/PKGBUILD |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/ruby-gtk2/PKGBUILD')
-rw-r--r-- | community/ruby-gtk2/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/community/ruby-gtk2/PKGBUILD b/community/ruby-gtk2/PKGBUILD new file mode 100644 index 000000000..c46eff5b5 --- /dev/null +++ b/community/ruby-gtk2/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 40204 2011-02-21 19:23:54Z bfanella $ +# Maintainer: Brad Fanella <bradfanella@archlinux.us> +# Contributor: Bjorn Lindeijer <bjorn@lindeijer.nl> +# Contributor: kritoke <kritoke@nospam.gmail.com> + +pkgname=ruby-gtk2 +pkgver=0.90.7 +pkgrel=2 +pkgdesc="Ruby bindings for gtk2." +arch=('i686' 'x86_64') +url="http://ruby-gnome2.sourceforge.jp" +license=('LGPL') +depends=('ruby-glib2' 'ruby-pango' 'ruby-atk' 'ruby-gdkpixbuf2') +makedepends=('ruby-pkgconfig' 'ruby-cairo') +source=(http://downloads.sourceforge.net/ruby-gnome2/ruby-gtk2-$pkgver.tar.gz + 'mkmf-gnome2.patch') +md5sums=('82ebea3ebb6fa51ffc5ec631b31d519a' + '93dac3212aa8fccfc83b2cd518750cf7') + +build() { + cd "$srcdir/ruby-gtk2-$pkgver" + + # Apply ruby-cairo fixes + patch -Np1 -i ../mkmf-gnome2.patch glib2/lib/mkmf-gnome2.rb + + ruby extconf.rb gtk2 --topdir=$pkgdir + make +} +package() { + cd "$srcdir/ruby-gtk2-$pkgver" + make DESTDIR="$pkgdir" install +} |