desktop/ktorrent/PKGBUILD

38 lines
850 B
Bash
Raw Normal View History

2010-06-02 03:45:06 +08:00
#
2012-09-01 18:43:02 +08:00
# Apps Packages for Chakra, part of chakra-project.org
2010-06-02 03:45:06 +08:00
#
2010-05-31 06:57:45 +08:00
pkgname=ktorrent
pkgver=4.3.1
2011-01-03 05:09:24 +08:00
pkgrel=1
ktorver=4.3.1
2010-05-31 06:57:45 +08:00
pkgdesc="A BitTorrent program for KDE"
arch=('x86_64')
2010-05-31 06:57:45 +08:00
url="http://ktorrent.org"
license=('GPL2')
depends=('kde-workspace' 'qca' 'gmp' 'taglib' 'libktorrent')
2011-03-17 01:06:27 +08:00
makedepends=('cmake' 'automoc4' 'docbook-xsl')
2012-03-06 19:37:36 +08:00
categories=('network')
source=("http://ktorrent.org/downloads/${ktorver}/ktorrent-${pkgver}.tar.bz2")
categories=('network')
2010-05-31 06:57:45 +08:00
options=('libtool')
2012-09-01 18:43:02 +08:00
screenshot=('http://ktorrent.org/images/screenshots/KT-normal-o-files.png')
md5sums=('696852076315d3aa8ccc8745482872dd')
2010-05-31 06:57:45 +08:00
build() {
2011-08-17 04:08:13 +08:00
cd "${srcdir}"
2011-08-17 04:08:13 +08:00
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
2010-05-31 06:57:45 +08:00
}