mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 12:47:18 +08:00
38 lines
850 B
Bash
38 lines
850 B
Bash
#
|
|
# Apps Packages for Chakra, part of chakra-project.org
|
|
#
|
|
|
|
pkgname=ktorrent
|
|
pkgver=4.3.1
|
|
pkgrel=1
|
|
ktorver=4.3.1
|
|
pkgdesc="A BitTorrent program for KDE"
|
|
arch=('x86_64')
|
|
url="http://ktorrent.org"
|
|
license=('GPL2')
|
|
depends=('kde-workspace' '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=('696852076315d3aa8ccc8745482872dd')
|
|
|
|
build() {
|
|
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
|
|
}
|