summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1ffad81e07131b1e951ce0c2a95d70ef1fcd46b8 (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
# Contributer: abcfy2 <abcfy2@163.com>
pkgname='deepin-wine5-helper'
pkgver=5.1.16
pkgrel=2
pkgdesc="Deepin Wine5 helper"
arch=('i686' 'x86_64')
url="http://www.deepin.org"
license=('Proprietary')
depends=('deepin-wine5-stable')
provides=("deepin-wine-helper=$pkgver")
conflicts=("deepin-wine-helper")
makedepends=('tar' 'p7zip')
source=(
    "https://cdn-package-store6.deepin.com/appstore/pool/appstore/c/com.youku.deepin/com.youku.deepin_8.0.7.11061deepin2_i386.deb"
)
sha256sums=('09fae5688383d9706001c72c04f09667215263446ab3f9ee15ddd80de517cb9e')

package() {
	cd ${srcdir}
	tar xpvf data.tar.xz --xattrs-include='*' --numeric-owner
	install -d ${pkgdir}/opt/deepinwine/tools
    7z x -o${pkgdir}/opt/deepinwine/tools opt/apps/com.youku.deepin/files/helper_archive.7z
	cd ${pkgdir}/opt/deepinwine/tools
	sed -i -e '/CallApp()/{n;n;d}' run_v3.sh
}