[arch-commits] Commit in ktorrent/trunk (PKGBUILD)
Andrea Scarpino
andrea at archlinux.org
Fri Sep 10 12:32:18 UTC 2010
Date: Friday, September 10, 2010 @ 08:32:17
Author: andrea
Revision: 90298
upstream release; cleanup dependencies and makedependencies
Modified:
ktorrent/trunk/PKGBUILD
----------+
PKGBUILD | 19 +++++++++----------
1 file changed, 9 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-09-10 12:14:30 UTC (rev 90297)
+++ PKGBUILD 2010-09-10 12:32:17 UTC (rev 90298)
@@ -4,28 +4,26 @@
# Contributor: Georg Grabler <ggrabler at gmail.com>
pkgname=ktorrent
-pkgver=4.0.2
+pkgver=4.0.3
pkgrel=1
pkgdesc="A BitTorrent program for KDE"
arch=('i686' 'x86_64')
url="http://ktorrent.org"
license=('GPL2')
-depends=('libktorrent' 'gmp' 'qca' 'libxft' 'kdebase-runtime' 'taglib' 'hicolor-icon-theme')
-# 'kdebase-runtime' is needed for some of the icons in the interface to show
-makedepends=('autoconf' 'perl' 'automoc4' 'cmake' 'kdepimlibs' 'kdebase-workspace' 'boost')
-# 'kdebase-workspace' is needed to enable plasmoid building
+depends=('libktorrent' 'kdebase-workspace' 'taglib')
+makedepends=('automoc4' 'cmake' 'boost')
source=("http://ktorrent.org/downloads/${pkgver}/${pkgname}-${pkgver}.tar.bz2"
'httpserver.patch')
-install=ktorrent.install
+install=${pkgname}.install
options=('libtool')
-sha1sums=('40ee3b7b9face22d229344572f9542b4570e7411'
+md5sums=('40ee3b7b9face22d229344572f9542b4570e7411'
'cef22b24af540e1bfcf13da60e4846ade106c303')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
# build time patch
- patch -Np0 -i ${srcdir}/httpserver.patch || return 1
+ patch -Np0 -i ${srcdir}/httpserver.patch
cd ${srcdir}
mkdir build
@@ -33,12 +31,13 @@
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_SKIP_RPATH=ON \
-DENABLE_MEDIAPLAYER_PLUGIN=false
- make || return 1
+ make
}
package() {
cd ${srcdir}/build
make DESTDIR=${pkgdir} install
}
+md5sums=('446c8df18937a0fbfb8d9eb58713f847'
+ '1f25b94615b0bbfa0457c99fb20de3e6')
More information about the arch-commits
mailing list