diff options
author | Piezoid | 2015-08-13 16:27:29 +0200 |
---|---|---|
committer | Piezoid | 2015-08-13 16:27:29 +0200 |
commit | cf3619c3fd071a64f8a81aff4087cbebab948952 (patch) | |
tree | fc4ad6e481753c2fd67379fbf3b3851b85a954eb /PKGBUILD | |
download | aur-cf3619c3fd071a64f8a81aff4087cbebab948952.tar.gz |
Initial import.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..405bd7842952 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,51 @@ +# Contributor: Jakub Schmidtke <sjakub-at-gmail-dot-com> +# Maintainer: Maƫl Kerbiriou <mael.kerbiriou-at-free-dot-fr> + +pkgname=amarok-git +pkgver=v2.8.90.3.gfec8817 +pkgrel=1 +pkgdesc="The powerful music player for KDE - GIT version" +arch=("i686" "x86_64") +url="http://amarok.kde.org" +license=('GPL2' 'LGPL2.1' 'FDL') +depends=('kdebase-runtime' 'mariadb' 'qtscriptgenerator' 'taglib-extras' + 'liblastfm' 'ffmpeg' 'libofa' 'qjson') +makedepends=('pkgconfig' 'automoc4' 'cmake' 'libgpod' 'libmtp' 'loudmouth' + 'libmygpo-qt' 'mesa' 'clamz' 'git' 'gmock') +optdepends=("libgpod: support for Apple iPod audio devices" + "libmtp: support for portable media devices" + "loudmouth: backend needed by mp3tunes for syncing" + "ifuse: support for Apple iPod Touch and iPhone" + "libmygpo-qt: gpodder.net Internet Service" + "clamz: allow to download songs from Amazon.com") +conflicts=('amarok' 'amarok2') +provides=('amarok') +replaces=('amarok-svn' 'amarok2-svn') +install="${pkgname}.install" +source=(${pkgname}::git://anongit.kde.org/amarok.git) +sha1sums=('SKIP') + +pkgver() { + cd "${pkgname}" + git describe --always | sed 's|-|.|g' +} + +build() { + rm -rf build + mkdir -p build + cd build + + cmake "../${pkgname}" -Wno-dev \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DKDE4_BUILD_TESTS=OFF \ + -DWITH_NepomukCore=OFF \ + -DWITH_Soprano=OFF + + make +} + +package(){ + cd build + make "DESTDIR=${pkgdir}" install +} |