desktop/kmid2/PKGBUILD
2015-03-09 00:17:33 +00:00

26 lines
802 B
Bash

# Maintainer: Jeff Huang <s8321414[at]gmail[dot]com>
# Contributer: Phil Miller <philm[at]chakraos[dot]org>
# Contributer: Manuel Tortosa <manutortosa[at]chakraos[dot]org>
pkgname=kmid2
pkgver=2.4.0
pkgrel=2
pkgdesc="MIDI/Karaoke player for KDE4"
url="http://userbase.kde.org/KMid2"
license="GPL"
arch=('i686' 'x86_64')
depends=('kdelibs' 'alsa-lib' 'drumstick' 'phonon')
makedepends=('cmake' 'automoc4')
optdepends=('fluidsynth' 'timidity++')
conflicts=('kmid-svn')
categories=('multimedia')
source=(http://downloads.sourceforge.net/${pkgname}/${pkgver}/kmid-${pkgver}.tar.bz2)
md5sums=('3abf39fdb31862d4d695613e8835bf00')
package() {
cd ${srcdir}/kmid-$pkgver
cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
make || return 1
make DESTDIR=${pkgdir} install || return 1
}