updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / lib32-libvisual / PKGBUILD
blobb94d8ff533f71d09c553b6660332b987e9124d6f
1 # Maintainer: josephgbr <rafael.f.f1 at gmail dot com>
3 _pkgbasename=libvisual
4 pkgname=lib32-$_pkgbasename
5 pkgver=0.4.0
6 pkgrel=1
7 pkgdesc="Abstraction library that comes between applications and audio visualisation plugins (32 bit)"
8 arch=('x86_64')
9 url="http://sourceforge.net/projects/libvisual/"
10 license=('LGPL')
11 depends=('lib32-glibc' "$_pkgbasename")
12 makedepends=('gcc-multilib')
13 options=('!libtool')
14 source=("http://downloads.sourceforge.net/sourceforge/libvisual/libvisual-${pkgver}.tar.gz")
15 md5sums=('f4e78547c79ea8a8ad111cf8b85011bb')
17 build(){
18    cd ${srcdir}/${_pkgbasename}-${pkgver}
19    ./configure --prefix=/usr --libdir=/usr/lib32 CC='gcc -m32'
20    make
23 check(){
24    cd ${srcdir}/${_pkgbasename}-${pkgver}
25    make -k check
28 package() {
29    cd ${srcdir}/${_pkgbasename}-${pkgver}
30    make DESTDIR=${pkgdir} install
31    rm -rf ${pkgdir}/usr/{include,share}