[pdfsam] 12/36: install shell scripts
Markus Koschany
apo at moszumanska.debian.org
Tue Feb 21 04:20:15 UTC 2017
This is an automated email from the git hooks/post-receive script.
apo pushed a commit to branch master
in repository pdfsam.
commit 732072ec70c6c048310c0aa59d093e99d45e3f25
Author: Torsten Werner <twerner at debian.org>
Date: Fri Aug 29 19:50:35 2008 +0000
install shell scripts
---
debian/patches/run.diff | 40 ++++++++++++++++++++++++++++++++++++++++
debian/patches/series | 1 +
debian/rules | 4 ++++
3 files changed, 45 insertions(+)
diff --git a/debian/patches/run.diff b/debian/patches/run.diff
new file mode 100644
index 0000000..1af682b
--- /dev/null
+++ b/debian/patches/run.diff
@@ -0,0 +1,40 @@
+Index: pdfsam-1.0.1/pdfsam-maine-br1/bin/run-console.sh
+===================================================================
+--- pdfsam-1.0.1.orig/pdfsam-maine-br1/bin/run-console.sh 2008-08-29 21:46:53.000000000 +0200
++++ pdfsam-1.0.1/pdfsam-maine-br1/bin/run-console.sh 2008-08-29 21:47:01.000000000 +0200
+@@ -15,7 +15,7 @@
+ }
+
+
+-DIRNAME="../lib/"
++DIRNAME="/usr/share/pdfsam/lib/"
+ CONSOLEJAR="$DIRNAME/pdfsam-console-1.1.5e.jar"
+
+ # Setup the classpath
+@@ -53,4 +53,4 @@
+ # Execute the JVM in the foreground
+ "$JAVA" $JAVA_OPTS \
+ -classpath "$CONSOLE_CLASSPATH" \
+- org.pdfsam.console.ConsoleClient "$@"
+\ No newline at end of file
++ org.pdfsam.console.ConsoleClient "$@"
+Index: pdfsam-1.0.1/pdfsam-maine-br1/bin/run.sh
+===================================================================
+--- pdfsam-1.0.1.orig/pdfsam-maine-br1/bin/run.sh 2008-08-29 21:43:48.000000000 +0200
++++ pdfsam-1.0.1/pdfsam-maine-br1/bin/run.sh 2008-08-29 21:44:01.000000000 +0200
+@@ -15,7 +15,7 @@
+ }
+
+
+-DIRNAME="../"
++DIRNAME="/usr/share/pdfsam/"
+ PDFSAMJAR="$DIRNAME/pdfsam-1.0.1.jar"
+
+ # Setup the classpath
+@@ -53,4 +53,4 @@
+ # Execute the JVM in the foreground
+ "$JAVA" $JAVA_OPTS \
+ -classpath "$PDFSAM_CLASSPATH" \
+- org.pdfsam.guiclient.GuiClient "$@"
+\ No newline at end of file
++ org.pdfsam.guiclient.GuiClient "$@"
diff --git a/debian/patches/series b/debian/patches/series
index c614a3c..21c603c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
build.diff
+run.diff
diff --git a/debian/rules b/debian/rules
index 065454d..9527863 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,6 +14,10 @@ install/pdfsam::
for JAR in $(DEB_JARS); do \
dh_link /usr/share/java/$$JAR.jar /usr/share/pdfsam/lib/$$JAR.jar; \
done
+ install -D pdfsam-maine-br1/bin/run.sh \
+ $(DEB_DESTDIR)/usr/bin/pdfsam
+ install -D pdfsam-maine-br1/bin/run-console.sh \
+ $(DEB_DESTDIR)/usr/bin/pdfsam-console
get-orig-source:
-uscan --upstream-version 0 --rename
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/pdfsam.git
More information about the pkg-java-commits
mailing list