desktop/yarock/PKGBUILD
2012-01-01 20:36:21 +00:00

38 lines
980 B
Bash

#
# Apps Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
pkgname=yarock
_pkgname=Yarock
pkgver=0.0.54
pkgrel=1
pkgdesc="A Qt4 Modern Music Player with collection browser based on cover art."
arch=('i686' 'x86_64')
url="http://qt-apps.org/content/show.php?content=129372"
screenshot="http://qt-apps.org/CONTENT/content-pre2/129372-2.png"
license=('GPL3')
depends=('qt' 'taglib' 'phonon')
source=(http://launchpad.net/$pkgname/trunk/$pkgver/+download/${_pkgname}_${pkgver}_source.tar.gz)
md5sums=('369c91d9b210f374cb43a575f4834f00')
build() {
cd $srcdir/${_pkgname}_${pkgver}_source
# Fix Phonon include path.
#pushd src
# sed -i \
# -e "s#include <Phonon/Global>#include <phonon/Global>#" \
# mainwindow.h \
# EnginePlayer/inforesolver.h
#popd
# Build.
qmake PREFIX=/usr
}
package() {
cd $srcdir/${_pkgname}_${pkgver}_source
make INSTALL_ROOT=$pkgdir install
}