diff options
author | dasbaumwolltier | 2021-03-02 12:06:03 +0100 |
---|---|---|
committer | dasbaumwolltier | 2021-03-02 12:06:03 +0100 |
commit | b8f7f2d34e156875751fb640ad998a47cac38efa (patch) | |
tree | 3f15973923cf1cc3e3d155e7e2a7f6f71c0b9e01 | |
download | aur-b8f7f2d34e156875751fb640ad998a47cac38efa.tar.gz |
First version
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 36 | ||||
-rw-r--r-- | itext-rups.desktop | 8 | ||||
-rw-r--r-- | itext-rups.sh | 2 |
4 files changed, 66 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..acf3953a646a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = itext-rups-bin + pkgdesc = iText RUPS is a tool to view PDF structure in a Swing GUI. + pkgver = 7.1.14 + pkgrel = 1 + url = https://github.com/MitMaro/git-interactive-rebase-tool + arch = any + license = GPL3 + makedepends = imagemagick + depends = java-environment + source = itext-rups.sh + source = itext-rups.desktop + source = https://github.com/itext/i7j-rups/releases/download/7.1.14/iText7-RUPS-7.1.14-only-jars.zip + source = itext-rups.svg::https://itextpdf.com/sites/default/files/2018-11/iText%205%20Product%20software%20-%20icons_57x45px_V2_iText%20RUPS.svg + sha256sums = c9b4e4c2b77b89c1e01354d059ea6abf0ea34fff0b33ad50d349ad875cb93d6a + sha256sums = c213befd1132bebcbc588a7ef52c0089682767618317bd09128668d3550218b3 + sha256sums = caad8b5f70ac5889cf9df8ec181fb1bb7921c1a233b6313ef428933f4c3f810a + sha256sums = 8cb4cb1758ff4986caf8fa111f992b07d9572105cb47ec9c98dbda5926beb5a6 + +pkgname = itext-rups-bin + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e9e12d35e176 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Gabriel Guldner <gabriel at guldner dot eu> + +pkgname=itext-rups-bin +_pkgname=itext-rups +pkgver=7.1.14 +pkgrel=1 +pkgdesc='iText RUPS is a tool to view PDF structure in a Swing GUI.' +arch=('any') +url='https://github.com/MitMaro/git-interactive-rebase-tool' +license=('GPL3') +depends=('java-environment') +makedepends=('imagemagick') +sha256sums=('c9b4e4c2b77b89c1e01354d059ea6abf0ea34fff0b33ad50d349ad875cb93d6a' + 'c213befd1132bebcbc588a7ef52c0089682767618317bd09128668d3550218b3' + 'caad8b5f70ac5889cf9df8ec181fb1bb7921c1a233b6313ef428933f4c3f810a' + '8cb4cb1758ff4986caf8fa111f992b07d9572105cb47ec9c98dbda5926beb5a6') +source=( + "itext-rups.sh" + "itext-rups.desktop" + "https://github.com/itext/i7j-rups/releases/download/${pkgver}/iText7-RUPS-${pkgver}-only-jars.zip" + "itext-rups.svg::https://itextpdf.com/sites/default/files/2018-11/iText%205%20Product%20software%20-%20icons_57x45px_V2_iText%20RUPS.svg" +) + +build() { + convert -resize 48x48 itext-rups.svg itext-rups.png +} + +package() { + cd "$srcdir" + + install -Dm755 itext-rups.sh "${pkgdir}/usr/bin/itext-rups" + install -Dm644 "itext-rups-${pkgver}.jar" "${pkgdir}/usr/share/java/itext-rups/itext-rups.jar" + install -Dm644 "itext-rups.desktop" "${pkgdir}/usr/share/applications/itext-rups.desktop" + install -Dm644 "itext-rups.png" "${pkgdir}/usr/share/icons/hicolor/48x48/apps/itext-rups.png" + install -Dm644 "itext-rups.svg" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/itext-rups.svg" +} diff --git a/itext-rups.desktop b/itext-rups.desktop new file mode 100644 index 000000000000..610998e05922 --- /dev/null +++ b/itext-rups.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Encoding=UTF-8 +Version=1.0 +Type=Application +Terminal=false +Exec=/usr/bin/itext-rups +Name=iText RUPS +Icon=itext-rups
\ No newline at end of file diff --git a/itext-rups.sh b/itext-rups.sh new file mode 100644 index 000000000000..5dbddf67bd5b --- /dev/null +++ b/itext-rups.sh @@ -0,0 +1,2 @@ +#!/bin/sh +exec /usr/bin/java -jar '/usr/share/java/itext-rups/itext-rups.jar' "$@"
\ No newline at end of file |