1 # $Id: PKGBUILD 71340 2010-03-06 18:44:25Z andrea $
2 # Maintainer: Bernd Helm <AUR user raw>
7 pkgdesc="Utility for viewing, editing and writing ID3 tags of your MP3 files - git version with patches"
10 url="https://github.com/stsquad/easytag"
11 depends=('id3lib' 'libid3tag' 'gtk2' 'libvorbis' 'flac' 'libmp4v2' 'speex' 'wavpack')
15 _gitroot="http://github.com/stsquad/easytag.git"
22 msg "Connecting to GIT server...."
24 if [ -d "${srcdir}/${_gitname}" ] ; then
25 ( cd ${_gitname} && git pull --rebase )
30 rm -rf ${_gitname}-build
31 git clone ${_gitname} ${_gitname}-build
34 msg "GIT checkout done or server timeout"
35 msg "Starting make..."
38 ./configure --prefix=/usr
43 cd ${srcdir}/${_gitname}-build
44 make DESTDIR=${pkgdir} install
46 # Remove directory mimetype
47 sed '/^MimeType=/ s@;x-directory/normal;@;@' \
48 -i ${pkgdir}/usr/share/applications/easytag.desktop