summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorjdarch2016-01-17 16:08:19 +0100
committerjdarch2016-01-17 16:08:19 +0100
commitad0508c160ae9e2c3f3a2d59245d37f6a03f10d2 (patch)
treee769c546e4d0cbb42f994c46e1171086ff9deb3b
parent850c8881553bceb934336286212b1cbb374113e1 (diff)
downloadaur-ad0508c160ae9e2c3f3a2d59245d37f6a03f10d2.tar.gz
Update to correct the Langenscheidt dictionary file name
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD12
2 files changed, 13 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c54b1f3ca412..416ab63ee87a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Thu Dec 10 20:07:06 UTC 2015
+# Sun Jan 17 15:07:05 UTC 2016
pkgbase = softmaker-office-2016-bin
pkgdesc = Softmaker Office 2016, proprietary office suite; word processing, spreadsheets, presentations
pkgver = 2016.749
- pkgrel = 2
+ pkgrel = 3
url = http://softmaker.com
install = smoffice2016.install
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 44c38e26b68a..f750a98362c8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=softmaker-office-2016-bin
pkgver=2016.749
-pkgrel=2
+pkgrel=3
pkgdesc="Softmaker Office 2016, proprietary office suite; word processing, spreadsheets, presentations"
url="http://softmaker.com"
arch=('x86_64' 'i686')
@@ -37,6 +37,13 @@ sha512sums=('0d97c2dabde423d533b087dc3f3cbabb62ffed9a46108218177c8a1dca11443007d
'd347cb1bd87273b87e283a64ea7d78265dbb524f18f783840cb7d560e402acfc4cba1e6d7fb5fae83314c70fea1d47334f9615592021513fd6e3b8ce7550cdeb'
'94224fb084136441c1855e86247f6882017eab4648928e1bbbc4691b1b50f41b29a0945ab4056c774d1fc0dfb0edcddb6fffea758023de71877f62b1c545289c')
+_langvar=`echo $LANG|cut -f 1 -d"_" 2>/dev/null`
+case "$LNG" in
+de) ;;
+es) ;;
+*) LNG="en" ;;
+esac
+
package() {
mkdir -p "${pkgdir}/opt/smoffice2016"
tar -xzf "${srcdir}/office.tgz" -C "${pkgdir}/opt/smoffice2016"
@@ -45,6 +52,9 @@ package() {
rm -rf "${pkgdir}/opt/smoffice2016/usr"
ln -s "libdpf.so.2.8.0" "${pkgdir}/opt/smoffice2016/dpf/libdpf.so.2"
+ mv "${pkgdir}/opt/smoffice2016/spell/langenscheidt_${_langvar}.thn" "${pkgdir}/opt/smoffice2016/spell/langenscheidt.thn"
+ rm "${pkgdir}/opt/smoffice2016/spell/langenscheidt_"*".thn"
+
install -d "${pkgdir}/usr/bin"
install -m 755 -t "${pkgdir}/usr/bin" "${srcdir}/planmaker16"
install -m 755 -t "${pkgdir}/usr/bin" "${srcdir}/presentations16"