mirror of
https://gitdl.cn/https://github.com/chakralinux/lib32.git
synced 2025-01-24 01:42:15 +08:00
850fefed49
This has been scripted, some might have been missed some PKGBUILDS might be broken, so please chock when building.
38 lines
1008 B
Bash
38 lines
1008 B
Bash
#
|
|
# 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}
|
|
}
|