# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=libgcab pkgver=0.7 pkgrel=3 pkgdesc="A GObject library to create cabinet files" url=" https://wiki.gnome.org/msitools" arch="all" license="LGPL-2.0-or-later" depends="" depends_dev="gettext-dev" makedepends="$depends_dev automake autoconf libtool gobject-introspection-dev intltool glib-dev gtk-doc" install="" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" source="https://download.gnome.org/sources/gcab/${pkgver:0:4}/gcab-$pkgver.tar.xz configure.patch " builddir="$srcdir"/gcab-$pkgver prepare() { default_prepare autoreconf -f -i } build() { cd "$builddir" ./configure \ --prefix=/usr \ --disable-nls make } check() { cd "$builddir" make check } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="db8c0b4ee2bc75b8bb540b4fe0e9304782b9848b3ab0ba3077638d13cdec652f6178206ec6474af036fba90e952ef0052dd9d19be9eb72bae97d98f8f18a0c02 gcab-0.7.tar.xz 110fe07dcc3fceffd174d6dd417e2906e63ad7ba4021ceae9d6c6b660a483e68530223c6bc65ae98a448b756930904c9bb320e0d8ed3a17f895d6986e90d3203 configure.patch"