desktop/support-pkg-libktorrent/PKGBUILD

34 lines
701 B
Bash
Raw Normal View History

2010-07-11 19:50:56 +08:00
#
2012-09-01 18:33:27 +08:00
# Desktop Packages for Chakra, part of chakra-project.org
2010-07-11 19:50:56 +08:00
#
2012-09-01 18:33:27 +08:00
2010-07-11 19:50:56 +08:00
pkgname=libktorrent
2012-09-01 18:33:27 +08:00
pkgver=1.2.1
2010-09-01 00:45:40 +08:00
pkgrel=1
2012-09-01 18:33:27 +08:00
ktorver=4.2.1
2010-07-11 19:50:56 +08:00
pkgdesc="A BitTorrent program for KDE"
arch=('i686' 'x86_64')
url="http://ktorrent.org"
license=('GPL2')
depends=('kdelibs')
2012-03-06 11:05:20 +08:00
makedepends=('autoconf' 'perl' 'automoc4' 'cmake' 'kdepimlibs' 'kde-workspace')
2012-09-01 18:33:27 +08:00
source=(http://ktorrent.org/downloads/${ktorver}/${pkgname}-${pkgver}-2.tar.bz2)
2010-07-11 19:50:56 +08:00
options=('libtool')
2012-09-01 18:33:27 +08:00
md5sums=('20c0e979caa798f49724045edcb3eb0a')
2010-07-11 19:50:56 +08:00
build() {
cd ${srcdir}
mkdir build
cd build
2012-09-01 18:33:27 +08:00
cmake ../${pkgname}-${pkgver}-2 \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
2010-07-11 19:50:56 +08:00
package() {
cd ${srcdir}/build
make DESTDIR=${pkgdir} install
2010-07-11 19:50:56 +08:00
}