[arch-commits] Commit in pdfsam/repos/community-any (6 files)
Evgeniy Alekseev
arcanis at archlinux.org
Tue Oct 4 14:33:18 UTC 2016
Date: Tuesday, October 4, 2016 @ 14:33:17
Author: arcanis
Revision: 191313
archrelease: copy trunk to community-any
Added:
pdfsam/repos/community-any/PKGBUILD
(from rev 191312, pdfsam/trunk/PKGBUILD)
pdfsam/repos/community-any/pdfsam
(from rev 191312, pdfsam/trunk/pdfsam)
pdfsam/repos/community-any/pdfsam.png
(from rev 191312, pdfsam/trunk/pdfsam.png)
Deleted:
pdfsam/repos/community-any/PKGBUILD
pdfsam/repos/community-any/pdfsam
pdfsam/repos/community-any/pdfsam.png
----------+
PKGBUILD | 102 +++++++++++++++++++++++++++++--------------------------------
pdfsam | 72 +++++++++++++++++++++----------------------
2 files changed, 86 insertions(+), 88 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-10-04 14:32:57 UTC (rev 191312)
+++ PKGBUILD 2016-10-04 14:33:17 UTC (rev 191313)
@@ -1,52 +0,0 @@
-# $Id$
-# Maintainer: Evgeniy Alekseev <arcanis at archlinux dot org>
-# Contributor: Tom <reztho at archlinux dot us>
-
-pkgname=pdfsam
-pkgver=3.2.1
-_pkgver="${pkgver}.RELEASE"
-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')
-#optdepends=('java-openjfx: required if openjdk is used')
-source=("https://github.com/torakiki/${pkgname}/releases/download/v${_pkgver}/${pkgname}-${_pkgver}-bin.zip"
- "pdfsam"
- "pdfsam.png")
-md5sums=('fa30c0ef0b9fa25407064a49c0b707c6'
- 'e98c7828d1d8b4fdb7ba76c0e0f180db'
- '033e0e52c29624ce31d86b8a8b43adb6')
-
-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"
-}
-md5sums=('5f8d83f6d8818fafe68ee4222544662d'
- 'e98c7828d1d8b4fdb7ba76c0e0f180db'
- '033e0e52c29624ce31d86b8a8b43adb6')
Copied: pdfsam/repos/community-any/PKGBUILD (from rev 191312, pdfsam/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-10-04 14:33:17 UTC (rev 191313)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Evgeniy Alekseev <arcanis at archlinux dot org>
+# Contributor: Tom <reztho at archlinux dot us>
+
+pkgname=pdfsam
+pkgver=3.2.2
+_pkgver="${pkgver}.RELEASE"
+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')
+#optdepends=('java-openjfx: required if openjdk is used')
+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"
+}
+
+md5sums=('478430fb5675e8f04d968af7b02139b8'
+ 'e98c7828d1d8b4fdb7ba76c0e0f180db'
+ '033e0e52c29624ce31d86b8a8b43adb6')
Deleted: pdfsam
===================================================================
--- pdfsam 2016-10-04 14:32:57 UTC (rev 191312)
+++ pdfsam 2016-10-04 14:33:17 UTC (rev 191313)
@@ -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"
-
-run_pdfsam() {
- exec "${PDFSAM_EXECUTABLE}"
- exit 0
-}
-
-# check JAVA_HOME first
-if test ! -z "${JAVA_HOME}"; then
- if test "${JAVA_HOME#*$PDFSAM_JAVA_VERSION}" != "${JAVA_HOME}"; 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 191312, pdfsam/trunk/pdfsam)
===================================================================
--- pdfsam (rev 0)
+++ pdfsam 2016-10-04 14:33:17 UTC (rev 191313)
@@ -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"
+
+run_pdfsam() {
+ exec "${PDFSAM_EXECUTABLE}"
+ exit 0
+}
+
+# check JAVA_HOME first
+if test ! -z "${JAVA_HOME}"; then
+ if test "${JAVA_HOME#*$PDFSAM_JAVA_VERSION}" != "${JAVA_HOME}"; 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 191312, pdfsam/trunk/pdfsam.png)
===================================================================
(Binary files differ)
More information about the arch-commits
mailing list