summaryrefslogtreecommitdiff
path: root/extra/bmp/PKGBUILD
blob: 0cf018e717a1a79279a562fd8e84352be00789c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# $Id: PKGBUILD 148682 2012-02-05 11:46:44Z ibiru $
# Maintainer: Kevin Piche <kevin@archlinux.org>
# Contributor: Ben <contrasutra@myrealbox.com>

pkgname=bmp
pkgver=0.9.7.1
pkgrel=9
pkgdesc="gtk2 port of xmms"
arch=('i686' 'x86_64')
url="http://sourceforge.net/projects/beepmp/"
license=('GPL')
depends=('id3lib' 'libglade' 'libsm' 'libvorbis' 'alsa-lib' 'unzip' 'desktop-file-utils')
makedepends=('libxt')
options=('!libtool')
install=bmp.install
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 
  patch -p1 -i ../${pkgname}-${pkgver}-crossfade-0.3.9.patch 
  LIBS+="-lm" ./configure --prefix=/usr --mandir=/usr/share/man 
  make 
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install 
}
# vim: ts=2 sw=2 et ft=sh