desktop/k3b/PKGBUILD

43 lines
1.3 KiB
Bash
Raw Normal View History

2010-05-31 00:39:40 +08:00
#
# Apps Packages for Chakra, part of chakraos.org
2010-05-31 00:39:40 +08:00
#
pkgname=k3b
pkgver=2.0.3.a
pkgrel=3
2010-05-31 00:39:40 +08:00
pkgdesc="Feature-rich and easy to handle CD burning application"
2014-11-04 10:44:27 +08:00
arch=("x86_64")
url="http://sourceforge.net/projects/k3b/"
2010-05-31 00:39:40 +08:00
license=('GPL')
2014-11-04 10:44:27 +08:00
depends=('kde-runtime' 'libkcddb' 'libkcompactdisc' 'libsamplerate' 'libmad'
'ffmpeg>=0.5' 'taglib>=1.4' 'libmpcdec>=1.2.5' 'libdvdread>=4.1.3' 'cdrkit' 'shared-mime-info' 'libxft' 'libmusicbrainz3')
makedepends=('cmake' 'automoc4' 'docbook-xml' 'docbook-xsl')
2010-05-31 00:39:40 +08:00
optdepends=('dvd+rw-tools: for dvd burning support'
2014-11-04 10:44:27 +08:00
'vcdimager: for vcd burning support'
'transcode: for advanced mpeg conversion support'
'emovix: for bootable multimedia cd/dvd support'
'cdrdao: for disk-at-once (DAO) mode support'
'cdparanoia: for cd ripping support')
categories=('multimedia')
2014-11-04 10:44:27 +08:00
install=$pkgname.install
source=("http://download.kde.org/stable/${pkgname}/${pkgname}-2.0.3a.tar.xz")
2014-11-05 08:30:11 +08:00
sha256sums=('2d0bb2746802c1d3ad7ddd10e29234cf2053074f376feb200306a5570c39c081')
2010-06-30 03:59:33 +08:00
2013-10-15 02:37:58 +08:00
prepare() {
2014-11-05 08:30:11 +08:00
cd ${pkgname}-2.0.3
2013-10-15 02:37:58 +08:00
}
2014-11-04 10:44:27 +08:00
2010-05-31 00:39:40 +08:00
build() {
2013-10-15 02:37:58 +08:00
mkdir -p build
2010-05-31 00:39:40 +08:00
cd build
2014-11-05 08:30:11 +08:00
cmake ../${pkgname}-2.0.3 \
2010-05-31 00:39:40 +08:00
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release
make
}
package() {
2013-10-15 02:37:58 +08:00
cd build
make DESTDIR="${pkgdir}" install
2010-05-31 00:39:40 +08:00
}