Browse Source

git subrepo clone https://gitea.artixlinux.org/packagesL/libreoffice-extension-writer2latex.git

subrepo:
  subdir:   "libreoffice-extension-writer2latex"
  merged:   "8c3cf69"
upstream:
  origin:   "https://gitea.artixlinux.org/packagesL/libreoffice-extension-writer2latex.git"
  branch:   "master"
  commit:   "8c3cf69"
git-subrepo:
  version:  "0.4.3"
  origin:   "???"
  commit:   "???"
master
alium 12 months ago
parent
commit
1403ee9bf8
No known key found for this signature in database GPG Key ID: 7FB6B7C6B7DAD63D
  1. 5
      libreoffice-extension-writer2latex/.artixlinux/agent.yaml
  2. 15
      libreoffice-extension-writer2latex/.gitignore
  3. 12
      libreoffice-extension-writer2latex/.gitrepo
  4. 4
      libreoffice-extension-writer2latex/Jenkinsfile
  5. 2
      libreoffice-extension-writer2latex/README.md
  6. 47
      libreoffice-extension-writer2latex/trunk/PKGBUILD
  7. 2
      libreoffice-extension-writer2latex/trunk/writer2latex.sh
  8. 47
      libreoffice-extension-writer2latex/x86_64/community/PKGBUILD
  9. 2
      libreoffice-extension-writer2latex/x86_64/community/writer2latex.sh

5
libreoffice-extension-writer2latex/.artixlinux/agent.yaml

@ -0,0 +1,5 @@
%YAML 1.2
---
label: master

15
libreoffice-extension-writer2latex/.gitignore

@ -0,0 +1,15 @@
# ---> ArchLinuxPackages
*.tar
*.tar.*
*.jar
*.exe
*.msi
*.zip
*.tgz
*.log
*.log.*
*.sig
pkg/
src/

12
libreoffice-extension-writer2latex/.gitrepo

@ -0,0 +1,12 @@
; DO NOT EDIT (unless you know what you are doing)
;
; This subdirectory is a git "subrepo", and this file is maintained by the
; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme
;
[subrepo]
remote = https://gitea.artixlinux.org/packagesL/libreoffice-extension-writer2latex.git
branch = master
commit = 8c3cf6913a6354d507ab42a12380304b4e392702
parent = 86714ec9a5fc0f6e02e2a240c6eb63b0b36a57b8
method = merge
cmdver = 0.4.3

4
libreoffice-extension-writer2latex/Jenkinsfile

@ -0,0 +1,4 @@
@Library('artix-ci') import org.artixlinux.RepoPackage
PackagePipeline(new RepoPackage(this))

2
libreoffice-extension-writer2latex/README.md

@ -0,0 +1,2 @@
# libreoffice-extension-writer2latex

47
libreoffice-extension-writer2latex/trunk/PKGBUILD

@ -0,0 +1,47 @@
# Maintainer: Antonio Rojas <arojas@archlinux.org>
# Contributor: Uwe Koloska <kolewu@koloro.de>
# Contributor: EpocSquadron <crimsonmage a gmail>
pkgname=libreoffice-extension-writer2latex
_javaname=writer2latex
_exts=(writer2latex writer2xhtml w2lconfig)
pkgver=1.6.1
pkgrel=2
pkgdesc="A java program and collection of LibreOffice extensions for converting to and working with LaTeX in LibreOffice"
arch=(any)
url="https://writer2latex.sourceforge.net"
license=(LGPL)
depends=(libreoffice java-runtime-headless)
_srcname=${_javaname}${pkgver//\./}
source=("https://sourceforge.net/projects/writer2latex/files/writer2latex/Writer2LaTeX%20${pkgver%.*}/${_srcname}.zip"
'writer2latex.sh')
sha256sums=('f7ca16126083b5d732a4ff17b68b5878fbbe1d972fc9cabba8d54dfcecdb88c9'
'75eabf5247a0ba362d6eaabf78da01e399a6422d8435d03fff8ac12c8858fdec')
build() {
cd ${_javaname}16/doc
libreoffice --headless --convert-to pdf user-manual.odt
}
package() {
cd ${_javaname}16
#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}/"
}

2
libreoffice-extension-writer2latex/trunk/writer2latex.sh

@ -0,0 +1,2 @@
#!/bin/sh
exec "$JAVA_HOME/bin/java" -jar /usr/share/java/writer2latex/writer2latex.jar "$@"

47
libreoffice-extension-writer2latex/x86_64/community/PKGBUILD

@ -0,0 +1,47 @@
# Maintainer: Antonio Rojas <arojas@archlinux.org>
# Contributor: Uwe Koloska <kolewu@koloro.de>
# Contributor: EpocSquadron <crimsonmage a gmail>
pkgname=libreoffice-extension-writer2latex
_javaname=writer2latex
_exts=(writer2latex writer2xhtml w2lconfig)
pkgver=1.6.1
pkgrel=2
pkgdesc="A java program and collection of LibreOffice extensions for converting to and working with LaTeX in LibreOffice"
arch=(any)
url="https://writer2latex.sourceforge.net"
license=(LGPL)
depends=(libreoffice java-runtime-headless)
_srcname=${_javaname}${pkgver//\./}
source=("https://sourceforge.net/projects/writer2latex/files/writer2latex/Writer2LaTeX%20${pkgver%.*}/${_srcname}.zip"
'writer2latex.sh')
sha256sums=('f7ca16126083b5d732a4ff17b68b5878fbbe1d972fc9cabba8d54dfcecdb88c9'
'75eabf5247a0ba362d6eaabf78da01e399a6422d8435d03fff8ac12c8858fdec')
build() {
cd ${_javaname}16/doc
libreoffice --headless --convert-to pdf user-manual.odt
}
package() {
cd ${_javaname}16
#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}/"
}

2
libreoffice-extension-writer2latex/x86_64/community/writer2latex.sh

@ -0,0 +1,2 @@
#!/bin/sh
exec "$JAVA_HOME/bin/java" -jar /usr/share/java/writer2latex/writer2latex.jar "$@"
Loading…
Cancel
Save