summaryrefslogtreecommitdiff
path: root/community/ruby-cairo/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/ruby-cairo/PKGBUILD')
-rw-r--r--community/ruby-cairo/PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/community/ruby-cairo/PKGBUILD b/community/ruby-cairo/PKGBUILD
new file mode 100644
index 000000000..4c07e6ee6
--- /dev/null
+++ b/community/ruby-cairo/PKGBUILD
@@ -0,0 +1,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')
+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
+}