2012-10-01 01:54:06 +08:00
|
|
|
#
|
|
|
|
# Lib32 Packages for Chakra, part of chakra-project.org
|
|
|
|
#
|
|
|
|
# Maintainer: kote <koteccr at gmail dot com>
|
|
|
|
# Arch linux maintainer:
|
|
|
|
# Maintainer: josephgbr <rafael.f.f1 at gmail dot com>
|
|
|
|
|
|
|
|
_pkgbasename=libvisual
|
|
|
|
pkgname=lib32-$_pkgbasename
|
|
|
|
pkgver=0.4.0
|
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="Abstraction library that comes between applications and audio visualisation plugins (32 bit)"
|
|
|
|
arch=('x86_64')
|
|
|
|
url="http://sourceforge.net/projects/libvisual/"
|
|
|
|
license=('LGPL')
|
2012-10-31 22:53:16 +08:00
|
|
|
depends=('lib32-glibc' "$_pkgbasename=$pkgver")
|
2012-10-01 01:54:06 +08:00
|
|
|
makedepends=('gcc-multilib')
|
|
|
|
options=('!libtool')
|
|
|
|
source=("http://downloads.sourceforge.net/sourceforge/libvisual/libvisual-${pkgver}.tar.gz")
|
|
|
|
md5sums=('f4e78547c79ea8a8ad111cf8b85011bb')
|
|
|
|
|
|
|
|
build(){
|
|
|
|
cd ${srcdir}/${_pkgbasename}-${pkgver}
|
|
|
|
./configure --prefix=/usr --libdir=/usr/lib32 CC='gcc -m32'
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
check(){
|
|
|
|
cd ${srcdir}/${_pkgbasename}-${pkgver}
|
|
|
|
make -k check
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd ${srcdir}/${_pkgbasename}-${pkgver}
|
|
|
|
make DESTDIR=${pkgdir} install
|
|
|
|
rm -rf ${pkgdir}/usr/{include,share}
|
|
|
|
}
|