summaryrefslogtreecommitdiff
path: root/user/libglade/APKBUILD
blob: d7edf5531e838532bedd266b69840619f5f62067 (plain) (blame)
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
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=libglade
pkgver=2.6.4
pkgrel=0
pkgdesc="GUI construction toolkit for GTK+ 2"
url="https://gnome.org"
arch="all"
license="LGPL-2.0+ AND GPL-2.0+"
depends=""
makedepends="gtk+2.0-dev libxml2-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://download.gnome.org/sources/libglade/${pkgver%.*}/libglade-$pkgver.tar.bz2"

prepare() {
	default_prepare
	update_config_sub
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

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

sha512sums="b725842febaf4c1f0d305a629ae1c61ea2de24dd6f41937e806c078fada2cea483195ef40f5238ce2045e47130c92559e984f677de667b840dd7fff0f8559735  libglade-2.6.4.tar.bz2"