mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
26 lines
894 B
Bash
26 lines
894 B
Bash
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
|
|
# Contributor: Andrea Scarpino <bash.lnx@gmail.com>
|
|
# Contributor: Bjorn Lindeijer <bjorn@lindeijer.nl>
|
|
# Contributor: thomas <vidvandre@gmail.com>
|
|
|
|
pkgname=ruby-gtk2
|
|
pkgver=0.19.1
|
|
pkgrel=1
|
|
pkgdesc="Ruby language bindings for GTK2."
|
|
arch=('i686' 'x86_64')
|
|
url="http://ruby-gnome2.sourceforge.jp/"
|
|
license=('LGPL')
|
|
depends=('ruby-glib2' 'ruby-atk' 'ruby-pango' 'ruby-gdkpixbuf2' 'ruby-rcairo')
|
|
source=(http://downloads.sourceforge.net/ruby-gnome2/$pkgname-$pkgver.tar.gz)
|
|
md5sums=('bdce4ae02d0edf2d25e5fc66c49fe15e')
|
|
|
|
build() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
|
|
ruby extconf.rb gtk || 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
|
|
}
|