[arch-commits] Commit in libktorrent/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Fri Apr 15 19:00:04 UTC 2016
Date: Friday, April 15, 2016 @ 21:00:03
Author: arojas
Revision: 265019
Update to 2.0
Modified:
libktorrent/trunk/PKGBUILD
----------+
PKGBUILD | 32 ++++++++++++++++++--------------
1 file changed, 18 insertions(+), 14 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-04-15 18:57:42 UTC (rev 265018)
+++ PKGBUILD 2016-04-15 19:00:03 UTC (rev 265019)
@@ -1,32 +1,36 @@
# $Id$
-# Maintainer: Ronald van Haren <ronald.archlinux.org>
-# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
pkgname=libktorrent
-pkgver=1.3.1
-pkgrel=4
+pkgver=2.0
+_ktorrentver=5.0
+pkgrel=1
pkgdesc="A BitTorrent protocol implementation"
-arch=('i686' 'x86_64')
+arch=(i686 x86_64)
url="http://ktorrent.pwsp.net/"
-license=('GPL2')
-depends=('kdelibs')
-makedepends=('automoc4' 'cmake' 'boost' 'doxygen')
-source=("http://ktorrent.pwsp.net/downloads/4.3.1/${pkgname}-${pkgver}.tar.bz2")
-sha1sums=('71b377c0cad01dca6061f1fe92f91c4cf05476b3')
+license=(GPL2)
+depends=(kio qca-qt5)
+makedepends=(extra-cmake-modules python boost doxygen)
+source=("http://download.kde.org/stable/ktorrent/$_ktorrentver/$pkgname-$pkgver.tar.xz")
+sha1sums=('833725538169c56af6e27d7ca82ed77fd6c541cc')
prepare() {
- mkdir build
+ mkdir -p build
}
build() {
cd build
- cmake ../${pkgname}-${pkgver} \
+ cmake ../$pkgname-$pkgver \
-DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+ -DKDE_INSTALL_LIBDIR=lib
make
}
package() {
cd build
- make DESTDIR="${pkgdir}" install
+ make DESTDIR="$pkgdir" install
}
More information about the arch-commits
mailing list