lib32/lib32-libmodplug/PKGBUILD
2013-09-30 09:34:44 +00:00

35 lines
888 B
Bash

# Lib32 Packages for Chakra, part of chakra-project.org
#
# maintainer: Giuseppe Calà <jiveaxe@gmail.com>
_pkgbasename=libmodplug
pkgname=lib32-${_pkgbasename}
pkgver=0.8.8.4
pkgrel=1
pkgdesc="A MOD playing library (32 bit)"
arch=('x86_64')
url="http://modplug-xmms.sourceforge.net/"
license=('custom')
depends=('lib32-gcc-libs' $_pkgbasename=$pkgver)
makedepends=('gcc-multilib')
options=('!libtool')
source=("http://downloads.sourceforge.net/modplug-xmms/${_pkgbasename}-${pkgver}.tar.gz")
md5sums=('fddc3c704c5489de2a3cf0fedfec59db')
build() {
export CC='gcc -m32'
export CXX='g++ -m32'
export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
cd "${srcdir}/${_pkgbasename}-${pkgver}"
./configure --prefix=/usr --libdir=/usr/lib32
make
}
package() {
cd "${srcdir}/${_pkgbasename}-${pkgver}"
make DESTDIR="${pkgdir}" install
rm -rf "${pkgdir}"/usr/{include,share,bin}
}