1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Llewelyn Trahaearn <WoefulDerelict at GMail dot com>
3 # Contributor: Padfoot <padfoot at exemail dot com dot au>
4 # Contributor: Maxime Gauduin <alucryd at gmail dot com>
5 # Contributor: josephgbr <rafael.f.f1 at gmail dot com>
7 pkgname=lib32-libvisual
10 pkgdesc="Abstraction library that comes between applications and audio visualisation plugins (32-bit)"
12 url='https://sourceforge.net/projects/libvisual/'
14 depends=('lib32-glibc' 'lib32-sdl' "${pkgname#lib32-}")
15 makedepends=('gcc-multilib')
16 source=("https://downloads.sourceforge.net/sourceforge/${pkgname#lib32-}/${pkgname#lib32-}-${pkgver}.tar.gz")
17 sha512sums=('ff503464de9870d64fbf79bfcd4040e6e9ab1ae07d1a1f2012be217dc0e6261594ff89a75498d4e51bd55375e23908e30f02593aa330abb78d0c533f9ddc7cc0')
20 cd "${srcdir}/${pkgname#lib32-}-${pkgver}"
23 export LDFLAGS+=' -m32'
24 export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
28 cd "${srcdir}/${pkgname#lib32-}-${pkgver}"
29 ./configure --prefix='/usr' --libdir='/usr/lib32'
34 cd "${srcdir}/${pkgname#lib32-}-${pkgver}"
35 make DESTDIR="${pkgdir}" install
36 rm -rf "${pkgdir}/usr/"{bin,include,share}