mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
28 lines
784 B
Bash
28 lines
784 B
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
pkgname=ktorrent
|
|
pkgver=4.0.2
|
|
pkgrel=1
|
|
ktorver=4.0.2
|
|
pkgdesc="A BitTorrent program for KDE"
|
|
arch=('i686' 'x86_64')
|
|
url="http://ktorrent.org"
|
|
license=('GPL2')
|
|
depends=('kdelibs' 'kdebase-runtime' 'kdepimlibs' 'qca' 'gmp' 'taglib' 'libktorrent')
|
|
makedepends=('cmake' 'automoc4')
|
|
source=(http://ktorrent.org/downloads/${ktorver}/ktorrent-${pkgver}.tar.bz2)
|
|
options=('libtool')
|
|
md5sums=('7f4793e098cdb144bc83cec386623dad')
|
|
|
|
build() {
|
|
cd ${srcdir}/ktorrent-4.0.2
|
|
|
|
cmake . -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
|
|
make || return 1
|
|
make DESTDIR=${pkgdir} install
|
|
}
|