[arch-commits] Commit in kdeplasma-addons/kde-unstable (PKGBUILD)

Pierre Schmitz pierre at archlinux.org
Mon Jun 8 10:52:12 EDT 2009


    Date: Monday, June 8, 2009 @ 10:52:12
  Author: pierre
Revision: 41959

inital implementation of splitted packages; generated by a script -> might be insane

Modified:
  kdeplasma-addons/kde-unstable/PKGBUILD

----------+
 PKGBUILD |   66 +++++++++++++++++++++++++++++++++++++++++++++++++------------
 1 file changed, 54 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-06-08 14:52:08 UTC (rev 41958)
+++ PKGBUILD	2009-06-08 14:52:12 UTC (rev 41959)
@@ -1,31 +1,73 @@
 # $Id: $
 # Maintainer: Pierre Schmitz <pierre at archlinux.de>
 
-pkgname=kdeplasma-addons
+pkgbase=kdeplasma-addons
+pkgname=('kdeplasma-addons-applets'
+         'kdeplasma-addons-dataengines'
+         'kdeplasma-addons-libs'
+         'kdeplasma-addons-runners'
+         'kdeplasma-addons-wallpapers')
 pkgver=4.2.90
-pkgrel=1
-pkgdesc="KDE Plasma addons"
+pkgrel=2
 arch=('i686' 'x86_64')
 url='http://www.kde.org'
 license=('GPL' 'LGPL')
-groups=('kde')
-depends=('kdebase-workspace' 'kdegraphics' 'kdeedu')
-replaces=('kdeaddons' 'lancelot')
-makedepends=('pkgconfig' 'cmake' 'automoc4')
-install='kdeplasma-addons.install'
-source=("http://download.kde.org/unstable/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
+groups=('kde' 'kdeplasma-addons')
+makedepends=('pkgconfig' 'cmake' 'automoc4' 'kdebase-workspace' 'kdegraphics-libs' 'kdeedu-marble')
+source=("http://download.kde.org/unstable/${pkgver}/src/${pkgbase}-${pkgver}.tar.bz2")
 md5sums=('ef44baf74590c2bf367efeb89f9b815d')
 
 build() {
 	cd $srcdir
 	mkdir build
 	cd build
-	cmake ../${pkgname}-${pkgver} \
-		-DCMAKE_BUILD_TYPE=RelWithDebInfo \
+	cmake ../${pkgbase}-${pkgver} \
+		-DCMAKE_BUILD_TYPE=Release \
 		-DCMAKE_SKIP_RPATH=ON \
 		-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed' \
 		-DCMAKE_INSTALL_PREFIX=/usr
 	make
+}
+
+package_kdeplasma-addons-applets() {
+	pkgdesc=''
+	depends=('kdegraphics-libs' 'kdeplasma-addons-libs')
+	replaces=('kdeaddons' 'lancelot')
+	install='kdeplasma-addons.install'
+	cd $srcdir/build/applets
 	make DESTDIR=$pkgdir install
 }
-options=('!strip')
+
+package_kdeplasma-addons-dataengines() {
+	pkgdesc=''
+	depends=('kdeplasma-addons-libs')
+	install='kdeplasma-addons.install'
+	cd $srcdir/build/dataengines
+	make DESTDIR=$pkgdir install
+}
+
+package_kdeplasma-addons-libs() {
+	pkgdesc=''
+	groups=()
+	depends=('kdebase-workspace')
+	install='kdeplasma-addons.install'
+	cd $srcdir/build/libs
+	make DESTDIR=$pkgdir install
+}
+
+package_kdeplasma-addons-runners() {
+	pkgdesc=''
+	depends=('kdeplasma-addons-libs')
+	install='kdeplasma-addons.install'
+	cd $srcdir/build/runners
+	make DESTDIR=$pkgdir install
+}
+
+package_kdeplasma-addons-wallpapers() {
+	pkgdesc=''
+	depends=('kdeplasma-addons-libs' 'kdeedu-marble')
+	install='kdeplasma-addons.install'
+	cd $srcdir/build/wallpapers
+	make DESTDIR=$pkgdir install
+}
+



More information about the arch-commits mailing list