summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/libidl2
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2008-12-11 01:30:53 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2008-12-11 01:30:53 (GMT)
commit8417e5e3b118ed9e12563a3d4fceeb38b9e73d4f (patch)
tree99edff3d756441a12087ecd5053d9ca60536beff /abs/extra-testing/libidl2
parente649efa24662af962e6cbd7b9ece1bdd8f6a9340 (diff)
downloadlinhes_pkgbuild-8417e5e3b118ed9e12563a3d4fceeb38b9e73d4f.zip
linhes_pkgbuild-8417e5e3b118ed9e12563a3d4fceeb38b9e73d4f.tar.gz
linhes_pkgbuild-8417e5e3b118ed9e12563a3d4fceeb38b9e73d4f.tar.bz2
Deps for emulators and Miro.
Diffstat (limited to 'abs/extra-testing/libidl2')
-rw-r--r--abs/extra-testing/libidl2/PKGBUILD27
-rw-r--r--abs/extra-testing/libidl2/libidl2.install13
2 files changed, 40 insertions, 0 deletions
diff --git a/abs/extra-testing/libidl2/PKGBUILD b/abs/extra-testing/libidl2/PKGBUILD
new file mode 100644
index 0000000..685801d
--- /dev/null
+++ b/abs/extra-testing/libidl2/PKGBUILD
@@ -0,0 +1,27 @@
+# $Id: PKGBUILD 10037 2008-08-23 13:36:30Z jgc $
+# Maintainer: dorphell <dorphell@archlinux.org>
+# Committer: Judd Vinet <jvinet@zeroflux.org>
+
+pkgname=libidl2
+pkgver=0.8.11
+pkgrel=1
+pkgdesc="A front-end for CORBA 2.2 IDL and Netscape's XPIDL"
+arch=(i686 x86_64)
+license=('LGPL')
+depends=('glib2>=2.16.5')
+makedepends=('pkgconfig')
+install=libidl2.install
+options=('!libtool' '!emptydirs')
+source=(http://ftp.gnome.org/pub/gnome/sources/libIDL/0.8/libIDL-${pkgver}.tar.bz2)
+url="http://www.gnome.org"
+md5sums=('9d0d4895fc23f7de9514fb13f0fdc9ba')
+
+build() {
+ cd ${startdir}/src/libIDL-${pkgver}
+ ./configure --prefix=/usr || return 1
+ make || return 1
+ make DESTDIR=${startdir}/pkg install || return 1
+
+ rm -f ${pkgdir}/usr/share/info/dir
+ gzip -9nf ${pkgdir}/usr/share/info/*
+}
diff --git a/abs/extra-testing/libidl2/libidl2.install b/abs/extra-testing/libidl2/libidl2.install
new file mode 100644
index 0000000..38b3d56
--- /dev/null
+++ b/abs/extra-testing/libidl2/libidl2.install
@@ -0,0 +1,13 @@
+info_dir=/usr/share/info
+
+post_install() {
+ install-info ${info_dir}/libIDL2.info.gz ${info_dir}/dir 2> /dev/null
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ install-info --delete ${info_dir}/libIDL2.info.gz ${info_dir}/dir 2> /dev/null
+}