APKBUILD 1.17 KB
Newer Older
1 2 3 4
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=libgcab
pkgver=0.7
5
pkgrel=2
6 7 8
pkgdesc="A GObject library to create cabinet files"
url=" https://wiki.gnome.org/msitools"
arch="all"
9
license="LGPL-2.0-or-later"
10 11
depends=""
depends_dev="gettext-dev"
12 13
makedepends="$depends_dev automake autoconf
	libtool gobject-introspection-dev
14
	intltool glib-dev gtk-doc py-six"
15 16
install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
17
source="https://download.gnome.org/sources/gcab/${pkgver:0:4}/gcab-$pkgver.tar.xz
18 19
        configure.patch
       "
20 21
builddir="$srcdir"/gcab-$pkgver

22 23 24 25 26
prepare() {
	default_prepare
	autoreconf -f -i
}

27 28 29 30 31
build() {
	cd "$builddir"
	./configure \
		--prefix=/usr \
		 --disable-nls
32 33 34 35 36 37
	make
}

check() {
	cd "$builddir"
	make check
38 39 40 41 42 43 44
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

45 46
sha512sums="db8c0b4ee2bc75b8bb540b4fe0e9304782b9848b3ab0ba3077638d13cdec652f6178206ec6474af036fba90e952ef0052dd9d19be9eb72bae97d98f8f18a0c02  gcab-0.7.tar.xz
110fe07dcc3fceffd174d6dd417e2906e63ad7ba4021ceae9d6c6b660a483e68530223c6bc65ae98a448b756930904c9bb320e0d8ed3a17f895d6986e90d3203  configure.patch"