PKGBUILDs/extra/bmp/PKGBUILD
2009-10-18 22:17:58 -05:00

28 lines
941 B
Bash

# Maintainer: Kevin Piche <kevin@archlinux.org>
# Contributor: Ben <contrasutra@myrealbox.com>
pkgname=bmp
pkgver=0.9.7.1
pkgrel=5
pkgdesc="gtk2 port of xmms"
arch=('arm')
url="http://sourceforge.net/projects/beepmp/"
license=('GPL')
depends=('esound' 'id3lib' 'libglade' 'libsm' 'libvorbis' 'unzip')
makedepends=('libxt')
options=('!libtool')
source=(http://downloads.sourceforge.net/sourceforge/beepmp/${pkgname}-${pkgver}.tar.gz
${pkgver}-visualization.patch
bmp-${pkgver}-crossfade-0.3.9.patch)
md5sums=('c25d5a8d49cc5851d13d525a20023c4c'
'fa1bdf5a8d03e8539a6bed5caa471176'
'42ad4109ddb66024d4c6d1f3e572ab86')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
patch -p0 -i ../${pkgver}-visualization.patch || return 1
patch -p1 -i ../${pkgname}-${pkgver}-crossfade-0.3.9.patch || return 1
./configure --prefix=/usr --mandir=/usr/share/man || return 1
make || return 1
make DESTDIR=${pkgdir} install || return 1
}