diff --git a/srcpkgs/glib/glib-devel.template b/srcpkgs/glib/glib-devel.template index af5037b557..574255fdd2 100644 --- a/srcpkgs/glib/glib-devel.template +++ b/srcpkgs/glib/glib-devel.template @@ -5,16 +5,20 @@ long_desc="${long_desc} This package contains files for development, headers, static libs, etc." +revision=1 + Add_dependency run zlib-devel Add_dependency run pcre-devel Add_dependency run glib do_install() { - mkdir -p ${DESTDIR}/usr/lib - mkdir -p ${DESTDIR}/usr/share + mkdir -p ${DESTDIR}/usr/{lib,bin,share} - mv ${SRCPKGDESTDIR}/usr/bin ${DESTDIR}/usr + for f in $(find ${SRCPKGDESTDIR}/usr/bin -type f); do + [ "$(basename ${f})" = "gio-querymodules" ] && continue + mv ${f} ${DESTDIR}/usr/bin + done mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr mv ${SRCPKGDESTDIR}/usr/lib/glib-2.0 ${DESTDIR}/usr/lib mv ${SRCPKGDESTDIR}/usr/lib/*.so ${DESTDIR}/usr/lib diff --git a/srcpkgs/glib/template b/srcpkgs/glib/template index 6006b8017f..fcfcb6a5cd 100644 --- a/srcpkgs/glib/template +++ b/srcpkgs/glib/template @@ -1,6 +1,7 @@ # Template build file for 'glib' pkgname=glib version=2.24.0 +revision=1 distfiles="${GNOME_SITE}/glib/2.24/glib-$version.tar.bz2" configure_args="--disable-fam --with-pcre=system" build_style=gnu_configure