summaryrefslogtreecommitdiff
path: root/community/ruby-cairo/PKGBUILD
blob: a082bbacf11c798e35db19caba15a6b684be2de3 (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
# Maintainer: Brad Fanella <bradfanella@archlinux.us>

pkgname=ruby-cairo
_pkgname=rcairo
pkgver=1.10.0
pkgrel=2
pkgdesc="Ruby bindings for cairo"
arch=('i686' 'x86_64' 'mips64el')
url="http://cairographics.org/rcairo/"
license=('GPL')
depends=('ruby' 'cairo>=1.2.0')
makedepends=('ruby-pkgconfig')
source=(http://cairographics.org/releases/$_pkgname-$pkgver.tar.gz)
md5sums=('4fe76f1069d0d1ccfdf7848e3e928d9f')

build() {
	cd "$srcdir/$_pkgname-$pkgver"
	ruby extconf.rb
	make
}
package() {
	cd "$srcdir/$_pkgname-$pkgver"
	make DESTDIR="$pkgdir" install
}