summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 94afcab3bbb6f80036113ebbb4186e06f06a95ff (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Maintainer: SKywol <skywol@qq.com>
# Maintainer: wszqkzqk <wszqkzqk@gmail.com>
pkgname=deepin.com.qq.office
_pkgver=2.0.0deepin4
pkgver=2.0.0_4
pkgrel=3
epoch=
pkgdesc="Deepin Wine TIM 2.0.0"
arch=('i686' 'x86_64')
url="http://office.qq.com/"
license=('Proprietary')
groups=()
depends=('deepin-wine5' 'wqy-microhei' 'p7zip' 'deepin-wine-helper-modify')
makedepends=('tar')
checkdepends=()
optdepends=()
provides=()
conflicts=('deepin-wine-tim')
replaces=()
backup=()
options=()
install=.INSTALL
changelog=
source=("https://packages.deepin.com/deepin/pool/non-free/d/${pkgname}/${pkgname}_${_pkgver}_i386.deb")
noextract=("${pkgname}_${_pkgver}_i386.deb")
md5sums=('d5c37cb4f960e13111ce24dbc0dd2d58')
validpgpkeys=()

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

package() {
	cd "${pkgname}-${pkgver}"
	sed -i "9aexport LC_CTYPE='en_US.UTF-8'" opt/deepinwine/apps/Deepin-TIM/run.sh
	cp -r ./ ${pkgdir}/
}