Package Details: yozo-office 8.0.1331.101ZH.S1-2

Git Clone URL: https://aur.archlinux.org/yozo-office.git (read-only, click to copy)
Package Base: yozo-office
Description: 永中办公 2019 | Yozo Office 2019 - An M$ Office Compatible Office Suite
Upstream URL: https://www.yozosoft.com/product-officelinux.html
Licenses: custom
Submitter: Meow
Maintainer: whiredplanck (DuckSoft)
Last Packager: whiredplanck
Votes: 10
Popularity: 0.060451
First Submitted: 2012-03-15 16:35
Last Updated: 2020-08-15 06:01

Dependencies (8)

Required by (0)

Sources (1)

Pinned Comments

DuckSoft commented on 2020-06-25 16:36

if you can't launch, try this cure:

sudo pacman -S jdk8-openjdk --noconfirm
sudo archlinux-java set java-8-openjdk
sudo ln -sf /usr/lib/jvm/java-8-openjdk/jre/lib/amd64/ /opt/Yozosoft/Yozo_Office/Jre/lib/

Latest Comments

1 2 3 4 Next › Last »

Aaron commented on 2020-07-26 02:57

it fork a proc "ping www.baidu.com" when running! 233333

TheGoliath commented on 2020-07-04 17:54

# Maintainer: WhriedPlanck
# Contributor: Felix Golatofski <contact@xdfr.de>
# Contributor: h0cheung <unknow>
# Contributor: WhiredPlanck <unknow>
# Contributor: heavysink <unknow>

pkgbase=yozo-office
pkgname=('yozo-office' 'yozo-office-fonts')
pkgver=8.0.1331.101ZH.S1
pkgrel=2
pkgdesc="永中办公 2019 | Yozo Office 2019 - An M$ Office Compatible Office Suite"
url="https://www.yozosoft.com/product-officelinux.html"
options=('!strip')
license=("custom")
arch=('x86_64')
replaces=('yozo-office-2019')
conflicts=('yozo-office-2019')
source_x86_64=("http://www.yozosoft.com/portal-download/fileManager/PRODUCT/yozo-office_${pkgver}_amd64.deb")
md5sums_x86_64=('cf22531071e607019c02a1a046f70e5c')

package_yozo-office() {
    depends=('java-runtime=8' 'libxt' 'libxmu' 'gtk2' 'libglvnd' 'vlc')
    optdepends=('ttf-ms-fonts: Arial, Times, Courier etc.'
                    'ttf-ms-win10-zh_cn: SimSun, SimHei, MSYH, Tahoma etc.'
                'yozo-office-fonts: UI Fonts')
    install=${pkgname}.install
    cd "${srcdir}"
    tar -xJf data.tar.xz -C "${pkgdir}"
    chmod 755 $pkgdir/usr/lib
    chmod 755 $pkgdir/usr/lib64
    chmod 755 $pkgdir/usr
    chmod 755 $pkgdir/usr/bin
    #Delete uesless files
    cd "${pkgdir}"
    rm -rf etc/xdg
    rm -rf etc/skel
    rm -rf opt/Yozosoft/Yozo_Office/Upgrade
    rm -rf opt/Yozosoft/Yozo_Office/uninstall
    rm -rf usr/lib64
    rm -rf usr/share/mime
    rm -rf usr/share/applications/yozo-uninstall.desktop
    rm -rf opt/Yozosoft/Yozo_Office/Templates
    #Split fonts files
    cd "${srcdir}"
    mkdir -p usr/share/fonts/truetype
    mv "${pkgdir}"/usr/share/fonts/truetype/yozo usr/share/fonts/truetype

    #Redirect Java bin
    rm -rf "${pkgdir}"/opt/Yozosoft/Yozo_Office/Jre/bin
    ln -sf /usr/lib/jvm/java-8-openjdk/jre/bin "${pkgdir}"/opt/Yozosoft/Yozo_Office/Jre/bin
    cd $pkgdir/opt/Yozosoft/Yozo_Office/Jre/lib
    for j in *; do
        if [ "$j" != "ext" ]; then
            rm -rf $j
        fi
    done
    #Redirect VLC lib
    #mkdir -p "${pkgdir}"/usr/lib/Yozo_Office/
    #mv "${pkgdir}"/opt/Yozosoft/Yozo_Office/Lib/* "${pkgdir}"/usr/lib/Yozo_Office
    rm -rf "${pkgdir}"/opt/Yozosoft/Yozo_Office/Lib/media/vlc
    ln -sf /usr/lib/vlc "${pkgdir}"/opt/Yozosoft/Yozo_Office/Lib/media/vlc

    install -Dm644 "${pkgdir}"/opt/Yozosoft/Yozo_Office/thirdpartylicensereadme.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE

}

package_yozo-office-fonts() {
    pkgdesc="永中办公界面字体 | UI Fonts provided by Yozo Office 2019"
    cd "${srcdir}"
    mkdir -p "${pkgdir}"/usr/share/fonts/truetype
    mv usr/share/fonts/truetype/yozo "${pkgdir}"/usr/share/fonts/truetype
}

package_yozo-office-templates() {
    pkgdesc="永中办公默认模板文件 | Templates files provided by Yozo Office 2019"
    provides=("yozo-office-2019-templates")
    replaces=("yozo-office-2019-templates")
    cd "${srcdir}"
    bsdtar -xpf data.tar.xz
    install -d "${pkgdir}/opt/Yozosoft/Yozo_Office"
    mv opt/Yozosoft/Yozo_Office/Templates "${pkgdir}/opt/Yozosoft/Yozo_Office"
    rm -rf etc/skel
    chmod 755 usr/bin
    chmod 755 usr/lib
    chmod 755 usr/lib64
    chmod 755 opt
    install=${pkgname}.install
}

whiredplanck commented on 2020-06-26 03:59

@DuckSoft Thanks ~!

DuckSoft commented on 2020-06-25 16:36

if you can't launch, try this cure:

sudo pacman -S jdk8-openjdk --noconfirm
sudo archlinux-java set java-8-openjdk
sudo ln -sf /usr/lib/jvm/java-8-openjdk/jre/lib/amd64/ /opt/Yozosoft/Yozo_Office/Jre/lib/

whiredplanck commented on 2020-06-25 04:31

Some people reported that they couldn't open the software after installation. If so you are, please comment here, thanks for your support ~

TheGoliath commented on 2020-06-24 13:26

No Problem :)

whiredplanck commented on 2020-06-24 12:50

@TheGoliath Fixed, thank you! Sorry for my stupid mistake... :/

TheGoliath commented on 2020-06-19 13:37

You have a typo within the PKGBUILD. you have to type replaces

whiredplanck commented on 2020-06-17 02:58

This package is still maintained, it conflicts with yozo-office-2019. I'm going to continue to maintain this package base and delete yozo-office-2019. Thanks for support.~ @DuckSoft

DuckSoft commented on 2020-05-13 03:50

Is this package still maintained?