updated on Mon Jan 16 00:01:41 UTC 2012
[aur-mirror.git] / upse / PKGBUILD
blobd3448213dbf71530be24679765978ff9ca9dfa81
1 # Maintainer: Christopher Rosell <chrippa@tanuki.se>
3 # aur split package hacks
4 pkgname='upse'
5 true && pkgname=(libupse upse123)
7 pkgbase='upse'
8 pkgver=1.9.1
9 pkgrel=1
10 pkgdesc='UPSE is an advanced playstation sound emulator which concentrates on sound correctness'
11 arch=('i686' 'x86_64')
12 url='http://nenolod.net/projects/upse/'
13 license=('GPL')
14 makedepends=(libao)
15 source=("http://hg.atheme.org/unofficial/upse/archive/$pkgbase-$pkgver.tar.bz2"
16         'makefile-fix.patch')
17 md5sums=('fdd65d4f2a7c98f1399d2c949366d82b'
18          'c839a257ec0c7d8a3ff1e74abe18b7cf')
21 build() {
22   msg "Starting build..."
24   cd "$srcdir/$pkgbase-$pkgbase-$pkgver"
26   patch -p1 < "$startdir/makefile-fix.patch"
27   ./autogen.sh
28   ./configure --prefix=/usr --disable-audplugin --enable-ao
29   make
32 package_libupse() {
33   provides=(libupse)
34   depends=(zlib)
36   cd "$srcdir/$pkgbase-$pkgbase-$pkgver/src/libupse"
37   make DESTDIR="$pkgdir/" install
40 package_upse123() {
41   depends=(libupse libao)
42   provides=(upse123)
44   cd "$srcdir/$pkgbase-$pkgbase-$pkgver/src/upse123"
45   make DESTDIR="$pkgdir/" install
48 # vim:set ts=2 sw=2 et: