[arch-commits] Commit in pdfsam/repos (4 files)
Evgeniy Alekseev
arcanis at archlinux.org
Sun Feb 14 15:37:04 UTC 2016
Date: Sunday, February 14, 2016 @ 16:37:04
Author: arcanis
Revision: 161537
archrelease: copy trunk to community-testing-any
Added:
pdfsam/repos/community-testing-any/
pdfsam/repos/community-testing-any/PKGBUILD
(from rev 161536, pdfsam/trunk/PKGBUILD)
pdfsam/repos/community-testing-any/pdfsam.install
(from rev 161536, pdfsam/trunk/pdfsam.install)
pdfsam/repos/community-testing-any/pdfsam.png
(from rev 161536, pdfsam/trunk/pdfsam.png)
----------------+
PKGBUILD | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
pdfsam.install | 7 +++++++
2 files changed, 55 insertions(+)
Copied: pdfsam/repos/community-testing-any/PKGBUILD (from rev 161536, pdfsam/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD (rev 0)
+++ community-testing-any/PKGBUILD 2016-02-14 15:37:04 UTC (rev 161537)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Evgeniy Alekseev <arcanis.arch at gmail dot com>
+# Contributor: Tom <reztho at archlinux dot us>
+
+pkgname=pdfsam
+pkgver=3.0.1
+_pkgver=3.0.1.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')
+makedepends=('desktop-file-utils' 'gendesk')
+source=("https://github.com/torakiki/${pkgname}/releases/download/v${_pkgver}/${pkgname}-${_pkgver}-bin.zip"
+ "pdfsam.png")
+install="${pkgname}.install"
+md5sums=('c637a48637e142ac9901e2bd069ce9d2'
+ '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-3.0.1.RELEASE.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 "${pkgdir}/usr/bin/"
+ ln -s "/usr/share/java/pdfsam/bin/pdfsam.sh" "${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"
+}
Copied: pdfsam/repos/community-testing-any/pdfsam.install (from rev 161536, pdfsam/trunk/pdfsam.install)
===================================================================
--- community-testing-any/pdfsam.install (rev 0)
+++ community-testing-any/pdfsam.install 2016-02-14 15:37:04 UTC (rev 161537)
@@ -0,0 +1,7 @@
+post_install() {
+ update-desktop-database -q
+}
+
+post_remove() {
+ post_install
+}
Copied: pdfsam/repos/community-testing-any/pdfsam.png (from rev 161536, pdfsam/trunk/pdfsam.png)
===================================================================
(Binary files differ)
More information about the arch-commits
mailing list