summaryrefslogtreecommitdiff
path: root/community/ruby-gdkpixbuf2/PKGBUILD
blob: ab085806a907cced0ceb5c698c4c1b4f178bc2f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# $Id: PKGBUILD 53620 2011-08-07 02:18:34Z bfanella $
# Maintainer: Brad Fanella <bradfanella@archlinux.us>
# Contributor: Bjorn Lindeijer <bjorn@lindeijer.nl>
# Contributor: kritoke <kritoke@nospam.gmail.com>

pkgname=ruby-gdkpixbuf2
pkgver=1.0.0
pkgrel=1
pkgdesc="Ruby bindings for gdkpixbuf2."
arch=('i686' 'x86_64' 'mips64el')
url="http://ruby-gnome2.sourceforge.jp"
license=('LGPL')
depends=('ruby-glib2' 'gtk2')
makedepends=('ruby-glib2' 'ruby-pkgconfig')
source=(http://downloads.sourceforge.net/ruby-gnome2/ruby-gtk2-$pkgver.tar.gz)
md5sums=('e9711eb5bd88debda90a920deb96d7d0')

build() {
	cd "$srcdir/ruby-gtk2-$pkgver"
	ruby extconf.rb gdk_pixbuf2 --topdir=$pkgdir
	make
}
package() {
	cd "$srcdir/ruby-gtk2-$pkgver"
	mkdir -p $pkgdir/usr/lib/pkgconfig
	make DESTDIR="$pkgdir" install
}