summaryrefslogtreecommitdiff
path: root/community/ruby-ncurses/PKGBUILD
blob: 3888c251cc740e966f27225f42a9710315b5e429 (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
28
29
30
31
# $Id: PKGBUILD 86883 2013-03-23 23:10:46Z td123 $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Brad Fanella <bradfanella@archlinux.us>
# Contributor: Jeff Mickey <j@codemac.net>
# Contributor: Alessio 'mOLOk' Bolognino <themolok@gmail.com>

pkgname=ruby-ncurses
pkgver=1.3.1
pkgrel=4
pkgdesc='Module for interactive text console applications (ncurses)'
arch=('x86_64' 'i686' 'mips64el')
url='http://ncurses-ruby.berlios.de/'
license=('GPL')
depends=('ruby' 'ncurses')
source=("http://download.berlios.de/ncurses-ruby/ncurses-ruby-$pkgver.tar.bz2")
sha256sums=('dca8ce452e989ce1399cb683184919850f2baf79e6af9d16a7eed6a9ab776ec5')

build()  {
  cd "$srcdir/ncurses-ruby-$pkgver"

  ruby extconf.rb --vendor
  make
}

package() {
  cd "$srcdir/ncurses-ruby-$pkgver"

  make includedir="/usr/include" DESTDIR="$pkgdir" install
}

# vim:set ts=2 sw=2 et: