diff options
Diffstat (limited to 'abs/extra/libidl2')
-rw-r--r-- | abs/extra/libidl2/PKGBUILD | 27 | ||||
-rw-r--r-- | abs/extra/libidl2/libidl2.install | 13 |
2 files changed, 40 insertions, 0 deletions
diff --git a/abs/extra/libidl2/PKGBUILD b/abs/extra/libidl2/PKGBUILD new file mode 100644 index 0000000..488909a --- /dev/null +++ b/abs/extra/libidl2/PKGBUILD @@ -0,0 +1,27 @@ +# $Id: PKGBUILD 30208 2009-03-17 17:59:14Z jgc $ +# Maintainer: dorphell <dorphell@archlinux.org> +# Committer: Judd Vinet <jvinet@zeroflux.org> + +pkgname=libidl2 +pkgver=0.8.13 +pkgrel=1 +pkgdesc="A front-end for CORBA 2.2 IDL and Netscape's XPIDL" +arch=(i686 x86_64) +license=('LGPL') +depends=('glib2>=2.20.0' 'texinfo') +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=('b43b289a859eb38a710f70622c46e571') + +build() { + cd "${srcdir}/libIDL-${pkgver}" + ./configure --prefix=/usr || return 1 + make || return 1 + make DESTDIR="${pkgdir}" install || return 1 + + rm -f "${pkgdir}/usr/share/info/dir" + gzip -9nf "${pkgdir}/usr/share/info/"* +} diff --git a/abs/extra/libidl2/libidl2.install b/abs/extra/libidl2/libidl2.install new file mode 100644 index 0000000..38b3d56 --- /dev/null +++ b/abs/extra/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 +} |