1 # Maintainer: oke3 <Sekereg at gmx dot com>
6 pkgdesc="An MP3, Ogg/Vorbis and FLAC tag editor (without KDE dependencies)"
8 url="http://kid3.sourceforge.net/"
10 install=$pkgname.install
11 makedepends=('cmake' 'docbook-xsl' 'git')
12 depends=('id3lib' 'tunepimp' 'qt')
15 _gitroot="git://kid3.git.sourceforge.net/gitroot/kid3/kid3"
21 msg "Connecting to the GIT server...."
22 if [[ -d "$_gitname" ]]; then
23 cd "$_gitname" && git pull origin && cd "$srcdir"
24 msg "The local files are updated."
26 git clone "$_gitroot" "$_gitname"
29 msg "GIT checkout done or server timeout"
30 msg "Starting build..."
32 rm -rf "$_gitname-build"
33 git clone "$_gitname" "$_gitname-build"
36 cmake -DCMAKE_INSTALL_PREFIX=/usr \
40 -DDOCBOOK_XSL_DIR=/usr/share/xml/docbook/xsl-stylesheets-1.75.2/
45 cd "$srcdir/$_gitname-build"
47 make DESTDIR="$pkgdir" install