aboutsummaryrefslogtreecommitdiffstats
path: root/main/libgcab/APKBUILD
blob: 73c417e0a9e7524d2300e90a8b4a55fe4ed5425e (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=libgcab
pkgver=0.7
pkgrel=0
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"
install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="$pkgname-$pkgver.tar.gz::https://github.com/GNOME/gcab/archive/v${pkgver}.tar.gz"

builddir="$srcdir"/gcab-$pkgver

build() {
	cd "$builddir"
	./autogen.sh
	./configure \
		--prefix=/usr \
		 --disable-nls
	make || return 1
}

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

md5sums="146d16bfad689a7dbccb8a0f585982c1  libgcab-0.7.tar.gz"
sha256sums="da1569630865e7f75f8d1780bcce232895da47f7dfa17b3631b65d15ab748e94  libgcab-0.7.tar.gz"
sha512sums="1124548d7b0de966ed5b13f63ecc0523bc76e619683fe30509d52e4acbeafd7c95e132f82635663fc5adf20ebee12a0aa521181759a5998f45a5c3a202465adc  libgcab-0.7.tar.gz"