aboutsummaryrefslogtreecommitdiffstats
path: root/main/libgcab/APKBUILD
blob: 7148f4e6f4831ec7c96659fad00349ee0efe0bb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=libgcab
pkgver=0.7
pkgrel=1
pkgdesc="A GObject library to create cabinet files"
url=" https://wiki.gnome.org/msitools"
arch="all"
license="GLPL2.1"
depends=""
depends_dev="gettext-dev"
makedepends="$depends_dev automake autoconf
	libtool gobject-introspection-dev
	intltool glib-dev gtk-doc py-six"
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

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"