欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

Manjaro 安装 企业微信 3.1.1

程序员文章站 2024-02-19 17:45:52
...

Deepin Wine Weixin Work

  1. 下载deb包
  2. 空目录下新建 PKGBUILD 文件
pkgname=com.qq.weixin.work.deepin
pkgver=3.1.1.3001deepin0
pkgrel=1
epoch=
pkgdesc="Deepin Wine Weixin Work"
arch=('i686' 'x86_64')
url="https://work.weixin.qq.com/"
license=('Proprietary')
groups=()
depends=('deepin-wine5' 'deepin-wine-helper')
makedepends=('tar')
checkdepends=()
optdepends=()
provides=()
conflicts=('deepin-wxwork')
replaces=()
backup=()
options=()
install=
changelog=
source=("http://192.168.7.9:8989/${pkgname}/${pkgname}_${pkgver}_i386.deb")
noextract=("${pkgname}_${pkgver}_i386.deb")
md5sums=('4616162d6813dd3e0c5dca741a5aaf9b')
validpgpkeys=()

prepare() {
    ar -x ${pkgname}_${pkgver}_i386.deb
    mkdir ${pkgname}-${pkgver}
    tar -xf data.tar.xz --directory="${pkgname}-${pkgver}"
}

package() {
    cd "${pkgname}-${pkgver}"
    cp -r ./ ${pkgdir}/
    mkdir -p ${pkgdir}/usr/share/applications
    install -Dm644 ${srcdir}/${pkgname}-${pkgver}/opt/apps/${pkgname}/entries/applications/${pkgname}.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop
    cp -r ${srcdir}/${pkgname}-${pkgver}/opt/apps/${pkgname}/entries/icons/ ${pkgdir}/usr/share/
}
  1. makepkg 构建安装包
  2. sudo pacman -U tar.xz 安装包