summaryrefslogtreecommitdiff
path: root/community/gnome-do
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-12-02 23:14:59 +0000
committerroot <root@rshg054.dnsready.net>2011-12-02 23:14:59 +0000
commit8eed59114cbcf729b65f87d3f73530f6c8363d20 (patch)
treedb7d4f28ed86bbb2681253cb8bae851030d111e3 /community/gnome-do
parent9e9ab642711f2424f828e21d14b98c45cdef2b29 (diff)
Fri Dec 2 23:14:59 UTC 2011
Diffstat (limited to 'community/gnome-do')
-rw-r--r--community/gnome-do/PKGBUILD25
-rw-r--r--community/gnome-do/gnome-do.install13
2 files changed, 26 insertions, 12 deletions
diff --git a/community/gnome-do/PKGBUILD b/community/gnome-do/PKGBUILD
index 08563abfa..287930240 100644
--- a/community/gnome-do/PKGBUILD
+++ b/community/gnome-do/PKGBUILD
@@ -1,28 +1,33 @@
-# $Id: PKGBUILD 51990 2011-07-18 20:45:07Z spupykin $
+# $Id: PKGBUILD 59852 2011-12-01 10:45:29Z spupykin $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: Doehni <dohny@gmx.de>
pkgname=gnome-do
pkgver=0.8.5
-pkgrel=1
+pkgrel=2
pkgdesc="A launcher application for gnome (like Launchy or Katapult)"
arch=('i686' 'x86_64')
url="http://do.davebsd.com/"
license=('GPL3')
-depends=('ndesk-dbus-glib' 'gnome-desktop-sharp' 'mono-addins' 'gtk2' 'gnome-vfs-sharp'
- 'gnome-keyring-sharp' 'notify-sharp-svn' 'xdg-utils' 'desktop-file-utils'
- 'gconf-sharp' 'libgnome-sharp')
-makedepends=('intltool' 'ca-certificates')
+depends=('gconf-sharp' 'libgnome-desktop-sharp' 'gnome-keyring-sharp' 'libgnome-sharp'
+ 'mono-addins' 'notify-sharp-svn' 'hicolor-icon-theme')
+makedepends=('intltool' 'ca-certificates' 'rsvg2-sharp' 'wnck-sharp')
options=('!libtool')
install=$pkgname.install
source=("http://edge.launchpad.net/do/trunk/$pkgver/+download/gnome-do-$pkgver.tar.gz")
md5sums=('71e0e653021f895f151a6f46a97f75ba')
build() {
- export MONO_SHARED_DIR="${srcdir}/.wabi"
- mkdir -p "${MONO_SHARED_DIR}"
- cd "${srcdir}/${pkgname}-$pkgver"
- ./configure --prefix=/usr --sysconfdir=/etc
+ export MONO_SHARED_DIR="$srcdir/.wabi"
+ mkdir -p "$MONO_SHARED_DIR"
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --disable-schemas-install \
+ --with-gconf-schema-file-dir=/usr/share/gconf/schemas
make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
}
diff --git a/community/gnome-do/gnome-do.install b/community/gnome-do/gnome-do.install
index b69cc3275..407103128 100644
--- a/community/gnome-do/gnome-do.install
+++ b/community/gnome-do/gnome-do.install
@@ -1,16 +1,25 @@
+pkgname=gnome-do
+
post_install() {
- update-desktop-database -q
+ usr/sbin/gconfpkg --install $pkgname
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
echo "==> To use docky, make sure your compoisiting manager is"
echo "==> running before launching gnome-do."
}
+pre_upgrade() {
+ pre_remove $1
+}
+
post_upgrade() {
post_install $1
}
+pre_remove() {
+ usr/sbin/gconfpkg --uninstall $pkgname
+}
+
post_remove() {
- update-desktop-database -q
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
}