desktop/ktorrent/PKGBUILD
2012-09-05 12:04:24 +00:00

39 lines
912 B
Bash

#
# Apps Packages for Chakra, part of chakra-project.org
#
pkgname=ktorrent
pkgver=4.3.0
pkgrel=1
ktorver=4.3.0
pkgdesc="A BitTorrent program for KDE"
arch=('i686' 'x86_64')
url="http://ktorrent.org"
license=('GPL2')
depends=('kdelibs' 'kde-runtime' 'kdepimlibs' 'qca' 'gmp' 'taglib' 'libktorrent')
makedepends=('cmake' 'automoc4' 'docbook-xsl')
categories=('network')
source=(http://ktorrent.org/downloads/${ktorver}/ktorrent-${pkgver}.tar.bz2)
categories=('network')
options=('libtool')
screenshot=('http://ktorrent.org/images/screenshots/KT-normal-o-files.png')
md5sums=('1520e67d2e64808daff90dc7fc2e42b1')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
cd "${srcdir}"
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DENABLE_MEDIAPLAYER_PLUGIN=true
make
}
package() {
cd "${srcdir}/build"
make DESTDIR="${pkgdir}" install
}