diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/bug-buddy |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/bug-buddy')
-rw-r--r-- | extra/bug-buddy/PKGBUILD | 29 | ||||
-rw-r--r-- | extra/bug-buddy/bug-buddy.install | 24 |
2 files changed, 53 insertions, 0 deletions
diff --git a/extra/bug-buddy/PKGBUILD b/extra/bug-buddy/PKGBUILD new file mode 100644 index 000000000..871b6e10e --- /dev/null +++ b/extra/bug-buddy/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 91665 2010-09-27 15:48:02Z ibiru $ +# Maintainer: Jan de Groot <jgc@archlinux.org> + +pkgname=bug-buddy +pkgver=2.32.0 +pkgrel=1 +pkgdesc="A bug reporting tool for GNOME" +arch=(i686 x86_64) +install=bug-buddy.install +depends=('evolution-data-server>=2.32.0' 'libgtop>=2.28.1' 'elfutils' 'hicolor-icon-theme' 'libbonobo>=2.32.0') +makedepends=('intltool' 'pkgconfig' 'gnome-doc-utils>=0.20.1') +groups=('gnome-extra') +license=(GPL) +options=('!libtool' '!emptydirs') +url="http://www.gnome.org" +source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.32/${pkgname}-${pkgver}.tar.bz2) +sha256sums=('ffdc70fe4a59c0aef42b5b0b72b08f17db2b1d9f49ba2b68722334ddbee5e3ca') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var --disable-static + make + make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install + + install -m755 -d "${pkgdir}/usr/share/gconf/schemas" + gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain bug-buddy ${pkgdir}/etc/gconf/schemas/*.schemas + rm -f ${pkgdir}/etc/gconf/schemas/*.schemas +} diff --git a/extra/bug-buddy/bug-buddy.install b/extra/bug-buddy/bug-buddy.install new file mode 100644 index 000000000..eec3336ba --- /dev/null +++ b/extra/bug-buddy/bug-buddy.install @@ -0,0 +1,24 @@ +pkgname=bug-buddy + +post_install() { + usr/bin/gtk-query-immodules-2.0 > etc/gtk-2.0/gtk.immodules + usr/sbin/gconfpkg --install ${pkgname} + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +pre_upgrade() { + pre_remove $1 +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + usr/sbin/gconfpkg --uninstall ${pkgname} +} + +post_remove() { + usr/bin/gtk-query-immodules-2.0 > etc/gtk-2.0/gtk.immodules + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} |