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

Pierre Schmitz pierre at archlinux.org
Mon Jun 8 10:51:48 EDT 2009


    Date: Monday, June 8, 2009 @ 10:51:48
  Author: pierre
Revision: 41953

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

Modified:
  kdeadmin/kde-unstable/PKGBUILD

----------+
 PKGBUILD |   65 ++++++++++++++++++++++++++++++++++++++++++++++++-------------
 1 file changed, 52 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-06-08 14:51:44 UTC (rev 41952)
+++ PKGBUILD	2009-06-08 14:51:48 UTC (rev 41953)
@@ -1,37 +1,76 @@
 # $Id$
 # Maintainer: Pierre Schmitz <pierre at archlinux.de>
 
-pkgname=kdeadmin
+pkgbase=kdeadmin
+pkgname=('kdeadmin-kcron'
+         'kdeadmin-ksystemlog'
+         'kdeadmin-kuser'
+         'kdeadmin-system-config-printer-kde')
 pkgver=4.2.90
-pkgrel=1
-pkgdesc="KDE Administration Programs"
+pkgrel=2
 arch=('i686' 'x86_64')
 url='http://www.kde.org'
 license=('GPL' 'LGPL' 'FDL')
-groups=('kde')
-depends=('kdepimlibs' 'kdebase-runtime' 'kdebindings' 'system-config-printer>=1.1.7-3')
-makedepends=('pkgconfig' 'cmake' 'automoc4')
-install='kdeadmin.install'
-source=("http://download.kde.org/unstable/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2"
+groups=('kde' 'kdeadmin')
+makedepends=('pkgconfig' 'cmake' 'automoc4' 'kdepimlibs' 'kdebase-runtime' 'kdebindings-python' 'system-config-printer>=1.1.7-3')
+source=("http://download.kde.org/unstable/${pkgver}/src/${pkgbase}-${pkgver}.tar.bz2"
 	'fix-syslog-path.patch')
 md5sums=('c9d8f44474cd53d0e7ce72d7a1ed054a'
          '41b71823c7a33975ec08aaf75d67a374')
 
 build() {
-	cd $srcdir/${pkgname}-${pkgver}
+	cd $srcdir/${pkgbase}-${pkgver}
 	patch -p1 -i ${srcdir}/fix-syslog-path.patch || return 1
 	cd ..
 	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 \
 		-DBUILD_kpackage=OFF \
 		-DBUILD_knetworkconf=OFF \
-		-DBUILD_lilo-config=OFF
+		-DBUILD_lilo-config=OFF \
+		-DBUILD_strigi-analyzer=OFF
 	make
+}
+
+package_kdeadmin-kcron() {
+	pkgdesc='Editor for the cron command scheduler.'
+	depends=('kdelibs' 'kdebase-runtime')
+	install='kdeadmin.install'
+	cd $srcdir/build/kcron
 	make DESTDIR=$pkgdir install
+	cd $srcdir/build/doc/kcron
+	make DESTDIR=$pkgdir install
 }
-options=('!strip')
+
+package_kdeadmin-ksystemlog() {
+	pkgdesc='A system log viewer tool.'
+	depends=('kdelibs' 'kdebase-runtime')
+	install='kdeadmin.install'
+	cd $srcdir/build/ksystemlog
+	make DESTDIR=$pkgdir install
+	cd $srcdir/build/doc/ksystemlog
+	make DESTDIR=$pkgdir install
+}
+
+package_kdeadmin-kuser() {
+	pkgdesc='An user manager.'
+	depends=('kdepimlibs' 'kdebase-runtime')
+	install='kdeadmin.install'
+	cd $srcdir/build/kuser
+	make DESTDIR=$pkgdir install
+	cd $srcdir/build/doc/kuser
+	make DESTDIR=$pkgdir install
+}
+
+package_kdeadmin-system-config-printer-kde() {
+	pkgdesc=''
+	depends=('kdebase-runtime' 'kdebindings-python' 'system-config-printer>=1.1.7-3' )
+	install='kdeadmin.install'
+	cd $srcdir/build/system-config-printer-kde
+	make DESTDIR=$pkgdir install
+}
+



More information about the arch-commits mailing list