desktop/musique/PKGBUILD

37 lines
1.2 KiB
Bash

#
# Apps Packages for Chakra, part of chakra-project.org
# Maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
# Contributor: arriagga <ramon.arriaga@gmail.com>
# Contributor: dieghen89 <dieghen89@gmail.com>
pkgname=musique
pkgver=1.1
pkgrel=1
pkgdesc="Just another music player, only better"
arch=('i686' 'x86_64')
url="http://flavio.tordini.org/musique"
license=('GPL3')
depends=('qt>=4.5' 'desktop-file-utils' 'hicolor-icon-theme' 'phonon' 'taglib' 'sqlite3')
optdepends=('gstreamer0.10-plugins: for gstreamer backend'
'phonon-gstreamer: gstreamer backend'
'phonon-mplayer-git: mplayer backend'
'phonon-vlc: vlc backend'
'phonon-xine: xine backend')
conflicts=('$pkgname-git')
replaces=('minitunes' 'minitunes-git')
categories=('multimedia')
source=(http://flavio.tordini.org/files/musique/${pkgname}-${pkgver}.tar.gz)
md5sums=('cca6cdfb5099ccc82b943b034fa2e5ae')
build() {
cd ${srcdir}/${pkgname}
qmake PREFIX=/usr
}
package() {
cd ${srcdir}/${pkgname}
make INSTALL_ROOT=${pkgdir} install
sed -i -e 's/Icon=minitunes/Icon=musique/g' ${pkgdir}/usr/share/applications/musique.desktop
install -Dm644 ${srcdir}/${pkgname}/data/128x128/${pkgname}.png ${pkgdir}/usr/share/pixmaps/${pkgname}.png
}