From 7a65a910b77ad191d69881098c47f9b0c852d92e Mon Sep 17 00:00:00 2001 From: root Date: Tue, 13 Aug 2013 01:33:19 -0700 Subject: Tue Aug 13 01:31:08 PDT 2013 --- community/ruby-cairo/PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 community/ruby-cairo/PKGBUILD (limited to 'community/ruby-cairo') diff --git a/community/ruby-cairo/PKGBUILD b/community/ruby-cairo/PKGBUILD new file mode 100644 index 000000000..803315aa2 --- /dev/null +++ b/community/ruby-cairo/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 87182 2013-03-28 13:42:37Z arodseth $ +# Maintainer: Alexander Rødseth +# Contributor: Brad Fanella +# Contributor: Jeremy + +pkgname=ruby-cairo +pkgver=1.12.2 +pkgrel=7 +pkgdesc='Ruby bindings for cairo' +arch=('x86_64' 'i686') +url='http://cairographics.org/rcairo/' +license=('GPL') +depends=('ruby' 'cairo') +makedepends=('ruby-pkgconfig') +source=("http://cairographics.org/releases/rcairo-$pkgver.tar.gz") +sha256sums=('f071d6ccb12cb6dc1fc91eb086d6150ce779930fe5af38a6987e378c809362c5') + +build() { + cd "$srcdir/rcairo-$pkgver" + + ruby extconf.rb --vendor + make +} + +package() { + cd "$srcdir/rcairo-$pkgver" + + make DESTDIR="$pkgdir" install + install -Dm644 ext/cairo/cairo.so \ + "$pkgdir/usr/lib/ruby/vendor_ruby/2.0.0/$CARCH-linux/cairo.so" +} + +# vim:set ts=2 sw=2 et: -- cgit v1.2.3-54-g00ecf