From 49c8bc59285a293b78c96c71ebc543eaf75c196b Mon Sep 17 00:00:00 2001 From: amnon Date: Mon, 19 Jul 2010 11:02:16 +0000 Subject: [PATCH] update cinstall, krusader and yakuake --- cinstall/PKGBUILD | 2 +- cinstall/cinstall.install | 9 +++++++++ krusader/PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++ krusader/krusader.install | 11 +++++++++++ yakuake/PKGBUILD | 4 ++-- 5 files changed, 60 insertions(+), 3 deletions(-) create mode 100644 krusader/PKGBUILD create mode 100644 krusader/krusader.install diff --git a/cinstall/PKGBUILD b/cinstall/PKGBUILD index 7a8ae9f86..71caa4c56 100644 --- a/cinstall/PKGBUILD +++ b/cinstall/PKGBUILD @@ -9,7 +9,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf pkgname=cinstall -pkgver=20100707 +pkgver=20100719 pkgrel=1 depends=('kdelibs' 'qt' 'squashfs-tools' 'xz-utils') pkgdesc="Drake Justice's Bundle Creator/Launcher and Package-Manager" diff --git a/cinstall/cinstall.install b/cinstall/cinstall.install index 80f4cdf5c..a87088dca 100644 --- a/cinstall/cinstall.install +++ b/cinstall/cinstall.install @@ -42,6 +42,9 @@ post_install() { echo "sudoers file already modded" fi + mkdir /etc/cb.conf.d &>/dev/null + chown -R $USER:bundle /etc/cb.conf.d &>/dev/null + echo "update mime-database" update-mime-database /usr/share/mime &>/dev/null } @@ -90,6 +93,9 @@ post_upgrade() { echo "sudoers file already modded" fi + mkdir /etc/cb.conf.d &>/dev/null + chown -R $USER:bundle /etc/cb.conf.d &>/dev/null + echo "update mime-database" update-mime-database /usr/share/mime &>/dev/null } @@ -103,6 +109,9 @@ post_remove() { /usr/bin/chakra-update-icons fi + echo "Remove unused gre dir" + rm /etc/gre.d -r + else echo " > WARNING" echo " The package kde-common seems not to be installed," diff --git a/krusader/PKGBUILD b/krusader/PKGBUILD new file mode 100644 index 000000000..a902b3c06 --- /dev/null +++ b/krusader/PKGBUILD @@ -0,0 +1,37 @@ +# +# Apps Packages for Chakra, part of chakra-project.org +# +# maintainer (i686): Phil Miller +# maintainer (x86_64): Manuel Tortosa + +# include global config +source ../_buildscripts/${current_repo}-${_arch}-cfg.conf + +pkgname=krusader +pkgver=2.2.0beta1 +_pkgver=2.2.0-beta1 +pkgrel=1 +pkgdesc="An alternative file manager for KDE resembling Midnight Commander" +url="http://krusader.sourceforge.net/" +arch=('i686' 'x86_64') +license=('GPL') +depends=('kdebase' 'kdelibs' 'docbook-xsl') +makedepends=('cmake' 'automoc4') +install=${pkgname}.install +source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${_pkgver}.tar.bz2") +md5sums=('71120ee8a188a12f879a6f1330b6b472') + +build() { + cd ${srcdir} + mkdir build + cd build + cmake ../${pkgname}-${_pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr + make || return 1 +} + +package() { + cd ${srcdir}/build + make DESTDIR=${pkgdir} install || return 1 +} diff --git a/krusader/krusader.install b/krusader/krusader.install new file mode 100644 index 000000000..e70c054ec --- /dev/null +++ b/krusader/krusader.install @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/yakuake/PKGBUILD b/yakuake/PKGBUILD index e03043327..f059bbf60 100644 --- a/yakuake/PKGBUILD +++ b/yakuake/PKGBUILD @@ -8,7 +8,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf pkgname=yakuake -pkgver=2.9.6 +pkgver=2.9.7 pkgrel=1 pkgdesc="A KDE konsole application with the look and feel of that in the Quake engine" arch=('i686' 'x86_64') @@ -17,7 +17,7 @@ license=('GPL') depends=('kdebase-konsole') makedepends=('cmake' 'automoc4') source=("http://download.berlios.de/${pkgname}/${pkgname}-${pkgver}.tar.bz2") -md5sums=('d5cbb912596fd1b3a92fdb04fe46cee0') +md5sums=('c5a6d1f50ab9464d62563cdb18d6afb7') build() { cd ${srcdir}