# $Id: PKGBUILD 82705 2013-01-23 09:18:31Z lcarlier $ # Maintainer: Laurent Carlier # Contributor: Andrea Scarpino # Contributor: mightyjaym # Contributor: moostik pkgname=audex pkgver=0.76b2 pkgrel=1 pkgdesc="A CDDA extraction tool with a ftp upload function for KDE" arch=('i686' 'x86_64' 'mips64el') url="http://kde-apps.org/content/show.php?content=77125" license=('GPL') depends=('kdebase-runtime' 'libkcddb' 'libkcompactdisc' 'cdparanoia') makedepends=('cmake' 'automoc4') optdepends=('vorbis-tools: OGG encoder' 'faac: MP4/M4A/AAC encoder' 'flac: FLAC encoder' 'lame: MP3 encoder') install=${pkgname}.install #source=("ftp://ftp.archlinux.org/other/community/${pkgname}/${pkgname}-${pkgver}.tar.xz" source=("http://kde.maniatek.com/${pkgname}/files/${pkgname}-${pkgver}.tar.xz" "google_regex.patch" 'gcc47.patch') md5sums=('c971bbfa113e4d54b0dcaae8afbf70fb' '77b33d8daead89d5f4f15b78a1cd1d55' '64107bcf90e22910e57804be774822dd') build() { # fix bug FS#25193 # patch -Np0 -i "${srcdir}"/google_regex.patch cd ${pkgname}-${pkgver} patch -p1 -i "${srcdir}"/gcc47.patch cd .. mkdir build cd build cmake ../${pkgname}-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd ${srcdir}/build make DESTDIR=${pkgdir} install }