summaryrefslogtreecommitdiffstats
path: root/abs/extra/libbonobo
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/libbonobo')
-rw-r--r--abs/extra/libbonobo/PKGBUILD20
1 files changed, 14 insertions, 6 deletions
diff --git a/abs/extra/libbonobo/PKGBUILD b/abs/extra/libbonobo/PKGBUILD
index 177b162..153464c 100644
--- a/abs/extra/libbonobo/PKGBUILD
+++ b/abs/extra/libbonobo/PKGBUILD
@@ -1,15 +1,14 @@
-# $Id: PKGBUILD 151065 2012-02-24 17:44:58Z ibiru $
+# $Id: PKGBUILD 198129 2013-10-30 12:57:52Z allan $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=libbonobo
pkgver=2.32.1
-pkgrel=2
+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')
-makedepends=('intltool' 'pkgconfig' 'flex')
-options=('!libtool')
+depends=('orbit2' 'libxml2' 'glib2' 'popt')
+makedepends=('intltool' 'pkgconfig')
backup=('etc/bonobo-activation/bonobo-activation-config.xml')
url="http://www.gnome.org"
source=(http://ftp.gnome.org/pub/gnome/sources/libbonobo/2.32/libbonobo-${pkgver}.tar.bz2
@@ -18,12 +17,21 @@ 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 --sysconfdir=/etc \
+ ./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/"
}