summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d8b504c87c026d850c959517b841e4fa7e1fd38b (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
# Author:      Joakim Hernberg <jhernberg@alchemy.lu>
# Contributor: Ray Rashif <schiv@archlinux.org>
# Contributor: Shinlun Hsieh <yngwiexx@yahoo.com.tw>
# Contributor:  redtide <redtid3@gmail.com>
# Contributor:  Matthew Bakhtiari <contact@altf2.dev>
# Maintainer: Kazel <address at domain dot tld>

pkgname=wineasio32
_pkgname_64=wineasio
pkgver=1.2.0
pkgrel=10

pkgdesc="ASIO driver implementation for Wine - 32 bit binary"
url="https://github.com/wineasio/wineasio"
arch=('x86_64')
license=('LGPL-2.1-or-later' 'GPL-2.0-or-later')

options=('!lto' '!debug')
depends=('lib32-jack' 'wineasio')
makedepends=('gcc' 'wine-staging')

install="$pkgname".install

source=(
  "https://github.com/wineasio/wineasio/releases/download/v$pkgver/$_pkgname_64-$pkgver.tar.gz"
)

sha256sums=(
  '13f20c7b3d45b474833e6c60cb58bcad7295e97dd39239bf00f85c02272cc0f4'
)

build() {
  cd "$_pkgname_64-$pkgver"
  make 32
}

package() {
  cd "$_pkgname_64-$pkgver"
  install -D -m755 build32/"$pkgname".dll.so "$pkgdir"/usr/lib32/wine/i386-unix/"$pkgname".dll.so
  install -D -m644 build32/"$pkgname".dll "$pkgdir"/usr/lib32/wine/i386-windows/"$pkgname".dll
}
# vim:set ts=2 sw=2 et: