[arch-commits] Commit in ruby-ncurses/repos/community-x86_64 (PKGBUILD PKGBUILD)

Alexander Rødseth arodseth at archlinux.org
Mon Mar 18 16:14:10 UTC 2019


    Date: Monday, March 18, 2019 @ 16:14:09
  Author: arodseth
Revision: 442482

archrelease: copy trunk to community-x86_64

Added:
  ruby-ncurses/repos/community-x86_64/PKGBUILD
    (from rev 442481, ruby-ncurses/trunk/PKGBUILD)
Deleted:
  ruby-ncurses/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   78 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 38 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-18 16:14:02 UTC (rev 442481)
+++ PKGBUILD	2019-03-18 16:14:09 UTC (rev 442482)
@@ -1,40 +0,0 @@
-# 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=12
-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:

Copied: ruby-ncurses/repos/community-x86_64/PKGBUILD (from rev 442481, ruby-ncurses/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-03-18 16:14:09 UTC (rev 442482)
@@ -0,0 +1,38 @@
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+# Contributor: Alexander F. Rødseth <xyproto at archlinux.org>
+# 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=13
+pkgdesc='Module for interactive text console applications (ncurses)'
+arch=(x86_64)
+url='https://sourceforge.net/projects/ncurses-ruby.berlios/'
+license=(GPL)
+depends=(ruby ncurses)
+source=("https://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 ncurses-ruby-$pkgver
+
+  patch -i ../str2cstr.patch
+  sed -i '1s,^,#include <sys/time.h>\n,' ncurses_wrap.c
+}
+
+build()  {
+  cd ncurses-ruby-$pkgver
+
+  ruby extconf.rb --vendor
+  make
+}
+
+package() {
+  make -C ncurses-ruby-$pkgver includedir=/usr/include DESTDIR="$pkgdir" install
+}
+
+# vim: ts=2 sw=2 et:


More information about the arch-commits mailing list