[arch-commits] Commit in languagetool/repos/community-any (6 files)
Andrzej Giniewicz
aginiewicz at nymeria.archlinux.org
Wed Jul 3 09:30:34 UTC 2013
Date: Wednesday, July 3, 2013 @ 11:30:34
Author: aginiewicz
Revision: 93405
archrelease: copy trunk to community-any
Added:
languagetool/repos/community-any/PKGBUILD
(from rev 93404, languagetool/trunk/PKGBUILD)
languagetool/repos/community-any/languagetool.install
(from rev 93404, languagetool/trunk/languagetool.install)
languagetool/repos/community-any/languagetool.sh
(from rev 93404, languagetool/trunk/languagetool.sh)
Deleted:
languagetool/repos/community-any/PKGBUILD
languagetool/repos/community-any/languagetool.install
languagetool/repos/community-any/languagetool.sh
----------------------+
PKGBUILD | 72 +++++++++++++++++-----------------
languagetool.install | 26 ++++++------
languagetool.sh | 102 ++++++++++++++++++++++++-------------------------
3 files changed, 100 insertions(+), 100 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2013-07-03 09:30:24 UTC (rev 93404)
+++ PKGBUILD 2013-07-03 09:30:34 UTC (rev 93405)
@@ -1,36 +0,0 @@
-# $Id$
-# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
-# Contributor: Julien MISCHKOWITZ <wain at archlinux.fr>
-# Contributor: Panagiotis Papadopoulos pano_90 (AT) gmx (DOT) net
-
-pkgname=languagetool
-pkgver=2.1
-pkgrel=1
-pkgdesc="An open source language checker"
-arch=('any')
-url="http://www.languagetool.org"
-license=("LGPL")
-depends=('java-runtime-headless>=6')
-makedepends=('unzip')
-optdepends=('java-runtime: needed for the GUI version'
- 'libxtst: needed for the GUI version'
- 'gtk2: needed for the GUI version')
-install=$pkgname.install
-source=($pkgname-$pkgver.zip::"http://www.languagetool.org/download/LanguageTool-stable.zip?$pkgver" "$pkgname.sh")
-noextract=($pkgname-$pkgver.zip)
-md5sums=('b8a04d5f62803691b8e26882401753f7'
- '9d3c008ad6c0e150a29ea0be8e32a7fe')
-
-package() {
- cd "$srcdir"
- install -d "$pkgdir"/usr/{bin,share/java/$pkgname}
- unzip -q $pkgname-$pkgver.zip -d "$pkgdir"/usr/share
- cd "$pkgdir"/usr/share/
- mv LanguageTool-$pkgver $pkgname
- cd $pkgname
- mv *.jar "$pkgdir"/usr/share/java/$pkgname
- mv libs/*.jar "$pkgdir"/usr/share/java/$pkgname
- rm -rf libs
- install -m755 "$srcdir"/$pkgname.sh "$pkgdir"/usr/bin/$pkgname
-}
-
Copied: languagetool/repos/community-any/PKGBUILD (from rev 93404, languagetool/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2013-07-03 09:30:34 UTC (rev 93405)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+# Contributor: Julien MISCHKOWITZ <wain at archlinux.fr>
+# Contributor: Panagiotis Papadopoulos pano_90 (AT) gmx (DOT) net
+
+pkgname=languagetool
+pkgver=2.2
+pkgrel=1
+pkgdesc="An open source language checker"
+arch=('any')
+url="http://www.languagetool.org"
+license=("LGPL")
+depends=('java-runtime-headless>=6')
+makedepends=('unzip')
+optdepends=('java-runtime: needed for the GUI version'
+ 'libxtst: needed for the GUI version'
+ 'gtk2: needed for the GUI version')
+install=$pkgname.install
+source=($pkgname-$pkgver.zip::"http://www.languagetool.org/download/LanguageTool-stable.zip?$pkgver" "$pkgname.sh")
+noextract=($pkgname-$pkgver.zip)
+md5sums=('ccec1b907729658a9c32580989459bc0'
+ '9d3c008ad6c0e150a29ea0be8e32a7fe')
+
+package() {
+ cd "$srcdir"
+ install -d "$pkgdir"/usr/{bin,share/java/$pkgname}
+ unzip -q $pkgname-$pkgver.zip -d "$pkgdir"/usr/share
+ cd "$pkgdir"/usr/share/
+ mv LanguageTool-$pkgver $pkgname
+ cd $pkgname
+ mv *.jar "$pkgdir"/usr/share/java/$pkgname
+ mv libs/*.jar "$pkgdir"/usr/share/java/$pkgname
+ rm -rf libs
+ install -m755 "$srcdir"/$pkgname.sh "$pkgdir"/usr/bin/$pkgname
+}
+
Deleted: languagetool.install
===================================================================
--- languagetool.install 2013-07-03 09:30:24 UTC (rev 93404)
+++ languagetool.install 2013-07-03 09:30:34 UTC (rev 93405)
@@ -1,13 +0,0 @@
-post_install() {
- cat << EOF
- - LanguageTool can be run using command
- languagetool
- - To obtain help, use
- languagetool [-h|--help]
-EOF
-}
-
-post_upgrade() {
- post_install
-}
-
Copied: languagetool/repos/community-any/languagetool.install (from rev 93404, languagetool/trunk/languagetool.install)
===================================================================
--- languagetool.install (rev 0)
+++ languagetool.install 2013-07-03 09:30:34 UTC (rev 93405)
@@ -0,0 +1,13 @@
+post_install() {
+ cat << EOF
+ - LanguageTool can be run using command
+ languagetool
+ - To obtain help, use
+ languagetool [-h|--help]
+EOF
+}
+
+post_upgrade() {
+ post_install
+}
+
Deleted: languagetool.sh
===================================================================
--- languagetool.sh 2013-07-03 09:30:24 UTC (rev 93404)
+++ languagetool.sh 2013-07-03 09:30:34 UTC (rev 93405)
@@ -1,51 +0,0 @@
-#!/bin/bash
-
-file_present=false
-asked_for_help=false
-start_server=false
-
-for arg in "$@"; do
- if [[ $arg != -* ]]; then
- file_present=true
- fi
- if [[ $arg == --config* ]]; then
- start_server=true
- fi
- if [[ $arg == -h ]]; then
- asked_for_help=true
- fi
- if [[ $arg == --help ]]; then
- asked_for_help=true
- fi
-done
-
-CP=/usr/share/languagetool
-for name in /usr/share/java/languagetool/*.jar ; do
- CP=$CP:$name
-done
-
-CLI_command='org.languagetool.commandline.Main'
-GUI_command='org.languagetool.gui.Main'
-SRV_command='org.languagetool.server.HTTPSServer'
-
-if $asked_for_help; then
- echo "Command-line interface (CLI) help:"
- "$JAVA_HOME/bin/java" -cp $CP $CLI_command -h | sed "s/java -jar LanguageTool.jar/languagetool/"
- echo
- echo "Graphical user interface (GUI) help:"
- "$JAVA_HOME/bin/java" -cp $CP $GUI_command -h | sed "s/java org.languagetool.gui.Main/languagetool/"
- echo
- echo "HTTPS server help:"
- "$JAVA_HOME/bin/java" -cp $CP $SRV_command -h | sed "s/HTTPSServer/languagetool/"
-else
- if $start_server; then
- "$JAVA_HOME/bin/java" -cp $CP $SRV_command "$@"
- else
- if $file_present; then
- "$JAVA_HOME/bin/java" -cp $CP $CLI_command "$@"
- else
- "$JAVA_HOME/bin/java" -cp $CP $GUI_command "$@"
- fi
- fi
-fi
-
Copied: languagetool/repos/community-any/languagetool.sh (from rev 93404, languagetool/trunk/languagetool.sh)
===================================================================
--- languagetool.sh (rev 0)
+++ languagetool.sh 2013-07-03 09:30:34 UTC (rev 93405)
@@ -0,0 +1,51 @@
+#!/bin/bash
+
+file_present=false
+asked_for_help=false
+start_server=false
+
+for arg in "$@"; do
+ if [[ $arg != -* ]]; then
+ file_present=true
+ fi
+ if [[ $arg == --config* ]]; then
+ start_server=true
+ fi
+ if [[ $arg == -h ]]; then
+ asked_for_help=true
+ fi
+ if [[ $arg == --help ]]; then
+ asked_for_help=true
+ fi
+done
+
+CP=/usr/share/languagetool
+for name in /usr/share/java/languagetool/*.jar ; do
+ CP=$CP:$name
+done
+
+CLI_command='org.languagetool.commandline.Main'
+GUI_command='org.languagetool.gui.Main'
+SRV_command='org.languagetool.server.HTTPSServer'
+
+if $asked_for_help; then
+ echo "Command-line interface (CLI) help:"
+ "$JAVA_HOME/bin/java" -cp $CP $CLI_command -h | sed "s/java -jar LanguageTool.jar/languagetool/"
+ echo
+ echo "Graphical user interface (GUI) help:"
+ "$JAVA_HOME/bin/java" -cp $CP $GUI_command -h | sed "s/java org.languagetool.gui.Main/languagetool/"
+ echo
+ echo "HTTPS server help:"
+ "$JAVA_HOME/bin/java" -cp $CP $SRV_command -h | sed "s/HTTPSServer/languagetool/"
+else
+ if $start_server; then
+ "$JAVA_HOME/bin/java" -cp $CP $SRV_command "$@"
+ else
+ if $file_present; then
+ "$JAVA_HOME/bin/java" -cp $CP $CLI_command "$@"
+ else
+ "$JAVA_HOME/bin/java" -cp $CP $GUI_command "$@"
+ fi
+ fi
+fi
+
More information about the arch-commits
mailing list