summaryrefslogtreecommitdiff
path: root/community/ruby-ncurses
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-06-10 00:13:24 -0700
committerroot <root@rshg054.dnsready.net>2013-06-10 00:13:24 -0700
commit3f6e6048fea3b61c4d0b2c1e7385bc76882007a4 (patch)
treea5908cd9ffcf64cb46a2a661aff666dd4c9cccbf /community/ruby-ncurses
parent7b378b1b5b346bd49a5ab1652214fb34d03de3a9 (diff)
Mon Jun 10 00:13:23 PDT 2013
Diffstat (limited to 'community/ruby-ncurses')
-rw-r--r--community/ruby-ncurses/PKGBUILD18
1 files changed, 14 insertions, 4 deletions
diff --git a/community/ruby-ncurses/PKGBUILD b/community/ruby-ncurses/PKGBUILD
index cf6ac2eda..4fa6eaac3 100644
--- a/community/ruby-ncurses/PKGBUILD
+++ b/community/ruby-ncurses/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 86883 2013-03-23 23:10:46Z td123 $
+# $Id: PKGBUILD 92582 2013-06-09 08:55:46Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Brad Fanella <bradfanella@archlinux.us>
# Contributor: Jeff Mickey <j@codemac.net>
@@ -6,14 +6,24 @@
pkgname=ruby-ncurses
pkgver=1.3.1
-pkgrel=4
+pkgrel=5
pkgdesc='Module for interactive text console applications (ncurses)'
arch=('x86_64' 'i686')
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')
+makedepends=('addinclude')
+source=("http://download.berlios.de/ncurses-ruby/ncurses-ruby-$pkgver.tar.bz2"
+ 'str2cstr.patch::http://pkgs.fedoraproject.org/cgit/ruby-ncurses.git/plain/0001-STR2CSTR-deprecated.patch')
+sha256sums=('dca8ce452e989ce1399cb683184919850f2baf79e6af9d16a7eed6a9ab776ec5'
+ '3a9fea87a0fa3eac58022e9e86e901601953939c15ebccede0ba64f4a011039d')
+
+prepare() {
+ cd "$srcdir/ncurses-ruby-$pkgver"
+
+ patch -i ../str2cstr.patch
+ addinclude ncurses_wrap.c sys/time.h
+}
build() {
cd "$srcdir/ncurses-ruby-$pkgver"