[arch-commits] Commit in pinfo/repos (3 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 21:20:31 UTC 2020


    Date: Tuesday, July 7, 2020 @ 21:20:31
  Author: felixonmars
Revision: 660345

archrelease: copy trunk to community-staging-x86_64

Added:
  pinfo/repos/community-staging-x86_64/
  pinfo/repos/community-staging-x86_64/ChangeLog
    (from rev 660344, pinfo/trunk/ChangeLog)
  pinfo/repos/community-staging-x86_64/PKGBUILD
    (from rev 660344, pinfo/trunk/PKGBUILD)

-----------+
 ChangeLog |    3 +++
 PKGBUILD  |   33 +++++++++++++++++++++++++++++++++
 2 files changed, 36 insertions(+)

Copied: pinfo/repos/community-staging-x86_64/ChangeLog (from rev 660344, pinfo/trunk/ChangeLog)
===================================================================
--- community-staging-x86_64/ChangeLog	                        (rev 0)
+++ community-staging-x86_64/ChangeLog	2020-07-07 21:20:31 UTC (rev 660345)
@@ -0,0 +1,3 @@
+2007-06-28 tardo <tardo at nagi-fanboi.net>
+* Built for x86_64
+

Copied: pinfo/repos/community-staging-x86_64/PKGBUILD (from rev 660344, pinfo/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 21:20:31 UTC (rev 660345)
@@ -0,0 +1,33 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Jaroslaw Swierczynski <swiergot at aur.archlinux.org>
+
+pkgname=pinfo
+pkgver=0.6.10
+pkgrel=9
+pkgdesc="A hypertext info file viewer"
+arch=('x86_64')
+url="http://pinfo.sourceforge.net/"
+# https://fossies.org/linux/misc/pinfo-0.6.10.tar.gz/
+license=('GPL')
+depends=('ncurses' 'readline')
+#source=("https://alioth.debian.org/frs/download.php/file/3351/$pkgname-$pkgver.tar.bz2")
+#source=("https://arch.p5n.pp.ru/~sergej/dl/2014/pinfo-$pkgver.tar.bz2")
+source=("https://fossies.org/linux/misc/old/pinfo-$pkgver.tar.bz2")
+sha256sums=('122180a0c23d11bc9eb569a4de3ff97d3052af96e32466fa62f2daf46ff61c5d')
+
+build() {
+  cd "$srcdir"/$pkgname-$pkgver
+  CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
+  unset LDFLAGS
+  [ -x configure ] || ./autogen.sh
+  sed -i 's|nogroup|nobody|' src/pinforc.in src/utils.c
+  [ -f Makefile ] || ./configure --prefix=/usr --sysconfdir=/etc --enable-cursor \
+	--mandir=/usr/share/man --infodir=/usr/share/info
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+  rm -f "$pkgdir/usr/share/info/dir"
+}



More information about the arch-commits mailing list