Date: Thursday, October 10, 2019 @ 15:25:57
  Author: ronald
Revision: 364578

archrelease: copy trunk to testing-x86_64

Added:
  psutils/repos/testing-x86_64/
  psutils/repos/testing-x86_64/PKGBUILD
    (from rev 364577, psutils/trunk/PKGBUILD)
  psutils/repos/testing-x86_64/psutils-1.17.diff
    (from rev 364577, psutils/trunk/psutils-1.17.diff)

-------------------+
 PKGBUILD          |   37 +++++++++++++++++++++++++++++++++++++
 psutils-1.17.diff |   33 +++++++++++++++++++++++++++++++++
 2 files changed, 70 insertions(+)

Copied: psutils/repos/testing-x86_64/PKGBUILD (from rev 364577, 
psutils/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD                             (rev 0)
+++ testing-x86_64/PKGBUILD     2019-10-10 15:25:57 UTC (rev 364578)
@@ -0,0 +1,37 @@
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: eric <e...@archlinux.org>
+# Contributor: Tom Newsom <jeeps...@gmx.co.uk>
+ 
+pkgname=psutils
+pkgver=1.90
+pkgrel=1
+arch=('x86_64')
+pkgdesc="A set of postscript utilities"
+url="https://github.com/rrthomas/psutils";
+license=('custom')
+depends=('glibc' 'ghostscript')
+provides=('psutils-lprng')
+replaces=('psutils-lprng')
+options=('!makeflags')
+source=("https://github.com/rrthomas/psutils/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz";)
+sha256sums=('6685035adacc7c5dbbae8ca95abce03e4535164fd5e661d5393e00a7b8cc1fad')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  
+  export CFLAGS="$CFLAGS -DPAPER=\\\"letter\\\" -DUNIX -Wall" \
+  export CCFLAGS="$LDFLAGS"
+
+  ./configure --prefix=/usr \
+
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR=${pkgdir} install
+
+  # install license
+  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
+}

Copied: psutils/repos/testing-x86_64/psutils-1.17.diff (from rev 364577, 
psutils/trunk/psutils-1.17.diff)
===================================================================
--- testing-x86_64/psutils-1.17.diff                            (rev 0)
+++ testing-x86_64/psutils-1.17.diff    2019-10-10 15:25:57 UTC (rev 364578)
@@ -0,0 +1,33 @@
+diff -u -r --new-file psutils.orig/Makefile.unix psutils/Makefile.unix
+--- psutils.orig/Makefile.unix Tue Mar 11 14:52:59 1997
++++ psutils/Makefile.unix      Thu Jan 18 20:53:36 2001
+@@ -19,16 +19,16 @@
+ # psnup puts multiple logical pages on one physical page
+ # psresize scales and moves pages to fit on different paper sizes
+ 
+-PAPER=a4
++PAPER=letter
+ 
+ # Makefile for PSUtils under Unix
+ 
+ OS = UNIX
+ 
+-BINDIR = /usr/local/bin
++BINDIR = /usr/bin
+ SCRIPTDIR = $(BINDIR)
+-INCLUDEDIR = /usr/local/share/psutils
+-PERL = /usr/local/bin/perl
++INCLUDEDIR = /usr/share/psutils
++PERL = /usr/bin/perl
+ 
+ BINMODE = 0755
+ MANMODE = 0644
+@@ -36,7 +36,7 @@
+ INSTALL = install -c -m $(BINMODE)
+ INSTALLMAN = install -c -m $(MANMODE)
+ MANEXT = 1
+-MANDIR = /usr/local/share/man/man$(MANEXT)
++MANDIR = /usr/man/man$(MANEXT)
+ 
+ CC = gcc
+ CFLAGS = -DPAPER=\"$(PAPER)\" -DUNIX -O -Wall

Reply via email to