4 pkgname=taglib-extras-svn
7 pkgdesc="Library for reading and editing the meta-data of several popular audio formats."
9 url="http://www.jefferai.com/taglibs-extras"
11 depends=('zlib' 'gcc-libs' 'taglib')
12 makedepends=('cmake>=2.6.2' 'pkgconfig' 'automoc4' 'subversion')
13 conflicts=('taglibs-extras')
17 _svntrunk=svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib-extras
18 _svnmod=taglib-extras-svn
23 if [ -d ${_svnmod}/.svn ]; then
24 (cd ${_svnmod} && svn up)
26 svn co ${_svntrunk} --config-dir ./ -r ${pkgver} ${_svnmod}
29 msg "SVN checkout done or server timeout"
30 msg "Starting the build ..."
32 cp -R ${srcdir}/${_svnmod} ${srcdir}/${_svnmod}-build
33 cd ${srcdir}/${_svnmod}-build
35 cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
39 cd ${srcdir}/${_svnmod}-build
40 make DESTDIR=${pkgdir} install
42 # remove the build directory
44 rm -rf ${srcdir}/${_svnmod}-build
46 # vim:set ts=2 sw=2 et: