1 # Maintainer: Bjorn Lindeijer <bjorn@lindeijer.nl>
2 # Contributor: William Rea <sillywilly@gmail.com>
3 pkgname=ruby-gnomeprintui
6 pkgdesc="Ruby GnomePrintUI bindings"
8 url="http://ruby-gnome2.sourceforge.jp"
10 depends=('ruby-gnomeprint' 'ruby-gtk2')
11 source=(http://dl.sourceforge.net/sourceforge/ruby-gnome2/ruby-gnome2-all-$pkgver.tar.gz)
12 md5sums=('b3b4f81ef0fe2ce6b3f965bb7c6d3686')
15 cd $startdir/src/ruby-gnome2-all-$pkgver
17 # GnomePrintUI can't be built without also building GnomePrint
18 ruby extconf.rb gnomeprint gnomeprintui
20 make DESTDIR=$startdir/pkg install
22 # Remove the files that are in GnomePrint
23 rm $startdir/pkg/usr/lib/ruby/site_ruby/1.8/gnomeprint2.rb
24 rm $startdir/pkg/usr/lib/ruby/site_ruby/1.8/${CARCH}-linux/gnomeprint2.so