summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2018-07-03 10:22:17 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2018-07-03 10:22:17 -0500
commit705f05104e952944e44219ce8b17a4baea3ba6b1 (patch)
tree193ca781e6830c679c392e07de13775a16bcb272 /pcr
parent706938d4616de8457b666676a9c5153488fab3d9 (diff)
Removing pdftk
Diffstat (limited to 'pcr')
-rw-r--r--pcr/pdftk/Makefile.Parabola22
-rw-r--r--pcr/pdftk/PKGBUILD61
-rw-r--r--pcr/pdftk/pdftk3
3 files changed, 0 insertions, 86 deletions
diff --git a/pcr/pdftk/Makefile.Parabola b/pcr/pdftk/Makefile.Parabola
deleted file mode 100644
index 7a0dd09d6..000000000
--- a/pcr/pdftk/Makefile.Parabola
+++ /dev/null
@@ -1,22 +0,0 @@
-# Based on 'Makefile.Arch', part of pdftk
-# Copyright (c) 2004-2012 Sid Steward
-
-export CXX= g++-6
-export GCJ= gcj-6
-export GIJ= gij-6
-export GCJH= gcjh-6
-export GJAR= gjar-6
-export CC1PLUS= cc1plus-6
-export LIBGCJ= /usr/share/java/libgcj.jar
-export AR= ar
-export RM= rm
-export ARFLAGS= rs
-export RMFLAGS= -vf
-export CPPFLAGS= -DPATH_DELIM=0x2f -DASK_ABOUT_WARNINGS=false -DUNBLOCK_SIGNALS -fdollars-in-identifiers -fPIC
-GCC6VER=`gcc -dumpversion`
-export CXXFLAGS= -O2 -fPIC -I/usr/lib/gcc/x86_64-pc-linux-gnu/${GCC6VER}/include/c++/ -I/usr/lib/gcc/x86_64-pc-linux-gnu/${GCC6VER}/include/c++/x86_64-pc-linux-gnu
-export GCJFLAGS= -Wno-all -fsource=1.3 -O2 -fPIC
-export GCJHFLAGS= -force
-export LDLIBS= -lgcj
-
-include Makefile.Base
diff --git a/pcr/pdftk/PKGBUILD b/pcr/pdftk/PKGBUILD
deleted file mode 100644
index 5fde66018..000000000
--- a/pcr/pdftk/PKGBUILD
+++ /dev/null
@@ -1,61 +0,0 @@
-# Maintainer: Andreas Grapentin <andreas@grapentin.org>
-# Maintainer (AUR): Joey Dumont <joey.dumont@gmail.com>
-# Contributor (AUR): osc
-# Contributor (AUR): StefanHusmann
-# Contributor (AUR): larsrh <hupel@in.tum.de>
-
-pkgname=pdftk
-
-pkgver=2.02
-pkgrel=18.parabola1
-arch=(i686 x86_64)
-
-pkgdesc="Pdftk is a simple tool for doing everyday things with PDF documents"
-url="http://www.pdfhacks.com/pdftk"
-license=(GPL)
-
-depends=(gcc6-gcj gcc-gcj-ecj)
-options=('!makeflags')
-
-source=("http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/$pkgname-$pkgver-src.zip"
- "Makefile.Parabola"
- "pdftk"
-)
-sha256sums=('118f6a25fd3acaafb58824dce6f97cdc07e56050e666b90e4c4ef426ea37b8c1'
- '4451a807817b5e40755b79686bce5751c70758c83302a4214c23c4f361168620'
- '9c49337ed05759e986f24ac4173f727567c617e5f160e4c9ec7e089e120af3c3')
-
-prepare() {
- cd "$srcdir/$pkgname-$pkgver-dist/$pkgname"
-
- cp "$srcdir/Makefile.Parabola" .
-}
-
-build() {
- cd "$srcdir/$pkgname-$pkgver-dist/$pkgname"
-
- make -f Makefile.Parabola
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver-dist/$pkgname"
-
- # Install binary
- install -D -m 755 pdftk $pkgdir/usr/bin/pdftk-bin
-
- # Install licenses and adjust permissions
- cd ..
- LICENSE_DIR="$pkgdir/usr/share/licenses/$pkgname"
- mkdir -p "$LICENSE_DIR"
- cp -R license_gpl_pdftk/* "$LICENSE_DIR"
- chmod -R 0755 "$LICENSE_DIR"
- find "$LICENSE_DIR" -type f -exec chmod -x {} \;
-
- # Install manpage
- install -D -m 644 "pdftk.1" "$pkgdir/usr/share/man/man1/pdftk.1"
-
- # Install wrapper that sets the proper environment variables.
- sed -i "s/CARCH/${CARCH}/" ${srcdir}/pdftk
- sed -i "s/GCCVER/`gcc-6 -dumpversion`/" ${srcdir}/pdftk
- install -D -m 755 ${srcdir}/pdftk ${pkgdir}/usr/bin/pdftk
-}
diff --git a/pcr/pdftk/pdftk b/pcr/pdftk/pdftk
deleted file mode 100644
index 12d821bd0..000000000
--- a/pcr/pdftk/pdftk
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/bash
-export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/lib/gcc/CARCH-pc-linux-gnu/GCCVER
-pdftk-bin "$@"