summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b4a662c660f95be88b782b5efe00fc62c60257c7 (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

# Maintainer: Asuka Minato <youremail@domain.com>
# Contributor: Asuka Minato
pkgname=com.tencent.docs.deepin
pkgver=2.3.19
pkgrel=1
pkgdesc="TencentDocs Client on Deepin Wine6"
arch=(x86_64)
url="https://docs.qq.com/"
license=('custom')
depends=(libx11  bash  gtk2  xdg-utils  glib2  pango  glibc  cairo  fontconfig  freetype2
                 at-spi2-core  gdk-pixbuf2  lib32-glibc deepin-wine6-stable
		gnome-settings-daemon
		 )
source=(https://com-store-packages.uniontech.com/appstore/pool/appstore/c/com.tencent.docs.deepin/com.tencent.docs.deepin_${pkgver}deepin1_i386.deb)
sha256sums=('b52b7b166fb383bf8c5924249cd2c30158bd884e9400ae4f2fabf3a5e3ae6d0a')


package() {
	tar -xvpf data.tar.* -C $pkgdir
	gendesk --exec "/opt/apps/$pkgname/files/run.sh" --pkgname $pkgname
	install -Dm644 $pkgname.desktop -t $pkgdir/usr/share/applications/
	echo "===> run /usr/lib/gsd-xsettings before run the program"
	echo "run /opt/apps/com.tencent.docs.deepin/files/run.sh to launch, if desktop file failed"
}