mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-28 23:21:53 +00:00
25 lines
865 B
Bash
25 lines
865 B
Bash
# $Id: PKGBUILD 2392 2009-09-17 18:27:55Z shusmann $
|
|
# Maintainer: Andrea Scarpino <bash.lnx@gmail.com>
|
|
# Contributor: Bjorn Lindeijer <bjorn@lindeijer.nl>
|
|
# Contributor: William Rea <sillywilly@gmail.com>
|
|
|
|
pkgname=ruby-gnomecanvas
|
|
pkgver=0.19.1
|
|
pkgrel=1
|
|
pkgdesc="Ruby GnomeCanvas bindings."
|
|
arch=('i686' 'x86_64')
|
|
url="http://ruby-gnome2.sourceforge.jp"
|
|
license=('LGPL')
|
|
depends=('libgnomecanvas' 'ruby-gtk2' 'ruby-libart')
|
|
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 gnomecanvas
|
|
make || return 1
|
|
make DESTDIR="$pkgdir" install
|
|
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
|
|
}
|