diff options
author | Photon89 | 2017-01-26 08:43:41 +0100 |
---|---|---|
committer | Photon89 | 2017-01-26 08:43:41 +0100 |
commit | 67a47db77bfae6b2b5f8b1675dc0be83eb260d43 (patch) | |
tree | 091c0c0e942998771270859e29b6b96dcd701245 | |
download | aur-67a47db77bfae6b2b5f8b1675dc0be83eb260d43.tar.gz |
Give libbonobo a second life in the AUR
-rw-r--r-- | .SRCINFO | 24 | ||||
-rw-r--r-- | PKGBUILD | 38 | ||||
-rw-r--r-- | bonobo-activation-config.xml | 13 | ||||
-rw-r--r-- | libbonobo.install | 7 |
4 files changed, 82 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..4a0cba3833bb --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,24 @@ +pkgbase = libbonobo + pkgdesc = A set of language and system independant CORBA interfaces for creating reusable components + pkgver = 2.32.1 + pkgrel = 4 + url = http://www.gnome.org + install = libbonobo.install + arch = i686 + arch = x86_64 + license = GPL + license = LGPL + makedepends = intltool + makedepends = pkgconfig + depends = orbit2 + depends = libxml2 + depends = glib2 + depends = popt + backup = etc/bonobo-activation/bonobo-activation-config.xml + source = https://download.gnome.org/sources/libbonobo/2.32/libbonobo-2.32.1.tar.bz2 + source = bonobo-activation-config.xml + sha256sums = 9160d4f277646400d3bb6b4fa73636cc6d1a865a32b9d0760e1e9e6ee624976b + sha256sums = 081de245c42de10ebeea3cbcd819c5ce5d0a15b9bdde9c2098302b1e14965af2 + +pkgname = libbonobo + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..cbab110c6b22 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: PhotonX <photon89@googlemail.com> +# Contributor: Jan de Groot <jgc@archlinux.org> + +pkgname=libbonobo +pkgver=2.32.1 +pkgrel=4 +pkgdesc="A set of language and system independant CORBA interfaces for creating reusable components" +arch=(i686 x86_64) +license=('GPL' 'LGPL') +depends=('orbit2' 'libxml2' 'glib2' 'popt') +makedepends=('intltool' 'pkgconfig') +backup=('etc/bonobo-activation/bonobo-activation-config.xml') +url="http://www.gnome.org" +source=(https://download.gnome.org/sources/libbonobo/2.32/libbonobo-${pkgver}.tar.bz2 + bonobo-activation-config.xml) +install=libbonobo.install +sha256sums=('9160d4f277646400d3bb6b4fa73636cc6d1a865a32b9d0760e1e9e6ee624976b' + '081de245c42de10ebeea3cbcd819c5ce5d0a15b9bdde9c2098302b1e14965af2') + +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}" + sed -i "s#-DG_DISABLE_DEPRECATED##" activation-server/Makefile.in +} + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc \ + --localstatedir=/var --disable-static \ + --libexecdir=/usr/lib/bonobo + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + install -m644 "${srcdir}/bonobo-activation-config.xml" "${pkgdir}/etc/bonobo-activation/" +} diff --git a/bonobo-activation-config.xml b/bonobo-activation-config.xml new file mode 100644 index 000000000000..3db19f79097e --- /dev/null +++ b/bonobo-activation-config.xml @@ -0,0 +1,13 @@ +<?xml version="1.0"?> + +<oafconfig> + +<searchpath> + <!-- Examples: --> + <item>/usr/lib/bonobo/servers</item> + <!-- <item>/usr/local/gnome2/lib/bonobo/servers</item> --> + <!-- <item>/usr/local/lib/bonobo/servers</item> --> + <!-- <item>/opt/gnome2/bonobo-activation/lib/bonobo/servers</item> --> +</searchpath> + +</oafconfig> diff --git a/libbonobo.install b/libbonobo.install new file mode 100644 index 000000000000..5cc04eba8dd5 --- /dev/null +++ b/libbonobo.install @@ -0,0 +1,7 @@ +post_upgrade() { + ldconfig -r . + PID=`pidof bonobo-activation-server` + if [ ! -z "${PID}" ]; then + killall -HUP bonobo-activation-server 2>&1 + fi +} |