PKGBUILDs/community/ruby-rcairo/PKGBUILD
2009-10-09 21:15:33 -05:00

22 lines
641 B
Bash

# $Id: PKGBUILD 2936 2009-09-23 18:11:11Z shusmann $
# Maintainer: Andrea Scarpino <bash.lnx@gmail.com>
# Contributor: Bjorn Lindeijer <bjorn@lindeijer.nl>
# Contributor: William Rea <sillywilly@gmail.com>
pkgname=ruby-rcairo
pkgver=1.8.0
pkgrel=2
pkgdesc="Ruby bindings for the cairo graphics library"
arch=('i686' 'x86_64')
license=('GPL2')
url="http://www.cairographics.org/rcairo"
depends=('ruby' 'cairo>=1.2.0')
source=(http://cairographics.org/releases/rcairo-$pkgver.tar.gz)
md5sums=('7ea9f0b174d379c6a0374f534c2a4e85')
build() {
cd "$srcdir/rcairo-$pkgver"
ruby extconf.rb
make || return 1
make DESTDIR="$pkgdir" install
}