[arch-commits] Commit in ruby-ncurses/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Wed Jan 3 07:06:08 UTC 2018
Date: Wednesday, January 3, 2018 @ 07:06:08
Author: foutrelis
Revision: 277863
archrelease: copy trunk to community-staging-x86_64
Added:
ruby-ncurses/repos/community-staging-x86_64/
ruby-ncurses/repos/community-staging-x86_64/PKGBUILD
(from rev 277862, ruby-ncurses/trunk/PKGBUILD)
----------+
PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
Copied: ruby-ncurses/repos/community-staging-x86_64/PKGBUILD (from rev 277862, ruby-ncurses/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2018-01-03 07:06:08 UTC (rev 277863)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Brad Fanella <bradfanella at archlinux.us>
+# Contributor: Jeff Mickey <j at codemac.net>
+# Contributor: Alessio 'mOLOk' Bolognino <themolok at gmail.com>
+
+pkgname=ruby-ncurses
+pkgver=1.3.1
+pkgrel=11
+pkgdesc='Module for interactive text console applications (ncurses)'
+arch=('x86_64')
+url='https://sourceforge.net/projects/ncurses-ruby.berlios/'
+license=('GPL')
+depends=('ruby' 'ncurses')
+makedepends=('addinclude')
+source=("http://downloads.sourceforge.net/ncurses-ruby.berlios/ncurses-ruby-$pkgver.tar.bz2"
+ 'str2cstr.patch::https://src.fedoraproject.org/rpms/ruby-ncurses/raw/master/f/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"
+
+ 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:
More information about the arch-commits
mailing list