[arch-commits] Commit in ruby-ncurses/repos (4 files)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Mon Dec 28 22:01:45 UTC 2015
Date: Monday, December 28, 2015 @ 23:01:45
Author: bpiotrowski
Revision: 154731
archrelease: copy trunk to community-staging-x86_64, community-staging-i686
Added:
ruby-ncurses/repos/community-staging-i686/
ruby-ncurses/repos/community-staging-i686/PKGBUILD
(from rev 154730, ruby-ncurses/trunk/PKGBUILD)
ruby-ncurses/repos/community-staging-x86_64/
ruby-ncurses/repos/community-staging-x86_64/PKGBUILD
(from rev 154730, ruby-ncurses/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 41 ++++++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 41 ++++++++++++++++++++++++++++++++++++
2 files changed, 82 insertions(+)
Copied: ruby-ncurses/repos/community-staging-i686/PKGBUILD (from rev 154730, ruby-ncurses/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-12-28 22:01:45 UTC (rev 154731)
@@ -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=9
+pkgdesc='Module for interactive text console applications (ncurses)'
+arch=('x86_64' 'i686')
+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::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"
+
+ 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:
Copied: ruby-ncurses/repos/community-staging-x86_64/PKGBUILD (from rev 154730, ruby-ncurses/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-12-28 22:01:45 UTC (rev 154731)
@@ -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=9
+pkgdesc='Module for interactive text console applications (ncurses)'
+arch=('x86_64' 'i686')
+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::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"
+
+ 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