# $Id: PKGBUILD 52964 2009-09-23 19:58:14Z andrea $ # Maintainer: Tobias Powalowski pkgname=taglib pkgver=1.6 pkgrel=1 pkgdesc="library for reading and editing the meta-data of several popular audio formats." arch=('i686' 'x86_64') url="http://developer.kde.org/~wheeler/taglib.html" license=('GPL2') depends=('zlib' 'gcc-libs') makedepends=('cmake' 'pkgconfig') # svn snapshot: svn co svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib source=(http://developer.kde.org/~wheeler/files/src/$pkgname-$pkgver.tar.gz) options=('!libtool') md5sums=('5ecad0816e586a954bd676a86237d054') build() { cd ${srcdir} mkdir build cd build cmake ../$pkgname-$pkgver \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DWITH_MP4=ON \ -DWITH_ASF=ON make VERBOSE=1 || return 1 make DESTDIR=${pkgdir} install || return 1 }