updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / libbass-mp3-free / PKGBUILD
blob0d36218bc16fbd9e62620935e9f6cc4fc52d0af8
1 # Maintainer: Robert La Spina <rkidlaspina [at] gmail [dot] com>
2 pkgname=libbass-mp3-free
3 pkgver=2.4.8
4 pkgrel=2
5 pkgdesc="an audio library for use in software on several platforms. (non-MP3 version)"
6 arch=('i686' 'x86_64')
7 url="http://www.un4seen.com/bass.html"
8 license=('custom:basslicence')
9 depends=(alsa-lib)
10 makedepends=(unzip)
11 conflicts=(libbass)
12 source=(http://us.un4seen.com/files/bass24-linux.zip basslicence)
13 md5sums=('e286c662e5cc481a42e8259b13521d19'
14          '9ba933735ead25f00741f2e6d3abed05')
17 build() {
18         mkdir -p $pkgdir/usr/lib/
19         mkdir -p $pkgdir/usr/share/licenses/$pkgname
20         mkdir -p $pkgdir/usr/share/doc/$pkgname
23 package() {
24         cp $startdir/basslicence $pkgdir/usr/share/licenses/$pkgname
25         cp $srcdir/bass.chm $pkgdir/usr/share/doc/$pkgname
26         if test "$CARCH" == i686; then
27                 cp $srcdir/mp3-free/libbass.so $pkgdir/usr/lib/
28         fi
30         if test "$CARCH" == x86_64; then
31                 cp $srcdir/x64/mp3-free/libbass.so $pkgdir/usr/lib/
32         fi