30 lines
796 B
Bash
30 lines
796 B
Bash
|
# 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 <gottox@voidlinux.eu>"
|
||
|
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"
|
||
|
}
|
||
|
}
|