lib32/lib32-libvisual/PKGBUILD

38 lines
1008 B
Bash
Raw Normal View History

#
# 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')
depends=('lib32-glibc' "$_pkgbasename=$pkgver")
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}
}