diff --git a/srcpkgs/gcab-devel b/srcpkgs/gcab-devel new file mode 120000 index 00000000000..d9386652d10 --- /dev/null +++ b/srcpkgs/gcab-devel @@ -0,0 +1 @@ +gcab \ No newline at end of file diff --git a/srcpkgs/gcab/template b/srcpkgs/gcab/template new file mode 100644 index 00000000000..c61ca1c0689 --- /dev/null +++ b/srcpkgs/gcab/template @@ -0,0 +1,29 @@ +# Template file for 'gcab' +pkgname=gcab +version=0.7 +revision=1 +build_style=gnu-configure +hostmakedepends="glib-devel intltool pkg-config" +makedepends="glib-devel" +short_desc="A GObject library to create cabinet files" +maintainer="Enno Boland " +license="GPL-2" +homepage="https://wiki.gnome.org/msitools" +distfiles="${GNOME_SITE}/${pkgname}/${version}/${pkgname}-${version}.tar.xz" +checksum=a16e5ef88f1c547c6c8c05962f684ec127e078d302549f3dfd2291e167d4adef +configure_args="--disable-gtk-doc" + +post_install() { + rm -r $DESTDIR/usr/share/gtk-doc +} + +gcab-devel_package() { + depends="${sourcepkg}>=${version}_${revision} glib-devel" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + vmove "usr/lib/*.so" + } +}