summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Doebler2020-01-14 10:25:45 +0100
committerHolger Doebler2020-01-14 10:25:45 +0100
commitd675f14b7958cf5cdafb2b3093ed9edaa4041d50 (patch)
treed343ce797bd812cfb3e68508b35ee0045bd4b9b1
downloadaur-d675f14b7958cf5cdafb2b3093ed9edaa4041d50.tar.gz
Initial pkg created.
-rw-r--r--.SRCINFO24
-rw-r--r--.gitignore7
-rw-r--r--PKGBUILD40
-rw-r--r--auto-install.xml16
-rw-r--r--verapdf.desktop12
5 files changed, 99 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..24df6428c52
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,24 @@
+pkgbase = verapdf
+ pkgdesc = purpose-built, open source, file-format validator covering all PDF/A parts and conformance levels
+ pkgver = 1.15.8
+ pkgrel = 1
+ url = https://verapdf.org/
+ arch = any
+ license = GPL3
+ license = MPL2
+ makedepends = unzip
+ depends = java-runtime
+ depends = bash
+ noextract = verapdf-greenfield-1.15.8-installer.zip
+ noextract = auto-install.sh
+ source = https://software.verapdf.org/develop/1.15/verapdf-greenfield-1.15.8-installer.zip
+ source = verapdf.png::https://avatars1.githubusercontent.com/u/9946925?s=280&v=4
+ source = verapdf.desktop
+ source = auto-install.xml
+ md5sums = c4f6f74a35db82391d0ee8bb85d2c457
+ md5sums = 076b23717ab675281ed53dcf84471b89
+ md5sums = 2aff225b781f8645123e8182ffeb295d
+ md5sums = 312f8dc7e9c4a6ecfd25d75aff7b22c9
+
+pkgname = verapdf
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..e5bac74edb6
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,7 @@
+
+/pkg
+/src
+/verapdf.png
+*.pkg.tar.xz
+/verapdf-*-installer.zip
+/gen_srcinfo.sh \ No newline at end of file
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..79de0af560a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,40 @@
+# Maintainer: Holger Döbler <holger.doebler@posteo.de>
+pkgname=verapdf
+pkgver=1.15.8
+pkgrel=1
+epoch=
+pkgdesc="purpose-built, open source, file-format validator covering all PDF/A parts and conformance levels"
+arch=('any')
+url="https://verapdf.org/"
+license=('GPL3' 'MPL2')
+groups=()
+depends=('java-runtime' 'bash')
+makedepends=('unzip')
+source=("https://software.verapdf.org/develop/1.15/${pkgname}-greenfield-${pkgver}-installer.zip"
+ "$pkgname.png::https://avatars1.githubusercontent.com/u/9946925?s=280&v=4"
+ "$pkgname.desktop"
+ "auto-install.xml")
+noextract=("${pkgname}-greenfield-${pkgver}-installer.zip" 'auto-install.sh')
+md5sums=('c4f6f74a35db82391d0ee8bb85d2c457'
+ '076b23717ab675281ed53dcf84471b89'
+ '2aff225b781f8645123e8182ffeb295d'
+ '312f8dc7e9c4a6ecfd25d75aff7b22c9')
+
+prepare() {
+ cd ${srcdir}
+ unzip "${pkgname}-greenfield-${pkgver}-installer.zip"
+ sed -e "s;/usr/share/verapdf;${pkgdir}/usr/share/${pkgname};" < auto-install.xml > ${pkgname}-greenfield-${pkgver}/auto-install.xml
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-greenfield-${pkgver}
+ ./${pkgname}-install auto-install.xml
+ rm ${pkgdir}/usr/share/verapdf/.installationinformation
+ rm -r ${pkgdir}/usr/share/verapdf/Uninstaller
+ mkdir -p ${pkgdir}/usr/bin
+ for f in verapdf verapdf-gui ; do
+ ln -s /usr/share/${pkgname}/$f ${pkgdir}/usr/bin/$f
+ done
+ install -Dm644 ${srcdir}/${pkgname}.png ${pkgdir}/usr/share/pixmaps/${pkgname}.png
+ install -Dm644 ${srcdir}/${pkgname}.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop
+}
diff --git a/auto-install.xml b/auto-install.xml
new file mode 100644
index 00000000000..1833cb0af71
--- /dev/null
+++ b/auto-install.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<AutomatedInstallation langpack="eng">
+ <com.izforge.izpack.panels.htmlhello.HTMLHelloPanel id="welcome"/>
+ <com.izforge.izpack.panels.target.TargetPanel id="install_dir">
+ <installpath>/usr/share/verapdf</installpath>
+ </com.izforge.izpack.panels.target.TargetPanel>
+ <com.izforge.izpack.panels.packs.PacksPanel id="sdk_pack_select">
+ <pack index="0" name="veraPDF GUI" selected="true"/>
+ <pack index="1" name="veraPDF Mac and *nix Scripts" selected="true"/>
+ <pack index="2" name="veraPDF Corpus and Validation model" selected="true"/>
+ <pack index="3" name="veraPDF Documentation" selected="true"/>
+ <pack index="4" name="veraPDF Sample Plugins" selected="false"/>
+ </com.izforge.izpack.panels.packs.PacksPanel>
+ <com.izforge.izpack.panels.install.InstallPanel id="install"/>
+ <com.izforge.izpack.panels.finish.FinishPanel id="finish"/>
+</AutomatedInstallation>
diff --git a/verapdf.desktop b/verapdf.desktop
new file mode 100644
index 00000000000..70b70976a59
--- /dev/null
+++ b/verapdf.desktop
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Name=veraPDF
+GenericName=PDF/A Conformance Checker
+Comment=purpose-built, open source, file-format validator covering all PDF/A parts and conformance levels
+MimeType=application/pdf;
+Exec=verapdf-gui %F
+Icon=/usr/share/pixmaps/verapdf.png
+Type=Application
+Terminal=false
+Categories=Development;Utility;
+StartupWMClass=org-verapdf-apps-GreenfieldGuiWrapper
+Keywords=PDF;