summaryrefslogtreecommitdiff
path: root/extra/bmp/PKGBUILD
blob: 10231f63f6b7f8d9e9513a5e623b0c12495478e5 (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.2
pkgdesc="gtk2 port of xmms"
arch=(i686 x86_64 mips64el)
url="http://sourceforge.net/projects/beepmp/"
license=('GPL')
depends=('id3lib' 'libglade' 'libsm' 'libvorbis' 'alsa-lib' 'unzip' 'desktop-file-utils')
makedepends=('libxt')
options=('!libtool' '!makeflags')
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+="-lgmodule-2.0 -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