summaryrefslogtreecommitdiff
path: root/community/kaudiocreator/PKGBUILD
blob: caa3827237e5b25c831fff1a280333e8c1acfc6e (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
# $Id: PKGBUILD 51505 2011-07-10 22:05:47Z lcarlier $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Nick B <Shirakawasuna at gmail _dot_com>

pkgname=kaudiocreator
pkgver=1.2.95
pkgrel=1
pkgdesc="A program for ripping and encoding Audio-CDs, encoding files from disk"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.kde-apps.org/content/show.php/KAudioCreator?content=107645"
license=('GPL')
depends=('kdemultimedia-kioslave' 'taglib' 'libdiscid')
makedepends=('cmake' 'automoc4')
install="${pkgname}.install"
source=("http://www.kde-apps.org/CONTENT/content-files/107645-${pkgname}-${pkgver}.tar.bz2")
md5sums=('5449607bb940b7b9522f5c47c6149f99')

build() {
  cd ${srcdir}

  mkdir build
  cd build

  cmake ../${pkgname}-${pkgver} \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX=/usr
  make
}

package() {
  cd ${srcdir}/build

  make DESTDIR=${pkgdir} install
}