diff options
author | Leo <thinkabit.ukim@gmail.com> | 2020-04-14 04:45:27 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-04-14 15:42:34 +0000 |
commit | 1d6d15e604e891da8be27cfb770c736d7afde27c (patch) | |
tree | 3afe8a7fff06f18970f49f020edba391c7b1faf5 | |
parent | 33c04f1324a7b4008ce129b486ab465d3f3dac4f (diff) | |
download | aports-1d6d15e604e891da8be27cfb770c736d7afde27c.tar.bz2 aports-1d6d15e604e891da8be27cfb770c736d7afde27c.tar.xz |
community/pdftk: remove
-rw-r--r-- | community/pdftk/APKBUILD | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/community/pdftk/APKBUILD b/community/pdftk/APKBUILD deleted file mode 100644 index cd647357e3..0000000000 --- a/community/pdftk/APKBUILD +++ /dev/null @@ -1,66 +0,0 @@ -# Maintainer: Michael Koloberdin <koloberdin@gmail.com> -pkgname=pdftk -pkgver=2.02 -pkgrel=1 -pkgdesc="Pdftk is a simple tool for doing everyday things with PDF documents" -url="http://www.pdfhacks.com/pdftk" -arch="" -license="GPL" -depends="" -makedepends="gcc-java findutils" -subpackages="$pkgname-doc" -source="https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/${pkgname}-${pkgver}-src.zip" -builddir="$srcdir/$pkgname-$pkgver-dist/$pkgname" - -prepare() { - cd "$builddir" - default_prepare - cat > Makefile.Alpine <<EOF -# Based on https://aur.archlinux.org/cgit/aur.git/tree/Makefile.Arch?h=pdftk -# Which is in turn based on 'Makefile.Debian', part of pdftk -# Copyright (c) 2004-2012 Sid Steward - -export CXX= g++ -export GCJ= gcj -export GCJH= gcjh -export GJAR= gjar -export LIBGCJ= \`find /usr/share/java -type f -regex '/usr/share/java/libgcj-[0-9].*\\.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 -export CXXFLAGS= $CXXFLAGS -fPIC -export GCJFLAGS= -Wno-all -fsource=1.3 -O2 -fPIC -export GCJHFLAGS= -force -export LDLIBS= -lgcj - -include Makefile.Base -EOF -} - -build() { - cd "$builddir" - make -j1 -f Makefile.Alpine || return 1 -} - -package() { - cd "$builddir" - - # Install binary - install -D -m 755 pdftk $pkgdir/usr/bin/pdftk || return 1 - - # Install licenses and adjust permissions - cd .. - LICENSE_DIR="$pkgdir/usr/share/licenses/$pkgname" - mkdir -p "$LICENSE_DIR" || return 1 - cp -R license_gpl_pdftk/* "$LICENSE_DIR" || return 1 - chmod -R 0755 "$LICENSE_DIR" || return 1 - find "$LICENSE_DIR" -type f -exec chmod -x {} \; || return 1 - - # Install manpage - install -D -m 644 "pdftk.1" "$pkgdir/usr/share/man/man1/pdftk.1" \ - || return 1 -} - -sha512sums="5c73ab3b7b12cfc24a17c2737d224fdde2ae684e1712031a968b83f5b8d91c521d477e932fc47f8b4a8c0ff0ba183678aaa13a1e7b29107c5c47ded8d960ef54 pdftk-2.02-src.zip" |