[arch-commits] Commit in ktorrent/trunk (PKGBUILD)
Pierre Schmitz
pierre at archlinux.org
Thu Jul 24 09:57:13 UTC 2008
Date: Thursday, July 24, 2008 @ 05:57:13
Author: pierre
Revision: 6431
upgpkg: ktorrent 3.1.1-1
Modified:
ktorrent/trunk/PKGBUILD
----------+
PKGBUILD | 27 +++++++++++++--------------
1 file changed, 13 insertions(+), 14 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2008-07-24 09:55:54 UTC (rev 6430)
+++ PKGBUILD 2008-07-24 09:57:13 UTC (rev 6431)
@@ -3,26 +3,25 @@
# Contributor: Georg Grabler <ggrabler at gmail.com>
pkgname=ktorrent
-pkgver=2.2.7
+pkgver=3.1.1
pkgrel=1
pkgdesc="A BitTorrent program for KDE"
arch=('i686' 'x86_64')
url="http://ktorrent.org"
license=('GPL')
-depends=('kdelibs' 'gmp')
+depends=('kdelibs>4' 'gmp' 'qca')
makedepends=('autoconf' 'perl')
source=(http://ktorrent.org/downloads/$pkgver/${pkgname}-${pkgver}.tar.bz2)
-options=('libtool') # needs .la files for plugins
+options=('libtool')
+md5sums=('59596d7fc3b49781d0a92a39cd913f8b')
build() {
- export MAKEFLAGS="-j1"
- cd $startdir/src/$pkgname-$pkgver
-
- # Build!
- make -f admin/Makefile.common
- ./configure --prefix=/opt/kde
- make || return 1
- make DESTDIR=$startdir/pkg install
-}
-
-md5sums=('99bd7110aeae72be1a9704c42532dcaf')
+ cd $srcdir
+ mkdir build
+ cd build
+ cmake ../${pkgname}-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+ make DESTDIR=$pkgdir install
+}
\ No newline at end of file
More information about the arch-commits
mailing list