desktop/support-pkg-libktorrent/PKGBUILD
2012-03-06 03:05:20 +00:00

35 lines
841 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=libktorrent
pkgver=1.2.0
pkgrel=1
ktorver=4.2.0
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}/libktorrent-${pkgver}.tar.bz2)
options=('libtool')
md5sums=('3bd38fc221fe2177dd17b14e2baf60c0')
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
}