summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlos Aznarán Laos2022-03-31 09:15:49 -0500
committerCarlos Aznarán Laos2022-03-31 09:15:49 -0500
commitf29ea04b2f73dc2a041ae4320a52f80ad3d3c981 (patch)
tree4e7a65316e3e1eaca83f2884c161f53238737a55
parentc9378ce7610522909fa153a6301df04bafafdf87 (diff)
downloadaur-f29ea04b2f73dc2a041ae4320a52f80ad3d3c981.tar.gz
Fix path inside of /usr/bin/textidote
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD9
2 files changed, 10 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e648c96f8c47..465a4e1cad4a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,15 @@
pkgbase = textidote-bin
pkgdesc = Spelling, grammar and style checking on LaTeX documents
pkgver = 0.8.3
- pkgrel = 4
+ pkgrel = 5
url = https://github.com/sylvainhalle/textidote
arch = any
license = GPL
depends = java-runtime-headless>=8
optdepends = libnotify: Error messages for textidote-desktop
+ optdepends = man-db: manual pages for textidote
+ optdepends = bash-completion: for completion when using bash
+ optdepends = zsh-completions: for completion when using zsh
provides = textidote
source = https://github.com/sylvainhalle/textidote/releases/download/v0.8.3/textidote_0.8.3_all.deb
source = textidote-desktop
diff --git a/PKGBUILD b/PKGBUILD
index 62dded2d084d..dfbbab89ac92 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,15 +5,17 @@
_base=textidote
pkgname=${_base}-bin
pkgver=0.8.3
-pkgrel=4
+pkgrel=5
pkgdesc="Spelling, grammar and style checking on LaTeX documents"
arch=(any)
url="https://github.com/sylvainhalle/${_base}"
license=(GPL)
provides=(${_base})
depends=('java-runtime-headless>=8')
-optdepends=('libnotify: Error messages for textidote-desktop')
-
+optdepends=('libnotify: Error messages for textidote-desktop'
+ 'man-db: manual pages for textidote'
+ 'bash-completion: for completion when using bash'
+ 'zsh-completions: for completion when using zsh')
source=("${url}/releases/download/v${pkgver}/${_base}_${pkgver}_all.deb"
"${_base}-desktop"
"${_base}.desktop")
@@ -25,6 +27,7 @@ prepare() {
cd "${srcdir}"
bsdtar xf data.tar.xz
find -name "*~" -delete
+ sed -i 's/\/opt\/textidote\/textidote.jar/\/usr\/share\/java\/textidote.jar/' usr/local/bin/${_base}
# Remove insecure RPATH
# chrpath --delete "opt/estmob/sendanywhere/sendanywhere"
}