summaryrefslogtreecommitdiff
path: root/community/kid3/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/kid3/PKGBUILD')
-rw-r--r--community/kid3/PKGBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/community/kid3/PKGBUILD b/community/kid3/PKGBUILD
new file mode 100644
index 000000000..270ecbee0
--- /dev/null
+++ b/community/kid3/PKGBUILD
@@ -0,0 +1,40 @@
+# $Id: PKGBUILD 86189 2013-03-12 21:45:28Z jlichtblau $
+# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+# Contributor: Alois Nespor <alois.nespor@gmail.com>
+
+pkgname=kid3
+pkgver=2.3
+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=('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=('8426b40b065f5a968796d1ff92da8d7a96d67cd963df837ce30ff1cf795ae301')
+
+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
+}