desktop/tomahawk/PKGBUILD

47 lines
1.3 KiB
Bash

#
# Apps SC Packages for Chakra, part of chakra-project.org
#
# maintainer Martín González <koteccr at gmail dot com>
# contributor Kuba Serafinowski <zizzfizzix(at)gmail(dot)com>
pkgname=tomahawk
pkgver=0.6.0
pkgrel=1
pkgdesc="The social media player. A Music Player App written in C++/Qt"
arch=('x86_64')
url="http://tomahawk-player.org/"
screenshot="https://img.skitch.com/20110813-n6w28ugdugyeptxgaj83y4ptp5.medium.jpg"
license=('GPL3')
depends=('phonon' 'taglib' 'boost' 'clucene' 'libechonest' 'jreen>=1.1.1' 'qtweetlib'
'attica' 'quazip' 'qtwebkit' 'liblastfm')
makedepends=('cmake' 'git')
provides=('tomahawk')
conflicts=('tomahawk-git')
categories=('multimedia')
options=(!strip)
source=("http://download.tomahawk-player.org/${pkgname}-${pkgver}.tar.bz2")
md5sums=('517d0c95cc7777b6c29b45a4e650a8ea')
install=tomahawk.install
build() {
cd ${srcdir}/${pkgname}-${pkgver}
msg "Starting build..."
rm -rf ${srcdir}/${pkgname}-${pkgver}-build
cp -r ${srcdir}/${pkgname}-${pkgver} ${srcdir}/${pkgname}-${pkgver}-build
cd ${srcdir}/${pkgname}-${pkgver}-build
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=release \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_INSTALL_LIBEXECDIR=lib/${pkgname}
make
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}-build
make DESTDIR=${pkgdir} install
}