[arch-commits] Commit in libreoffice-extension-writer2latex/repos/community-any (4 files)
Antonio Rojas
arojas at archlinux.org
Fri Feb 27 21:24:37 UTC 2015
Date: Friday, February 27, 2015 @ 22:24:37
Author: arojas
Revision: 128400
archrelease: copy trunk to community-any
Added:
libreoffice-extension-writer2latex/repos/community-any/PKGBUILD
(from rev 128399, libreoffice-extension-writer2latex/trunk/PKGBUILD)
libreoffice-extension-writer2latex/repos/community-any/writer2latex.sh
(from rev 128399, libreoffice-extension-writer2latex/trunk/writer2latex.sh)
Deleted:
libreoffice-extension-writer2latex/repos/community-any/PKGBUILD
libreoffice-extension-writer2latex/repos/community-any/writer2latex.sh
-----------------+
PKGBUILD | 100 ++++++++++++++++++++++++++----------------------------
writer2latex.sh | 4 +-
2 files changed, 51 insertions(+), 53 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2015-02-27 21:24:25 UTC (rev 128399)
+++ PKGBUILD 2015-02-27 21:24:37 UTC (rev 128400)
@@ -1,51 +0,0 @@
-# $Id$
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: Uwe Koloska <kolewu at koloro.de>
-# Contributor: EpocSquadron <crimsonmage a gmail>
-
-pkgname=libreoffice-extension-writer2latex
-_javaname=writer2latex
-_exts=( writer2latex writer2xhtml writer4latex )
-pkgver=1.2.1
-pkgrel=9
-pkgdesc="A java program and collection of LibreOffice extensions for converting to and working with LaTeX in LibreOffice"
-arch=('any')
-url="http://writer2latex.sourceforge.net"
-license=('LGPL')
-groups=('libreoffice-extensions')
-depends=('libreoffice' 'java-runtime-headless')
-
-_srcname=${_javaname}${pkgver//.}
-_dlpath="http://downloads.sourceforge.net/project/writer2latex/writer2latex/Writer2LaTeX%20${pkgver%.*}"
-source=("${_dlpath}/${_srcname}.zip"
- 'writer2latex.sh')
-md5sums=('643906496a5ec519cd4ee044305675bc'
- 'f2d20081ef6d5c905d54385697856642')
-
-build() {
- cd $_srcname/doc
- libreoffice --headless --convert-to pdf user-manual.odt
-}
-
-package() {
- cd $_srcname
-
- #Install the extensions
- for _ext in "${_exts[@]}"; do
- install -dm755 "$pkgdir/usr/lib/libreoffice/share/extensions/$_ext"
- bsdtar -xf "$_ext.oxt" -C "$pkgdir/usr/lib/libreoffice/share/extensions/$_ext"
- done
-
- #Install the java converter
- install -D -m644 "$_javaname.jar" "$pkgdir/usr/share/java/$_javaname/$_javaname.jar"
-
- #Install shell script to execute java program
- install -D -m755 "$srcdir/$_javaname.sh" "$pkgdir/usr/bin/$_javaname"
-
- #Install documentation
- _docpath="$pkgdir/usr/share/doc/$pkgname"
- install -D -m644 Readme.txt "${_docpath}/Readme.txt"
- install -D -m644 changelog.txt "${_docpath}/changelog.txt"
- install -D -m644 History.txt "${_docpath}/History.txt"
- install -D -m644 doc/* "${_docpath}/"
-}
Copied: libreoffice-extension-writer2latex/repos/community-any/PKGBUILD (from rev 128399, libreoffice-extension-writer2latex/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2015-02-27 21:24:37 UTC (rev 128400)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Uwe Koloska <kolewu at koloro.de>
+# Contributor: EpocSquadron <crimsonmage a gmail>
+
+pkgname=libreoffice-extension-writer2latex
+_javaname=writer2latex
+_exts=( writer2latex writer2xhtml writer4latex )
+pkgver=1.4
+pkgrel=1
+pkgdesc="A java program and collection of LibreOffice extensions for converting to and working with LaTeX in LibreOffice"
+arch=(any)
+url="http://writer2latex.sourceforge.net"
+license=(LGPL)
+groups=(libreoffice-extensions)
+depends=(libreoffice java-runtime-headless)
+_srcname=${_javaname}${pkgver//\./}
+source=("http://sourceforge.net/projects/writer2latex/files/writer2latex/Writer2LaTeX%20${pkgver}/${_srcname}.zip"
+ 'writer2latex.sh')
+md5sums=('aaa368920f1d9ae1f7fd32fe48fa234d'
+ 'f2d20081ef6d5c905d54385697856642')
+
+build() {
+ cd $_srcname/doc
+ libreoffice --headless --convert-to pdf user-manual.odt
+}
+
+package() {
+ cd $_srcname
+
+ #Install the extensions
+ for _ext in "${_exts[@]}"; do
+ install -dm755 "$pkgdir/usr/lib/libreoffice/share/extensions/$_ext"
+ bsdtar -xf "$_ext.oxt" -C "$pkgdir/usr/lib/libreoffice/share/extensions/$_ext"
+ done
+
+ #Install the java converter
+ install -D -m644 "$_javaname.jar" "$pkgdir/usr/share/java/$_javaname/$_javaname.jar"
+
+ #Install shell script to execute java program
+ install -D -m755 "$srcdir/$_javaname.sh" "$pkgdir/usr/bin/$_javaname"
+
+ #Install documentation
+ _docpath="$pkgdir/usr/share/doc/$pkgname"
+ install -D -m644 Readme.txt "${_docpath}/Readme.txt"
+ install -D -m644 changelog.txt "${_docpath}/changelog.txt"
+ install -D -m644 History.txt "${_docpath}/History.txt"
+ install -D -m644 doc/* "${_docpath}/"
+}
Deleted: writer2latex.sh
===================================================================
--- writer2latex.sh 2015-02-27 21:24:25 UTC (rev 128399)
+++ writer2latex.sh 2015-02-27 21:24:37 UTC (rev 128400)
@@ -1,2 +0,0 @@
-#!/bin/sh
-exec "$JAVA_HOME/bin/java" -jar /usr/share/java/writer2latex/writer2latex.jar "$@"
Copied: libreoffice-extension-writer2latex/repos/community-any/writer2latex.sh (from rev 128399, libreoffice-extension-writer2latex/trunk/writer2latex.sh)
===================================================================
--- writer2latex.sh (rev 0)
+++ writer2latex.sh 2015-02-27 21:24:37 UTC (rev 128400)
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec "$JAVA_HOME/bin/java" -jar /usr/share/java/writer2latex/writer2latex.jar "$@"
More information about the arch-commits
mailing list