updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / wineasio / PKGBUILD
blobe457ef53badb97395f4d7cdee0ab969d1c3e4327
1 # Maintainer: Ray Rashif <schiv@archlinux.org>
2 # Contributor: Shinlun Hsieh <yngwiexx@yahoo.com.tw>
4 pkgname=wineasio
5 _lib=lib
6 _dll=wineasio.dll.so
7 pkgver=0.9.0
8 pkgrel=1
9 pkgdesc="Steinberg ASIO driver implementation for Wine"
10 arch=('i686' 'x86_64')
11 url="http://sourceforge.net/projects/wineasio/"
12 license=('LGPL')
13 depends=('wine' 'jack')
14 makedepends=('steinberg-asio')
16 if [ "$CARCH" = 'x86_64' ]; then
17   _lib=lib32
18   depends=('wine' 'lib32-jack')
19   makedepends+=('gcc-multilib' 'gcc-libs-multilib'
20                'binutils-multilib')
21   provides=('lib32-wineasio' 'wineasio64')
22   replaces=('lib32-wineasio' 'wineasio64')
23   conflicts=('lib32-wineasio' 'wineasio64')
26 install=$pkgname.install
27 source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
28 md5sums=('5090cf27699a0b5aecb72fd06aaf6d01')
30 build() {
31   cd "$srcdir/$pkgname"
33   ln -s /usr/include/steinberg-asio/asio.h
35   make
38 package() {
39   cd "$srcdir/$pkgname"
41   install -Dm755 $_dll "$pkgdir/usr/$_lib/wine/$_dll"
44 # vim:set ts=2 sw=2 et: