#Packager: Shador pkgname=ruby-gtk2 pkgver=0.90.8 pkgrel=1ab source=("http://downloads.sourceforge.net/ruby-gnome2/ruby-gtk2-${pkgver}.tar.gz") sourcetemplate="http://gaia.homelinux.org/salix/slkbuilds/$pkgname/" docs=("readme" "copying.lib" "changelog" "authors" "news") url='http://ruby-gnome2.sourceforge.jp/' slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname (Ruby language bindings for GTK2)" "This package contains ruby-gtk2, a part of Ruby-GNOME2." "Ruby-GNOME2 is a set of Ruby language bindings for the GNOME 2.0" "development environment. This is the next generation of Ruby-GNOME." "" "ruby-gtk2 includes the following packages:" " Ruby/GLib2, Ruby/ATK, Ruby/GdkPixbuf2, Ruby/Pango, Ruby/GTK2" ) build() { set -e cd $startdir/src/ruby-gtk2-$pkgver/ ruby extconf.rb \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ --mandir=/usr/man || return 1 make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg || return 1 set +e }