summaryrefslogtreecommitdiff
path: root/extra/bmp
diff options
context:
space:
mode:
Diffstat (limited to 'extra/bmp')
-rw-r--r--extra/bmp/PKGBUILD18
-rw-r--r--extra/bmp/bmp.install11
2 files changed, 21 insertions, 8 deletions
diff --git a/extra/bmp/PKGBUILD b/extra/bmp/PKGBUILD
index 8c89b7db0..50bbb6257 100644
--- a/extra/bmp/PKGBUILD
+++ b/extra/bmp/PKGBUILD
@@ -1,24 +1,26 @@
-# $Id: PKGBUILD 134409 2011-08-03 18:32:37Z angvp $
+# $Id: PKGBUILD 135355 2011-08-13 06:32:50Z eric $
# Maintainer: Kevin Piche <kevin@archlinux.org>
# Contributor: Ben <contrasutra@myrealbox.com>
pkgname=bmp
pkgver=0.9.7.1
-pkgrel=6
+pkgrel=8
pkgdesc="gtk2 port of xmms"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
url="http://sourceforge.net/projects/beepmp/"
license=('GPL')
-depends=('id3lib' 'libglade' 'libsm' 'libvorbis' 'unzip')
+depends=('id3lib' 'libglade' 'libsm' 'libvorbis' 'alsa-lib' 'unzip' 'desktop-file-utils')
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)
+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}
+ cd "${srcdir}/${pkgname}-${pkgver}"
patch -p0 -i ../${pkgver}-visualization.patch
patch -p1 -i ../${pkgname}-${pkgver}-crossfade-0.3.9.patch
./configure --prefix=/usr --mandir=/usr/share/man
@@ -26,7 +28,7 @@ build() {
}
package() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make DESTDIR=${pkgdir} install
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
}
# vim: ts=2 sw=2 et ft=sh
diff --git a/extra/bmp/bmp.install b/extra/bmp/bmp.install
new file mode 100644
index 000000000..2eaa60550
--- /dev/null
+++ b/extra/bmp/bmp.install
@@ -0,0 +1,11 @@
+post_install() {
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}