diff --git a/srcpkgs/pygobject-devel b/srcpkgs/pygobject-devel new file mode 120000 index 0000000000..3ce0c70e55 --- /dev/null +++ b/srcpkgs/pygobject-devel @@ -0,0 +1 @@ +pygobject \ No newline at end of file diff --git a/srcpkgs/pygobject/pygobject-devel.template b/srcpkgs/pygobject/pygobject-devel.template new file mode 100644 index 0000000000..9b5952d349 --- /dev/null +++ b/srcpkgs/pygobject/pygobject-devel.template @@ -0,0 +1,15 @@ +# Template file for 'pygobject-devel'. +# +short_desc="${sourcepkg} development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run pygobject + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/{bin,include,share} ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib +} diff --git a/srcpkgs/pygobject/template b/srcpkgs/pygobject/template index 72f1264f7b..e42c54fde5 100644 --- a/srcpkgs/pygobject/template +++ b/srcpkgs/pygobject/template @@ -1,7 +1,7 @@ # Template file for 'pygobject' pkgname=pygobject version=2.20.0 -revision=1 +revision=2 distfiles="${GNOME_SITE}/$pkgname/2.20/$pkgname-$version.tar.bz2" build_style=gnu_configure short_desc="Python bindings for GObject" @@ -10,14 +10,16 @@ checksum=41e923a3f4426a3e19f6d154c424e3dac6f39defca77af602ac6272ce270fa81 long_desc=" Pygobject is a set of Python bindings for the GLib's GObject library." -Add_dependency run glib +subpackages="$pkgname-devel" + Add_dependency run glibc +Add_dependency run glib Add_dependency run libffi Add_dependency run gobject-introspection Add_dependency run python Add_dependency build pkg-config -Add_dependency build glib-devel Add_dependency build glibc-devel +Add_dependency build glib-devel Add_dependency build libffi-devel Add_dependency build gobject-introspection-devel Add_dependency build python-devel