mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
34 lines
731 B
Bash
34 lines
731 B
Bash
|
|
# Desktop Packages for Chakra, part of chakra-project.org
|
|
|
|
# Maintainer abveritas@chakra-project.org
|
|
|
|
pkgname=libktorrent
|
|
pkgver=1.3.1
|
|
pkgrel=1
|
|
ktorver=4.3.1
|
|
pkgdesc="A BitTorrent program for KDE"
|
|
arch=('x86_64')
|
|
url="http://ktorrent.org"
|
|
license=('GPL2')
|
|
depends=('kdelibs')
|
|
makedepends=('autoconf' 'perl' 'automoc4' 'cmake' 'kdepimlibs' 'kde-workspace')
|
|
source=("http://ktorrent.org/downloads/${ktorver}/${pkgname}-${pkgver}.tar.bz2")
|
|
options=('libtool')
|
|
md5sums=('e4d8a3f0935031c402f37bcdf544e912')
|
|
|
|
build() {
|
|
cd ${srcdir}
|
|
mkdir build
|
|
cd build
|
|
cmake ../${pkgname}-${pkgver} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/build
|
|
make DESTDIR=${pkgdir} install
|
|
}
|