desktop/kid3/PKGBUILD

36 lines
908 B
Bash

#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas@chakra-project.org
pkgname=kid3
pkgver=2.1
pkgrel=1
pkgdesc="An MP3, Ogg/Vorbis and FLAC tag editor for KDE"
arch=('i686' 'x86_64')
url="http://kid3.sourceforge.net/"
license=('GPL')
depends=('id3lib' 'kdelibs' 'libmp4v2' 'chromaprint')
makedepends=('automoc4' 'cmake' 'taglib' 'docbook-xsl')
categories=('multimedia')
screenshot=('http://pkgs.org/images/linux-software/kid3/kid3-screenshot.png')
install=${pkgname}.install
source=("http://sourceforge.net/projects/$pkgname/files/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz")
md5sums=('a2263f5094ea467cd708d02f1d2483ed')
build() {
cd ${srcdir}
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DWITH_TUNEPIMP=OFF
make
}
package() {
cd ${srcdir}/build
make DESTDIR=${pkgdir} install
}