2013-12-18 02:36:04 +08:00
|
|
|
|
2012-09-01 18:33:27 +08:00
|
|
|
# Desktop Packages for Chakra, part of chakra-project.org
|
2013-12-18 02:36:04 +08:00
|
|
|
|
2013-12-18 02:41:12 +08:00
|
|
|
# Maintainer abveritas@chakra-project.org
|
2012-09-01 18:33:27 +08:00
|
|
|
|
2010-07-11 19:50:56 +08:00
|
|
|
pkgname=libktorrent
|
2013-01-15 08:06:01 +08:00
|
|
|
pkgver=1.3.1
|
2015-03-06 06:39:15 +08:00
|
|
|
pkgrel=4
|
2013-01-15 08:06:01 +08:00
|
|
|
ktorver=4.3.1
|
2010-07-11 19:50:56 +08:00
|
|
|
pkgdesc="A BitTorrent program for KDE"
|
2013-01-15 08:06:01 +08:00
|
|
|
arch=('x86_64')
|
2010-07-11 19:50:56 +08:00
|
|
|
url="http://ktorrent.org"
|
|
|
|
license=('GPL2')
|
|
|
|
depends=('kdelibs')
|
2012-03-06 11:05:20 +08:00
|
|
|
makedepends=('autoconf' 'perl' 'automoc4' 'cmake' 'kdepimlibs' 'kde-workspace')
|
2014-12-17 06:40:28 +08:00
|
|
|
source=("http://ktorrent.pwsp.net/downloads/${ktorver}/${pkgname}-${pkgver}.tar.bz2")
|
2010-07-11 19:50:56 +08:00
|
|
|
options=('libtool')
|
2013-01-15 08:06:01 +08:00
|
|
|
md5sums=('e4d8a3f0935031c402f37bcdf544e912')
|
2010-07-11 19:50:56 +08:00
|
|
|
|
|
|
|
build() {
|
2011-01-03 04:56:10 +08:00
|
|
|
cd ${srcdir}
|
|
|
|
mkdir build
|
|
|
|
cd build
|
2012-09-05 19:59:41 +08:00
|
|
|
cmake ../${pkgname}-${pkgver} \
|
2011-01-03 04:56:10 +08:00
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
|
|
make
|
|
|
|
}
|
2010-07-11 19:50:56 +08:00
|
|
|
|
2011-01-03 04:56:10 +08:00
|
|
|
package() {
|
|
|
|
cd ${srcdir}/build
|
|
|
|
make DESTDIR=${pkgdir} install
|
2010-07-11 19:50:56 +08:00
|
|
|
}
|