libreoffice-bin: dropped unmaintained port
This commit is contained in:
parent
5cdf648776
commit
e3dc430a43
File diff suppressed because it is too large
Load Diff
@ -1,5 +0,0 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF382rPe0UGLh6R3OVDPGVpA+Gpg/ersXHGxbIQK9BvzI7KcfprMDCPSoRHV00EtOYoCFbm3AwyaEXa4BM7m99sgE=
|
||||
SHA256 (Pkgfile) = 9310d5eddaeb1b20edf78a35583ea3bf41273e65928b71e2af83db4112701358
|
||||
SHA256 (.footprint) = da376c1c1f110bbea5e7e6d64da0c9fbaf0032c34e590eb5bef77e93d72acc21
|
||||
SHA256 (LibreOffice_6.4.7_Linux_x86-64_rpm.tar.gz) = 5d9b78d8d0e35fb378e05756f26bfa6506056340ab9662b930ef85f1bc553d2a
|
@ -1,59 +0,0 @@
|
||||
# Description: full featured cross platform office suite (binary)
|
||||
# URL: https://www.libreoffice.org
|
||||
# Maintainer: Thomas Penteker, tek at serverop dot de
|
||||
# Packager: Bartlomiej Palmowski, rotwang at crux dot org dot pl
|
||||
# Depends on: avahi cups dbus-glib desktop-file-utils glu gtk gtk3 krb5 shared-mime-info xorg-libxaw xorg-libxi
|
||||
|
||||
name=libreoffice-bin
|
||||
version=6.4.7
|
||||
release=1
|
||||
source=(http://download.documentfoundation.org/libreoffice/stable/$version/rpm/x86_64/LibreOffice_${version}_Linux_x86-64_rpm.tar.gz)
|
||||
|
||||
|
||||
build() {
|
||||
local workd="$SRC/tmp_work"
|
||||
mkdir $workd
|
||||
|
||||
cd LibreOffice_${version}*/RPMS
|
||||
for rpm in *.rpm; do
|
||||
bsdtar -p -o -C $workd -xf $rpm
|
||||
done
|
||||
|
||||
bsdtar -p -o -C $workd -xf \
|
||||
libreoffice${version%.*}-freedesktop-menus-${version%.*}*.noarch.rpm
|
||||
|
||||
cd $workd
|
||||
mkdir -p $PKG/usr/lib/libreoffice
|
||||
mv opt/libreoffice*/* $PKG/usr/lib/libreoffice
|
||||
|
||||
cd $PKG/usr/lib/libreoffice
|
||||
ln -sf basis${version%.*} basis-link
|
||||
|
||||
mkdir -p $PKG/usr/bin
|
||||
local programs=(sbase scalc sdraw simpress smath soffice swriter)
|
||||
for program in ${programs[@]}; do
|
||||
ln -sf /usr/lib/libreoffice/program/$program $PKG/usr/bin/$program
|
||||
done
|
||||
|
||||
mkdir -p $PKG/usr/share/applications
|
||||
cd $PKG/usr/lib/libreoffice/share/xdg/
|
||||
|
||||
for desktop in *.desktop; do
|
||||
sed -i '/^Exec=/s/libreoffice[^ ]*/soffice/' $desktop
|
||||
ln -sf /usr/lib/libreoffice/share/xdg/$desktop $PKG/usr/share/applications/$desktop
|
||||
done
|
||||
|
||||
mv $workd/usr/share/{mime,icons} $PKG/usr/share
|
||||
|
||||
find $PKG \(\
|
||||
-iname '*readme*' -o \
|
||||
-iname '*changelog*' -o \
|
||||
-name '*TODO*' -o \
|
||||
-iname '*news*' -o \
|
||||
-iname '*license*' -o \
|
||||
-iname '*credits*' \
|
||||
\) -exec rm -rf '{}' \; || true
|
||||
|
||||
# prevent crashing because of absent wayland bindings
|
||||
sed -i '$i export SAL_USE_VCLPLUGIN=gen' $PKG/usr/lib/libreoffice/program/soffice
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
update-mime-database /usr/share/mime || true
|
||||
update-desktop-database || true
|
||||
gtk-update-icon-cache /usr/share/icons/hicolor/
|
Loading…
x
Reference in New Issue
Block a user