diff options
author | Tony Lambiris | 2019-06-13 16:10:27 -0400 |
---|---|---|
committer | Tony Lambiris | 2019-06-13 16:10:27 -0400 |
commit | 93a523e620bfdbeb3cc9cd3374bce019f28e821a (patch) | |
tree | 7d80cc88b9e39b03f12754ced8fcd9d6650a4e21 /PKGBUILD | |
parent | 36da5640b84e5de54a605499272a499da46ec987 (diff) | |
download | aur-93a523e620bfdbeb3cc9cd3374bce019f28e821a.tar.gz |
Add unicode.h to fix compilation
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 18 |
1 files changed, 11 insertions, 7 deletions
@@ -7,17 +7,17 @@ pkgdesc='WineASIO provides an ASIO to JACK driver for WINE.' arch=('i686' 'x86_64') url='https://github.com/jhernberg/wineasio' license=(LGPL) - depends=('wine' 'jack') depends_x86_64+=('lib32-jack') makedepends=('ed' 'steinberg-asio-sdk') -makedepends_x86_64+=('gcc-multilib') +makedepends_x86_64+=('gcc-multilib' 'mingw-w64-headers') conflicts=(wineasio) provides=(wineasio) - install=wineasio.install -source=("${pkgname}::git+https://github.com/jhernberg/wineasio") -sha256sums=('SKIP') +source=("${pkgname}::git+https://github.com/jhernberg/wineasio" + "unicode.h") +sha256sums=('SKIP' + 'a552e487cba95883a15db612ae646df5d502a39afd7c4805b4ca0b549cc2f522') pkgver() { cd "$srcdir/$pkgname" @@ -29,6 +29,10 @@ prepare() { cd "$srcdir/$pkgname" cp /usr/include/steinberg-asio/asio.h asio.h + + mkdir -p wine + cp "${srcdir}/unicode.h" wine/unicode.h + if [[ "$CARCH" == x86_64 ]]; then cp asio.h asio.h.i686 ./prepare_64bit_asio @@ -44,19 +48,19 @@ build() { cp asio.h.i686 asio.h make clean fi + make } package() { cd "$srcdir/$pkgname" - #make install PREFIX="$pkgdir/usr" - if [[ "$CARCH" == x86_64 ]]; then install -D -m755 wineasio.dll.so.x86_64 "$pkgdir"/usr/lib/wine/wineasio.dll.so install -D -m755 wineasio.dll.so "$pkgdir"/usr/lib32/wine/wineasio.dll.so else install -D -m755 wineasio.dll.so "$pkgdir"/usr/lib/wine/wineasio.dll.so fi + install -D -m644 README "$pkgdir"/usr/share/"$pkgname"/README } |