git » ktorrent.git » commit 619d3e9

gmp rebuild

author Pierre Schmitz
2010-03-20 13:36:03 UTC
committer Pierre Schmitz
2010-03-20 13:36:03 UTC
parent 9f2a3f7feeb98f0890ce6ce7be91488b3320c5b5

gmp rebuild

PKGBUILD +9 -5

diff --git a/PKGBUILD b/PKGBUILD
index dba7e6c..af6b064 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,17 +4,17 @@
 
 pkgname=ktorrent
 pkgver=3.3.4
-pkgrel=1
+pkgrel=2
 pkgdesc="A BitTorrent program for KDE"
 arch=('i686' 'x86_64')
 url="http://ktorrent.org"
 license=('GPL2')
-depends=('kdelibs>4' 'gmp' 'qca' 'libxft' 'kdebase-runtime' 'taglib' 'hicolor-icon-theme')
+depends=('kdelibs' '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')
 # 'kdebase-workspace' is needed to enable plasmoid building
-source=(http://ktorrent.org/downloads/${pkgver}/${pkgname}-${pkgver}.tar.bz2 \
-	httpserver.patch)
+source=("http://ktorrent.org/downloads/${pkgver}/${pkgname}-${pkgver}.tar.bz2"
+	'httpserver.patch')
 install=ktorrent.install
 options=('libtool')
 md5sums=('7d7dba06a78d09494199bd4ef82e5527'
@@ -35,5 +35,9 @@ build() {
 	  -DCMAKE_SKIP_RPATH=ON \
 	  -DENABLE_MEDIAPLAYER_PLUGIN=false
 	make || return 1
-	make DESTDIR=${pkgdir} install 
+}
+
+package() {
+	cd ${srcdir}/build
+	make DESTDIR=${pkgdir} install
 }