# $Id: PKGBUILD 56794 2011-10-12 23:16:45Z lcarlier $ # Maintainer: Andrea Scarpino # Contributor: mightyjaym # Contributor: moostik pkgname=audex pkgver=0.74b1 pkgrel=2 pkgdesc="A CDDA extraction tool with a ftp upload function for KDE" arch=('i686' 'x86_64' 'mips64el') url="http://kde.maniatek.com/audex/" license=('GPL') depends=('kdemultimedia-kioslave' 'cdparanoia') makedepends=('cmake' 'automoc4') optdepends=('vorbis-tools: OGG encoder' 'faac: MP4/M4A/AAC encoder' 'flac: FLAC encoder' 'lame: MP3 encoder') install=${pkgname}.install source=("http://kde.maniatek.com/audex/files/${pkgname}-${pkgver}.tar.xz" "google_regex.patch") md5sums=('20fdf9a0f89c08f44a151b6bdaab8782' '77b33d8daead89d5f4f15b78a1cd1d55') build() { cd ${srcdir} # fix bug FS#25193 patch -Np0 -i google_regex.patch mkdir build cd build cmake ../${pkgname}-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd ${srcdir}/build make DESTDIR=${pkgdir} install }