# $Id: PKGBUILD 84352 2013-02-16 22:50:30Z ioni $ # Maintainer: Jaroslav Lichtblau # Contributor: Alois Nespor pkgname=kid3 pkgver=2.2.1 pkgrel=2 pkgdesc="An MP3, Ogg/Vorbis and FLAC tag editor for KDE" arch=('i686' 'x86_64' 'mips64el') url="http://kid3.sourceforge.net/" license=('GPL') depends=('chromaprint' 'id3lib' 'taglib' 'kdebase-runtime') makedepends=('automoc4' 'cmake' 'docbook-xml' 'docbook-xsl') options=('!makeflags') install=$pkgname.install changelog=$pkgname.changelog source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz) sha256sums=('2ac3ab6bbf8d2fdcc070a753ebdce868a5e9a2f0b3daddcc7c5b953ff39781b0') build() { cd ${pkgname}-${pkgver} cd ${srcdir} mkdir build cd build cmake \ ../${pkgname}-${pkgver} \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release make } package() { cd build make DESTDIR=${pkgdir} install }