1 # Maintainer: oke3 <Sekereg at gmx dot com>
6 pkgdesc="An MP3, Ogg/Vorbis and FLAC tag editor for KDE."
8 url="http://kid3.sourceforge.net/"
10 install=$pkgname.install
11 makedepends=('automoc4' 'cmake' 'docbook-xsl' 'git')
12 depends=('id3lib' 'tunepimp' 'kdelibs' 'kdebase-runtime')
16 _gitroot="git://kid3.git.sourceforge.net/gitroot/kid3/kid3"
22 msg "Connecting to the GIT server...."
23 if [[ -d "$_gitname" ]]; then
24 cd "$_gitname" && git pull origin && cd "$srcdir"
25 msg "The local files are updated."
27 git clone "$_gitroot" "$_gitname"
30 msg "GIT checkout done or server timeout"
31 msg "Starting build..."
33 rm -rf "$_gitname-build"
34 git clone "$_gitname" "$_gitname-build"
37 cmake -DCMAKE_INSTALL_PREFIX=/usr
42 cd "$srcdir/$_gitname-build"
44 make DESTDIR="$pkgdir" install