PKGBUILDs/extra/amarok/PKGBUILD

32 lines
1 KiB
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: damir <damir@archlinux.org>
pkgname=amarok
replaces=('amarok-base' 'amarok-engine-xine' 'amarok-base-mysqlfree')
pkgver=2.2.0
pkgrel=1
pkgdesc="A media player for KDE"
2009-10-11 04:11:32 +00:00
arch=('arm')
2009-10-10 02:23:22 +00:00
url="http://amarok.kde.org"
license=('GPL2' 'LGPL2' 'FDL')
depends=('mysql>=5.1.37' 'kdebase-runtime>=4.3' 'libmtp>=0.3.7' 'libgpod>=0.7.2'
'libmp4v2' 'qtscriptgenerator>=0.1.0' 'taglib-extras>=1.0.1'
'liblastfm>=0.3.0' 'loudmouth>=1.4.3')
makedepends=('pkgconfig' 'automoc4' 'cmake')
install=amarok.install
2009-10-11 04:11:32 +00:00
source=(http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2)
2009-10-10 02:23:22 +00:00
md5sums=('5a0188c5eb7d343109b82964942d8eb5')
build() {
cd ${srcdir}
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed' \
-DCMAKE_INSTALL_PREFIX=/usr
make || return 1
make DESTDIR=${pkgdir} install || return 1
}