mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
25 lines
805 B
Bash
25 lines
805 B
Bash
|
# Contributor: Bjorn Lindeijer <bjorn@lindeijer.nl>
|
||
|
# Contributor: William Rea <sillywilly@gmail.com>
|
||
|
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
|
||
|
|
||
|
pkgname=ruby-gnome2
|
||
|
pkgver=0.19.1
|
||
|
pkgrel=1
|
||
|
pkgdesc="Ruby Gnome bindings"
|
||
|
arch=('i686' 'x86_64')
|
||
|
url="http://ruby-gnome2.sourceforge.jp"
|
||
|
license=('LGPL')
|
||
|
depends=('libgnomeui' 'ruby-gnomecanvas')
|
||
|
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-all-$pkgver.tar.gz)
|
||
|
md5sums=('d40a03e79ac2a6e6a786ed5a4851337d')
|
||
|
|
||
|
build() {
|
||
|
cd "$srcdir/$pkgname-all-$pkgver"
|
||
|
ruby extconf.rb gnome || return 1
|
||
|
make || return 1
|
||
|
make DESTDIR="$pkgdir" install || return 1
|
||
|
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
|
||
|
}
|