summaryrefslogtreecommitdiff
path: root/community/ruby-ncurses/PKGBUILD
blob: 2d74ed30ad052aa0a4015e19ef3637be2021e0c4 (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
25
26
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
}