upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / lib32-libvisual / repos / multilib-x86_64 / PKGBUILD
blob1c9ed94dddaa34a65179aacbc91475109abf7d49
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
8 pkgver=0.4.2
9 pkgrel=1
10 pkgdesc="Abstraction library that comes between applications and audio visualisation plugins (32-bit)"
11 arch=('x86_64')
12 url='https://sourceforge.net/projects/libvisual/'
13 license=('LGPL')
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')
19 prepare(){
20   cd "${srcdir}/${pkgname#lib32-}-${pkgver}"
21   export CC='gcc -m32'
22   export CXX='g++ -m32'
23   export LDFLAGS+=' -m32'
24   export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
27 build() {
28   cd "${srcdir}/${pkgname#lib32-}-${pkgver}"
29   ./configure --prefix='/usr' --libdir='/usr/lib32'
30   make
33 package() {
34   cd "${srcdir}/${pkgname#lib32-}-${pkgver}"
35   make DESTDIR="${pkgdir}" install
36   rm -rf "${pkgdir}/usr/"{bin,include,share}