[arch-commits] Commit in pdfsam/repos/community-any (6 files)

Evgeniy Alekseev arcanis at archlinux.org
Mon Aug 27 07:24:06 UTC 2018


    Date: Monday, August 27, 2018 @ 07:24:06
  Author: arcanis
Revision: 374724

archrelease: copy trunk to community-any

Added:
  pdfsam/repos/community-any/PKGBUILD
    (from rev 374723, pdfsam/trunk/PKGBUILD)
  pdfsam/repos/community-any/pdfsam
    (from rev 374723, pdfsam/trunk/pdfsam)
  pdfsam/repos/community-any/pdfsam.png
    (from rev 374723, pdfsam/trunk/pdfsam.png)
Deleted:
  pdfsam/repos/community-any/PKGBUILD
  pdfsam/repos/community-any/pdfsam
  pdfsam/repos/community-any/pdfsam.png

----------+
 PKGBUILD |   96 ++++++++++++++++++++++++++++++-------------------------------
 pdfsam   |   72 ++++++++++++++++++++++-----------------------
 2 files changed, 84 insertions(+), 84 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-27 07:23:49 UTC (rev 374723)
+++ PKGBUILD	2018-08-27 07:24:06 UTC (rev 374724)
@@ -1,48 +0,0 @@
-# $Id$
-# Maintainer: Evgeniy Alekseev <arcanis at archlinux dot org>
-# Contributor: Tom <reztho at archlinux dot us>
-
-pkgname=pdfsam
-pkgver=3.3.5
-pkgrel=1
-pkgdesc="A free open source tool to split and merge pdf documents"
-arch=('any')
-url="http://www.pdfsam.org/"
-license=('AGPL3')
-depends=('java-environment>=8' 'java-openjfx>=8' 'sh')
-makedepends=('desktop-file-utils' 'gendesk')
-source=("https://github.com/torakiki/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}-bin.zip"
-        "pdfsam"
-        "pdfsam.png")
-
-prepare() {
-  # create *.desktop file
-  gendesk -f -n \
-          --pkgname="${pkgname}" \
-          --pkgdesc="${pkgdesk}" \
-          --name="PDFsam" \
-          --categories="Office"
-}
-
-package() {
-  install -dm755 "${pkgdir}/usr/share/java/${pkgname}/modules"
-  install -Dm644 "${pkgname}-${pkgver}/pdfsam-community-${pkgver}.jar" \
-                 "${pkgdir}/usr/share/java/${pkgname}/"
-  install -Dm755 "${pkgname}-${pkgver}/bin/pdfsam.sh" \
-                 "${pkgdir}/usr/share/java/${pkgname}/bin/pdfsam.sh"
-  install -Dm755 "${pkgname}-${pkgver}/etc/logback.xml" \
-                 "${pkgdir}/usr/share/java/${pkgname}/etc/logback.xml"
-  install -Dm755 "${pkgname}-${pkgver}/resources/splash.gif" \
-                 "${pkgdir}/usr/share/java/${pkgname}/resources/splash.gif"
-
-  # exec
-  install -Dm755 "pdfsam" "${pkgdir}/usr/bin/pdfsam"
-
-  # desktop
-  install -Dm644 "pdfsam.png" "${pkgdir}/usr/share/pixmaps/pdfsam.png"
-  install -Dm644 "${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
-}
-
-sha512sums=('b7446428bbdba7975a624f8fe1d9c1750a366e9342166ecdfb54edb50d491db655257981c2aea76993f7e87c35533819e2f0ac417867dc1bcba4ce7da712642e'
-            '89b66081b761fd392550339c3ca04c9af828528355ded8aa4a8c6f94988010a5b44c3c1bfb2042c37113a1c764344ffba9ebf888a528d02ba36cbac29ad1a936'
-            '219c3b78b1246103ca6c0b4b50f23a38f994458f54ddfdd37058df33587e258bbe0c3b7f0866dc3d10e657c9425a8b3be915ef6a09a2401e937ac50315653dfb')

Copied: pdfsam/repos/community-any/PKGBUILD (from rev 374723, pdfsam/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-08-27 07:24:06 UTC (rev 374724)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Evgeniy Alekseev <arcanis at archlinux dot org>
+# Contributor: Tom <reztho at archlinux dot us>
+
+pkgname=pdfsam
+pkgver=3.3.7
+pkgrel=1
+pkgdesc="A free open source tool to split and merge pdf documents"
+arch=('any')
+url="http://www.pdfsam.org/"
+license=('AGPL3')
+depends=('java-environment>=8' 'java-openjfx>=8' 'sh')
+makedepends=('desktop-file-utils' 'gendesk')
+source=("https://github.com/torakiki/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}-bin.zip"
+        "pdfsam"
+        "pdfsam.png")
+
+prepare() {
+  # create *.desktop file
+  gendesk -f -n \
+          --pkgname="${pkgname}" \
+          --pkgdesc="${pkgdesk}" \
+          --name="PDFsam" \
+          --categories="Office"
+}
+
+package() {
+  install -dm755 "${pkgdir}/usr/share/java/${pkgname}/modules"
+  install -Dm644 "${pkgname}-${pkgver}/pdfsam-community-${pkgver}.jar" \
+                 "${pkgdir}/usr/share/java/${pkgname}/"
+  install -Dm755 "${pkgname}-${pkgver}/bin/pdfsam.sh" \
+                 "${pkgdir}/usr/share/java/${pkgname}/bin/pdfsam.sh"
+  install -Dm755 "${pkgname}-${pkgver}/etc/logback.xml" \
+                 "${pkgdir}/usr/share/java/${pkgname}/etc/logback.xml"
+  install -Dm755 "${pkgname}-${pkgver}/resources/splash.gif" \
+                 "${pkgdir}/usr/share/java/${pkgname}/resources/splash.gif"
+
+  # exec
+  install -Dm755 "pdfsam" "${pkgdir}/usr/bin/pdfsam"
+
+  # desktop
+  install -Dm644 "pdfsam.png" "${pkgdir}/usr/share/pixmaps/pdfsam.png"
+  install -Dm644 "${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
+}
+
+sha512sums=('e266eda336413b91af34239fc431a6ebeb0143d97f30ab85032241307bf063f3ada03b80ac24b70d0a527f7c65c95deb06becadf1ae2498584ef3e56077c474f'
+            '89b66081b761fd392550339c3ca04c9af828528355ded8aa4a8c6f94988010a5b44c3c1bfb2042c37113a1c764344ffba9ebf888a528d02ba36cbac29ad1a936'
+            '219c3b78b1246103ca6c0b4b50f23a38f994458f54ddfdd37058df33587e258bbe0c3b7f0866dc3d10e657c9425a8b3be915ef6a09a2401e937ac50315653dfb')

Deleted: pdfsam
===================================================================
--- pdfsam	2018-08-27 07:23:49 UTC (rev 374723)
+++ pdfsam	2018-08-27 07:24:06 UTC (rev 374724)
@@ -1,36 +0,0 @@
-#!/bin/sh
-# run application with java env >= 8
-
-PDFSAM_EXECUTABLE="/usr/share/java/pdfsam/bin/pdfsam.sh"
-PDFSAM_JAVA_VERSION="8\|9"
-
-run_pdfsam() {
-    exec "${PDFSAM_EXECUTABLE}"
-    exit 0
-}
-
-# check JAVA_HOME first
-if test -n "${JAVA_HOME}"; then
-    if echo ${JAVA_HOME} | grep -q "${PDFSAM_JAVA_VERSION}"; then
-        # system environment variable set to required, do nothing
-        echo "Using java environment from JAVA_HOME: ${JAVA_HOME}" >&2
-        run_pdfsam
-    else
-        # unset JAVA_HOME
-        echo "Unset JAVA_HOME for this run: ${JAVA_HOME}" >&2
-        unset JAVA_HOME
-    fi
-fi
-
-# check current environment
-if archlinux-java status | grep "default" | grep -q "${PDFSAM_JAVA_VERSION}"; then
-    # required java version is set to default, do nothing
-    echo "Using system enabled java environment" >&2
-    run_pdfsam
-fi
-
-# find valid environment
-PDFSAM_JAVA_ENV="`archlinux-java status | grep "${PDFSAM_JAVA_VERSION}" | awk '{ print $1 }'`"
-export PATH="/usr/lib/jvm/${PDFSAM_JAVA_ENV%/*}/jre/bin/:${PATH}"
-echo "Run with exported ${PDFSAM_JAVA_ENV}" >&2
-run_pdfsam

Copied: pdfsam/repos/community-any/pdfsam (from rev 374723, pdfsam/trunk/pdfsam)
===================================================================
--- pdfsam	                        (rev 0)
+++ pdfsam	2018-08-27 07:24:06 UTC (rev 374724)
@@ -0,0 +1,36 @@
+#!/bin/sh
+# run application with java env >= 8
+
+PDFSAM_EXECUTABLE="/usr/share/java/pdfsam/bin/pdfsam.sh"
+PDFSAM_JAVA_VERSION="8\|9"
+
+run_pdfsam() {
+    exec "${PDFSAM_EXECUTABLE}"
+    exit 0
+}
+
+# check JAVA_HOME first
+if test -n "${JAVA_HOME}"; then
+    if echo ${JAVA_HOME} | grep -q "${PDFSAM_JAVA_VERSION}"; then
+        # system environment variable set to required, do nothing
+        echo "Using java environment from JAVA_HOME: ${JAVA_HOME}" >&2
+        run_pdfsam
+    else
+        # unset JAVA_HOME
+        echo "Unset JAVA_HOME for this run: ${JAVA_HOME}" >&2
+        unset JAVA_HOME
+    fi
+fi
+
+# check current environment
+if archlinux-java status | grep "default" | grep -q "${PDFSAM_JAVA_VERSION}"; then
+    # required java version is set to default, do nothing
+    echo "Using system enabled java environment" >&2
+    run_pdfsam
+fi
+
+# find valid environment
+PDFSAM_JAVA_ENV="`archlinux-java status | grep "${PDFSAM_JAVA_VERSION}" | awk '{ print $1 }'`"
+export PATH="/usr/lib/jvm/${PDFSAM_JAVA_ENV%/*}/jre/bin/:${PATH}"
+echo "Run with exported ${PDFSAM_JAVA_ENV}" >&2
+run_pdfsam

Deleted: pdfsam.png
===================================================================
(Binary files differ)

Copied: pdfsam/repos/community-any/pdfsam.png (from rev 374723, pdfsam/trunk/pdfsam.png)
===================================================================
(Binary files differ)



More information about the arch-commits mailing list