desktop/libktorrent/PKGBUILD
Manuel Tortosa 75e1764da7 Add ktorrent
2010-05-31 22:46:56 +00:00

24 lines
623 B
Bash

# Maintainer: Manuel Tortosa <manutortosa@gmail.com>
pkgname=libktorrent
pkgver=1.0.0
pkgrel=1
ktorver=4.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' 'kdebase-workspace')
source=(http://ktorrent.org/downloads/${ktorver}/libktorrent-${pkgver}.tar.bz2)
options=('libtool')
md5sums=('b409ef0381343d998abce8c85073f7d3')
build() {
cd ${srcdir}/libktorrent-1.0.0
cmake . -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
make || return 1
make DESTDIR=${pkgdir} install
}