desktop/audex/PKGBUILD

43 lines
1011 B
Bash

#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=audex
pkgver=0.74b1
pkgrel=2
pkgdesc="A CDDA extraction tool with a ftp upload function for KDE"
arch=('i686' 'x86_64')
url="http://kde.maniatek.de/audex/"
license=('GPL')
depends=('kdemultimedia-common' 'cdparanoia')
makedepends=('cmake' 'automoc4')
optdepends=('vorbis-tools: OGG encoder'
'faac: MP4/M4A/AAC encoder'
'flac: FLAC encoder'
'lame: MP3 encoder')
categories=('multimedia')
install=${pkgname}.install
source=("http://kde.maniatek.com/audex/files/${pkgname}-${pkgver}.tar.xz")
md5sums=('20fdf9a0f89c08f44a151b6bdaab8782')
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
}