diff options
author | root <root@rshg054.dnsready.net> | 2012-08-03 00:01:47 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-08-03 00:01:47 +0000 |
commit | 92bafb5f0efc526b1f83cd5fb9460443c4b13dca (patch) | |
tree | a762a2b1551bff9d77cf7a44a75f915fb074c1a2 /community-testing/audex/PKGBUILD | |
parent | f003ac1c96d76f4e3a2b93f988e1effce6771052 (diff) |
Fri Aug 3 00:01:47 UTC 2012
Diffstat (limited to 'community-testing/audex/PKGBUILD')
-rw-r--r-- | community-testing/audex/PKGBUILD | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/community-testing/audex/PKGBUILD b/community-testing/audex/PKGBUILD new file mode 100644 index 000000000..0fbf880a4 --- /dev/null +++ b/community-testing/audex/PKGBUILD @@ -0,0 +1,47 @@ +# $Id: PKGBUILD 74660 2012-08-01 16:22:37Z andrea $ +# Maintainer: Laurent Carlier <lordheavym@gmail.com> +# Contributor: Andrea Scarpino <andrea@archlinux.org> +# Contributor: mightyjaym <jmambrosino@gmail.com> +# Contributor: moostik <mooostik_at_gmail.com> + +pkgname=audex +pkgver=0.74b1 +pkgrel=4 +pkgdesc="A CDDA extraction tool with a ftp upload function for KDE" +arch=('i686' 'x86_64') +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" + "google_regex.patch" 'gcc47.patch') +md5sums=('20fdf9a0f89c08f44a151b6bdaab8782' + '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 +} |