[arch-commits] Commit in kdebluetooth/trunk (PKGBUILD)

Pierre Schmitz pierre at archlinux.org
Sun Jul 27 12:29:08 UTC 2008


    Date: Sunday, July 27, 2008 @ 08:29:08
  Author: pierre
Revision: 6694

upgpkg: kdebluetooth4 0.1-1

Modified:
  kdebluetooth/trunk/PKGBUILD

----------+
 PKGBUILD |   31 ++++++++++++++++++-------------
 1 file changed, 18 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-07-27 12:10:57 UTC (rev 6693)
+++ PKGBUILD	2008-07-27 12:29:08 UTC (rev 6694)
@@ -1,22 +1,27 @@
 # $Id$
 # Contributor: Giovanni Scafora <linuxmania at gmail.com>
 # Maintainer: Thomas Baechler <thomas at archlinux.org>
-pkgname=kdebluetooth
-pkgver=1.0_beta8
-pkgrel=2
+pkgname=kdebluetooth4
+pkgver=0.1
+pkgrel=1
 pkgdesc="A collection of Bluetooth utilities and modules for KDE based on BlueZ"
 arch=('i686' 'x86_64')
 url="http://bluetooth.kmobiletools.org/"
 license=('GPL')
-depends=('openobex' 'obexftp' 'dbus-qt3' 'kdelibs' 'bluez-utils')
-makedepends=('pkgconfig')
-source=(http://mesh.dl.sourceforge.net/sourceforge/kde-bluetooth/${pkgname}-${pkgver}.tar.bz2)
-#source=(http://tomstar.ath.cx/load/kdebluetooth/${pkgname}-${pkgver}.tar.bz2)
+depends=('kdebase-workspace')
+makedepends=('pkgconfig' 'cmake' 'automoc4')
+replaces=('kdebluetooth')
+provides=('kdebluetooth')
+source=(http://downloads.sourceforge.net/sourceforge/kde-bluetooth/${pkgname}-${pkgver}.tar.bz2)
+md5sums=('7c6e5162d457fa594ecdd3f339ea8fc1')
 
 build() {
-  cd $startdir/src/$pkgname-${pkgver}
-  ./configure  --prefix=/opt/kde
-  make || return 1
-  make DESTDIR=$startdir/pkg install
-}
-md5sums=('0b6aebf7d236894fc442d74425b13386')
+	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