summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e1d100a7c02641685706762c980e8dafaa4730be (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
40
41
42
43
44
# Contributer: abcfy2 <abcfy2@163.com>

pkgname='deepin-wine6-stable'
pkgver=6.0.0.58
pkgrel=1
pkgdesc="Deepin wine6 stable"
arch=('x86_64')
url="http://www.deepin.org"
license=('Proprietary')
makedepends=('tar')
source=(
    "https://com-store-packages.uniontech.com/appstore/pool/appstore/d/deepin-wine6-stable/deepin-wine6-stable_${pkgver}-${pkgrel}_amd64.deb"
)
noextract=(
    "deepin-wine6-stable_${pkgver}-${pkgrel}_amd64.deb"
)
provides=("deepin-wine6-stable-i386=$pkgver" "deepin-wine6-stable-amd64=$pkgver")
replaces=("deepin-wine6-stable-i386" "deepin-wine6-stable-amd64")
conflicts=("deepin-wine6-stable-i386" "deepin-wine6-stable-amd64")
sha256sums=('693343911bd9145b38d11defdb6c7dc522aa1d69d2246319c542e9c26acf69d9')
options=(!strip)
depends=(
        'alsa-plugins' 'glib2' 'glibc' 'libgphoto2'
        'gst-plugins-base-libs' 'lcms2' 'libldap' 'mpg123'
        'openal' 'libpcap' 'libcanberra-pulse' 'libudev0-shim'
        'libusb' 'vkd3d' 'libx11' 'libxext' 'libxml2'
        'ocl-icd' 'zlib' 'ncurses' 'fontconfig'
        'freetype2' 'gettext' 'libxcursor' 'mesa' 'libjpeg6'
        'libxrandr' 'libxi' 'glu'
        'lib32-alsa-plugins' 'lib32-glib2' 'lib32-glibc' 'libgphoto2'
        'lib32-gst-plugins-base-libs' 'lib32-lcms2' 'lib32-libldap' 'lib32-mpg123'
        'lib32-openal' 'lib32-libpcap' 'lib32-libcanberra-pulse' 'lib32-libudev0-shim'
        'lib32-libusb' 'lib32-vkd3d' 'lib32-libx11' 'lib32-libxext' 'lib32-libxml2'
        'lib32-ocl-icd' 'lib32-udis86-git' 'lib32-zlib' 'lib32-ncurses' 'lib32-fontconfig'
        'lib32-freetype2' 'lib32-gettext' 'lib32-libxcursor' 'lib32-mesa' 'lib32-libjpeg6'
        'lib32-libxrandr' 'lib32-libxi' 'lib32-glu'
    )

package_deepin-wine6-stable() {

    mkdir -p "deepin-wine6-stable_${pkgver}-${pkgrel}"
    ar -x "deepin-wine6-stable_${pkgver}-${pkgrel}_amd64.deb" data.tar.xz --output "deepin-wine6-stable_${pkgver}-${pkgrel}"
    tar -xf "deepin-wine6-stable_${pkgver}-${pkgrel}/data.tar.xz" --directory="${pkgdir}"
}