diff options
author | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
commit | 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch) | |
tree | 03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/ruby-cairo/PKGBUILD | |
parent | e445a313723389ba9ee1fded025c567dae5b21ea (diff) |
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/ruby-cairo/PKGBUILD')
-rw-r--r-- | community/ruby-cairo/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
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 <rodseth@gmail.com> +# Contributor: Brad Fanella <bradfanella@archlinux.us> +# Contributor: Jeremy <reebydobalina@yahoo.ca> + +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: |