updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / ruby-gnomeprintui / PKGBUILD
blobf21447b7a3762045faac93da92a6c4ac4f38461e
1 # Maintainer: Bjorn Lindeijer <bjorn@lindeijer.nl>
2 # Contributor: William Rea <sillywilly@gmail.com>
3 pkgname=ruby-gnomeprintui
4 pkgver=0.16.0
5 pkgrel=1
6 pkgdesc="Ruby GnomePrintUI bindings"
7 arch=('i686' 'x86_64')
8 url="http://ruby-gnome2.sourceforge.jp"
9 license=('LGPL')
10 depends=('ruby-gnomeprint' 'ruby-gtk2')
11 source=(http://dl.sourceforge.net/sourceforge/ruby-gnome2/ruby-gnome2-all-$pkgver.tar.gz)
12 md5sums=('b3b4f81ef0fe2ce6b3f965bb7c6d3686')
14 build() {
15   cd $startdir/src/ruby-gnome2-all-$pkgver
17   # GnomePrintUI can't be built without also building GnomePrint
18   ruby extconf.rb gnomeprint gnomeprintui
19   make || return 1
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