libglade: (un)register XML catalogs in the chroot.

--HG--
extra : convert_revision : 4c893052382fd63f8ac54b997674d118b6f53097
This commit is contained in:
Juan RP 2010-04-23 15:29:47 +02:00
parent b11b6c7977
commit 9294a3a53d
2 changed files with 13 additions and 4 deletions

View file

@ -5,7 +5,7 @@ long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
revision=2
revision=3
Add_dependency run pkg-config
Add_dependency run python
@ -26,7 +26,6 @@ do_install()
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/bin ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/lib*.*a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/lib*.so ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/share/gtk-doc ${DESTDIR}/usr/share
}

View file

@ -1,7 +1,7 @@
# Template build file for 'libglade'.
pkgname=libglade
version=2.6.4
revision=1
revision=2
distfiles="${GNOME_SITE}/$pkgname/2.6/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--without-xml-catalog"
@ -20,7 +20,7 @@ long_desc="
connection."
# Register DTDs with xmlcatmgr.
xml_entries="system http://glade.gnome.org/glade-2.0.dtd
export xml_entries="system http://glade.gnome.org/glade-2.0.dtd
/usr/share/xml/libglade/glade-2.0.dtd"
subpackages="$pkgname-devel"
@ -44,3 +44,13 @@ Add_dependency build cairo-devel
Add_dependency build freetype-devel
Add_dependency build fontconfig-devel
Add_dependency full xmlcatmgr
post_install()
{
cd ${XBPS_MASTERDIR} && ${XBPS_TRIGGERSDIR}/xml-catalog run post-install
}
pre_remove()
{
cd ${XBPS_MASTERDIR} && ${XBPS_TRIGGERSDIR}/xml-catalog run pre-remove
}