summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7e181c06445f085ee96129a5acde64a17718fc15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Maintainer: NekoLOvO <nekolyin@qq.com>

pkgname=com.qq.weixin.work.deepin.gitee
pkgname_src=com.qq.weixin.work.deepin
pkgver=4.1.32.6005deepin2_1
pkgrel=2
pkgdesc="Deepin Wine 版企业微信 | Deepin-wine Wecom"
arch=('i686' 'x86_64')
url="https://mirrors.sdu.edu.cn/spark-store-repository/store/chat/com.qq.weixin.work.deepin/"
license=('custom')
depends=('spark-dwine-helper')
source=(
    "${url}${pkgname_src}_${pkgver//_/-}_all.deb"
    "https://gitee.com/ai-zhe-teng/archlinux/raw/master/com.qq.weixin.work.deepin/wqy-microhei.ttc"
)
sha256sums=('ef5921d32d609db6d1024e7e8cdfa440a50efff7776cbaac7dba48a7a65d7a9f'
            'e4bca8df123ce01b104780f576ea1a58b9a5ff1662a91124b6d3180cb6c88212')
install="wecom.install"

package() {
    bsdtar -xf "${srcdir}/data.tar.gz" -C "${pkgdir}/"
    install -Dm644 "wqy-microhei.ttc" "${pkgdir}/usr/share/fonts/truetype/wqy/wqy-microhei.ttc"
    cp -rf ${pkgdir}/opt/apps/${pkgname_src}/entries/* "${pkgdir}/usr/share/"
}