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

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


    Date: Monday, June 8, 2009 @ 10:51:44
  Author: pierre
Revision: 41952

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

Modified:
  kdeaccessibility/kde-unstable/PKGBUILD

----------+
 PKGBUILD |   79 +++++++++++++++++++++++++++++++++++++++++++++++++++----------
 1 file changed, 67 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-06-08 14:51:40 UTC (rev 41951)
+++ PKGBUILD	2009-06-08 14:51:44 UTC (rev 41952)
@@ -1,31 +1,86 @@
 # $Id$
 # Maintainer: Pierre Schmitz <pierre at archlinux.de>
 
-pkgname=kdeaccessibility
+pkgbase=kdeaccessibility
+pkgname=('kdeaccessibility-colorschemes'
+         'kdeaccessibility-iconthemes'
+         'kdeaccessibility-kmag'
+         'kdeaccessibility-kmousetool'
+         'kdeaccessibility-kmouth'
+         'kdeaccessibility-kttsd')
 pkgver=4.2.90
-pkgrel=1
-pkgdesc="KDE Accessibility Aids"
+pkgrel=2
 arch=('i686' 'x86_64')
 url='http://www.kde.org'
 license=('GPL' 'FDL')
-groups=('kde')
-depends=('kdelibs')
-optdepends=('festival: Text to speech support')
-makedepends=('pkgconfig' 'cmake' 'automoc4' 'kdebase-runtime')
-install='kdeaccessibility.install'
-source=("http://download.kde.org/unstable/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
+groups=('kde' 'kdeaccessibility')
+makedepends=('pkgconfig' 'cmake' 'automoc4' 'kdebase-runtime' 'kdelibs' 'festival')
+source=("http://download.kde.org/unstable/${pkgver}/src/${pkgbase}-${pkgver}.tar.bz2")
 md5sums=('b41d79bf70dac56bdf9f1d80335f11f1')
 
 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_kdeaccessibility-colorschemes() {
+	pkgdesc=''
+	install='kdeaccessibility.install'
+	cd $srcdir/build/ColorSchemes
 	make DESTDIR=$pkgdir install
 }
-options=('!strip')
+
+package_kdeaccessibility-iconthemes() {
+	pkgdesc=''
+	install='kdeaccessibility.install'
+	cd $srcdir/build/IconThemes
+	make DESTDIR=$pkgdir install
+}
+
+package_kdeaccessibility-kmag() {
+	pkgdesc=''
+	depends=('kdelibs')
+	install='kdeaccessibility.install'
+	cd $srcdir/build/kmag
+	make DESTDIR=$pkgdir install
+	cd $srcdir/build/doc/kmag
+	make DESTDIR=$pkgdir install
+}
+
+package_kdeaccessibility-kmousetool() {
+	pkgdesc=''
+	depends=('kdelibs')
+	install='kdeaccessibility.install'
+	cd $srcdir/build/kmousetool
+	make DESTDIR=$pkgdir install
+	cd $srcdir/build/doc/kmousetool
+	make DESTDIR=$pkgdir install
+}
+
+package_kdeaccessibility-kmouth() {
+	pkgdesc=''
+	depends=('kdelibs')
+	install='kdeaccessibility.install'
+	cd $srcdir/build/kmouth
+	make DESTDIR=$pkgdir install
+	cd $srcdir/build/doc/kmouth
+	make DESTDIR=$pkgdir install
+}
+
+package_kdeaccessibility-kttsd() {
+	pkgdesc='Text To Speech Daemon'
+	depends=('kdelibs' 'festival')
+	install='kdeaccessibility.install'
+	cd $srcdir/build/kttsd
+	make DESTDIR=$pkgdir install
+	cd $srcdir/build/doc/kttsd
+	make DESTDIR=$pkgdir install
+}
+



More information about the arch-commits mailing list