desktop/support-pkg-libktorrent/PKGBUILD

35 lines
849 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.0.5
pkgrel=1
ktorver=4.0.5
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}-3.tar.bz2)
options=('libtool')
md5sums=('31f0397a28557220ce38fe2c8630826d')
build() {
cd ${srcdir}
mkdir build
cd build
cmake ../${pkgname}-${pkgver}-3 \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd ${srcdir}/build
make DESTDIR=${pkgdir} install
}