diff options
Diffstat (limited to 'community/ruby-ncurses/PKGBUILD')
-rw-r--r-- | community/ruby-ncurses/PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/community/ruby-ncurses/PKGBUILD b/community/ruby-ncurses/PKGBUILD new file mode 100644 index 000000000..2d74ed30a --- /dev/null +++ b/community/ruby-ncurses/PKGBUILD @@ -0,0 +1,27 @@ +# $Id: PKGBUILD 2365 2009-09-16 18:43:17Z shusmann $ +# Contributor: Jeff Mickey <j@codemac.net> +# Contributor: Alessio 'mOLOk' Bolognino <themolok@gmail.com> +# Maintainer: Brad Fanella <bradfanella@archlinux.us> + +pkgname=ruby-ncurses +pkgver=1.3.1 +pkgrel=1 +pkgdesc="This ruby extension makes most functions, constants, and external variables of the C library ncurses accessible from the Ruby programming language." +arch=('i686' 'x86_64') +url="http://ncurses-ruby.berlios.de" +license=('GPL') +depends=('ruby') +source=(http://download.berlios.de/ncurses-ruby/ncurses-ruby-$pkgver.tar.bz2) +md5sums=('63fd3d09a51cdd745e1ed37f85621ea2') + +build() { + cd $srcdir/ncurses-ruby-$pkgver + + ruby extconf.rb + make +} + +package() { + cd $srcdir/ncurses-ruby-$pkgver + make DESTDIR=$pkgdir install +} |