summaryrefslogtreecommitdiff
path: root/libre/audex/PKGBUILD
blob: 1ca4edbc28abee65cf47cc362d19e79b654e4b7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# $Id: PKGBUILD 149938 2015-12-07 14:59:02Z foutrelis $
# Maintainer (Arch): Laurent Carlier <lordheavym@gmail.com>
# Contributor (Arch): Andrea Scarpino <andrea@archlinux.org>
# Contributor (Arch): mightyjaym <jmambrosino@gmail.com>
# Contributor (Arch): moostik <mooostik_at_gmail.com>
# Maintainer: André Silva <emulatorman@parabola.nu>

pkgname=audex
pkgver=0.79
pkgrel=3.parabola1
pkgdesc="A CDDA extraction tool with a ftp upload function for KDE, without nonfree faac recommendation"
arch=('i686' 'x86_64')
url="http://kde-apps.org/content/show.php?content=77125"
license=('GPL')
replaces=("${pkgname}-libre" "${pkgname}-parabola")
conflicts=("${pkgname}-libre" "${pkgname}-parabola")
depends=('kdebase-runtime' 'libkcddb' 'libkcompactdisc' 'cdparanoia')
makedepends=('cmake' 'automoc4')
optdepends=('vorbis-tools: OGG encoder'
	'flac: FLAC encoder'
	'lame: MP3 encoder')
install=${pkgname}.install
source=("http://kde-apps.org/CONTENT/content-files/77125-${pkgname}-${pkgver}.tar.xz")
md5sums=('f7dea212961b90c83d061b0e0ca897c2')

build() {
  cd ${pkgname}-${pkgver}

  mkdir build
  cd build

  cmake ../  \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX=/usr
  make
}

package() {
  cd ${pkgname}-${pkgver}/build

  make DESTDIR=${pkgdir} install
}