mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-07 00:18:09 +08:00
34 lines
701 B
Bash
34 lines
701 B
Bash
#
|
|
# Desktop Packages for Chakra, part of chakra-project.org
|
|
#
|
|
|
|
|
|
pkgname=libktorrent
|
|
pkgver=1.2.1
|
|
pkgrel=1
|
|
ktorver=4.2.1
|
|
pkgdesc="A BitTorrent program for KDE"
|
|
arch=('i686' '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}-2.tar.bz2)
|
|
options=('libtool')
|
|
md5sums=('20c0e979caa798f49724045edcb3eb0a')
|
|
|
|
build() {
|
|
cd ${srcdir}
|
|
mkdir build
|
|
cd build
|
|
cmake ../${pkgname}-${pkgver}-2 \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/build
|
|
make DESTDIR=${pkgdir} install
|
|
}
|