summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMuflone2018-05-20 19:00:23 +0200
committerMuflone2018-05-20 19:00:23 +0200
commit5fc165e25c7a7ef417ac0ad71bc4d664b57899c3 (patch)
tree5311aeabf7b928f6bb849ec95445a5f8381f5828
parent18a900ee7cec60eebe808edba6bc18aeacddb4d3 (diff)
downloadaur-5fc165e25c7a7ef417ac0ad71bc4d664b57899c3.tar.gz
Updated package freeoffice 931-1
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD28
2 files changed, 25 insertions, 23 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4bd4bf12a55..bdef04275b3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,40 +1,34 @@
# Generated by mksrcinfo v8
-# Sun Aug 13 19:31:13 UTC 2017
+# Sun May 20 16:58:31 UTC 2018
pkgbase = freeoffice
pkgdesc = A complete, reliable, lightning-fast and Microsoft Office-compatible office suite with a word processor, spreadsheet, and presentation graphics software.
- pkgver = 767
+ pkgver = 931
pkgrel = 1
url = http://www.freeoffice.com/
install = freeoffice.install
- arch = i686
arch = x86_64
license = custom
+ makedepends = chrpath
+ depends = libxrandr
+ depends = libgl
depends = xdg-utils
depends = shared-mime-info
depends = gtk-update-icon-cache
depends = desktop-file-utils
- source = http://www.softmaker.net/down/softmaker-freeoffice-767.tgz
+ source = http://www.softmaker.net/down/softmaker-freeoffice-931-amd64.tgz
source = freeoffice-textmaker
source = freeoffice-planmaker
source = freeoffice-presentations
source = freeoffice-textmaker.desktop
source = freeoffice-planmaker.desktop
source = freeoffice-presentations.desktop
- sha256sums = 53ba8df49ed41b338c52b755878e136760e53f41771d54fee856c012a023d617
+ sha256sums = 10a23e591803227fcb9692bddfd7d9c3491a716da2e94c28c4175e66e9ec2dad
sha256sums = 0437328f3fddf93e18ad3df270971802c2e0fcaf3f030588c1301767a968da69
sha256sums = c90e2575c71f03f0b627e4f6c70f437b9c40e5878bf9f553a4244b4a1f6dbd3c
sha256sums = e6bc7608e58f44b55654c5d1fc93d442a400de638e2cbc6d5a3b3a8fbceaa0e4
sha256sums = 1554213ee9058a6594e2b92e47891ad58e593a4ea7d678c755cd32e263f43da8
sha256sums = 518913a4e3edb1f38dec65b865cf0687d5a4a5a1ecaa7fb5d653d5516a4d2ff8
sha256sums = 2b305734e63c5fba12def3c6ddfa79ef711f1c857fe68250b0d03d56df2bd980
- depends_i686 = libxrender
- depends_i686 = libxrandr
- depends_i686 = libgl
- depends_x86_64 = lib32-gcc-libs
- depends_x86_64 = lib32-libxmu
- depends_x86_64 = lib32-libxrender
- depends_x86_64 = lib32-libxrandr
- depends_x86_64 = lib32-libgl
pkgname = freeoffice
diff --git a/PKGBUILD b/PKGBUILD
index f761119dfb5..9db3879367a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,24 +1,23 @@
# Maintainer: Muflone http://www.muflone.com/contacts/english/
pkgname=freeoffice
-pkgver=767
+pkgver=931
pkgrel=1
pkgdesc="A complete, reliable, lightning-fast and Microsoft Office-compatible office suite with a word processor, spreadsheet, and presentation graphics software."
-arch=('i686' 'x86_64')
+arch=('x86_64')
url="http://www.freeoffice.com/"
license=('custom')
-depends=('xdg-utils' 'shared-mime-info' 'gtk-update-icon-cache' 'desktop-file-utils')
-depends_i686=('libxrender' 'libxrandr' 'libgl')
-depends_x86_64=('lib32-gcc-libs' 'lib32-libxmu' 'lib32-libxrender' 'lib32-libxrandr' 'lib32-libgl')
+depends=('libxrandr' 'libgl' 'xdg-utils' 'shared-mime-info' 'gtk-update-icon-cache' 'desktop-file-utils')
+makedepends=('chrpath')
install="${pkgname}.install"
-source=("http://www.softmaker.net/down/softmaker-${pkgname}-${pkgver}.tgz"
+source=("http://www.softmaker.net/down/softmaker-${pkgname}-${pkgver}-amd64.tgz"
"${pkgname}-textmaker"
"${pkgname}-planmaker"
"${pkgname}-presentations"
"${pkgname}-textmaker.desktop"
"${pkgname}-planmaker.desktop"
"${pkgname}-presentations.desktop")
-sha256sums=('53ba8df49ed41b338c52b755878e136760e53f41771d54fee856c012a023d617'
+sha256sums=('10a23e591803227fcb9692bddfd7d9c3491a716da2e94c28c4175e66e9ec2dad'
'0437328f3fddf93e18ad3df270971802c2e0fcaf3f030588c1301767a968da69'
'c90e2575c71f03f0b627e4f6c70f437b9c40e5878bf9f553a4244b4a1f6dbd3c'
'e6bc7608e58f44b55654c5d1fc93d442a400de638e2cbc6d5a3b3a8fbceaa0e4'
@@ -26,10 +25,19 @@ sha256sums=('53ba8df49ed41b338c52b755878e136760e53f41771d54fee856c012a023d617'
'518913a4e3edb1f38dec65b865cf0687d5a4a5a1ecaa7fb5d653d5516a4d2ff8'
'2b305734e63c5fba12def3c6ddfa79ef711f1c857fe68250b0d03d56df2bd980')
+prepare() {
+ xz -d "freeoffice2018.tar.lzma"
+}
+
build() {
[ -d "${pkgname}" ] && rm -rf "${pkgname}"
mkdir "${pkgname}"
- tar xz -f freeoffice.tgz -C "${pkgname}"
+ tar x -f "freeoffice2018.tar" -C "${pkgname}"
+ # Remove insecure RPATH
+ cd "${pkgname}"
+ chrpath --delete "textmaker"
+ chrpath --delete "planmaker"
+ chrpath --delete "presentations"
}
package() {
@@ -38,7 +46,7 @@ package() {
cp -r "${srcdir}/${pkgname}" "${pkgdir}/usr/lib"
msg2 "Installing license file..."
install -d "${pkgdir}/usr/share/licenses/${pkgname}"
- ln -s "/usr/lib/${pkgname}/license.txt" "${pkgdir}/usr/share/licenses/${pkgname}/license.txt"
+ ln -s "/usr/lib/${pkgname}/mime/copyright" "${pkgdir}/usr/share/licenses/${pkgname}/license.txt"
msg2 "Installing program executables..."
install -d "${pkgdir}/usr/bin"
install -m 755 -t "${pkgdir}/usr/bin" "${srcdir}/${pkgname}-planmaker"
@@ -64,5 +72,5 @@ package() {
install -m 755 -t "${pkgdir}/usr/share/applications" "${pkgname}-presentations.desktop"
msg2 "Installing mime file..."
install -d "${pkgdir}/usr/share/mime/packages"
- install -m 644 -t "${pkgdir}/usr/share/mime/packages" "${srcdir}/${pkgname}/mime/softmaker-freeoffice16.xml"
+ install -m 644 -t "${pkgdir}/usr/share/mime/packages" "${srcdir}/${pkgname}/mime/softmaker-freeoffice18.xml"
}