summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fadd3039b522bc575067f8aae1ee249a78ad7bb4 (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: mawenbo <b1431736437@163.com>
pkgname=wine-arm
pkgver=6.17
pkgrel=1
pkgdesc="Wine is not emulator"
url="https://winehq.org"
license=(LGPL)
arch=('aarch64' 'armv7')
depends=()
makedepends=('alsa-lib' 'libpulse' 'dbus' 'fontconfig' 'freetype2' 'gnutls' 'libjpeg-turbo' 'libpng' 'libtiff' 'mesa' 'libxml2' 'libxslt' 'faudio' 'gstreamer' 'mpg123' 'sdl2' 'vkd3d' 'vulkan-headers' 'bison' 'clang' 'gcc' 'make')
checkdepends=(desktop-file-utils)
source=("https://dl.winehq.org/wine/source/6.x/wine-$pkgver.tar.xz")
sha256sums=('SKIP')

build() {
cd $srcdir/wine-$pkgver/
echo 正在安装,可能需要亿些时间
./configure --prefix=/usr --without-x --without-freetype CC=clang CXX=clang++
make -j6
}
package() {
make STRIP=true prefix="$pkgdir/usr" \
       libdir="$pkgdir/usr/lib" \                                                              
       dlldir="$pkgdir/usr/lib/wine" install
}