aboutsummaryrefslogtreecommitdiffstats
path: root/main/glade/APKBUILD
blob: c5db536970931f010ab3b11625ef3a9f6a90336d (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=glade
pkgver=3.22.0
pkgrel=0
pkgdesc="User Interface Designer for GTK+ and GNOME"
url="https://glade.gnome.org/"
arch="all"
license="GPL"
makedepends="gtk+3.0-dev libxml2-dev itstool gtk-doc paxmark"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/glade/${pkgver%.*}/glade-$pkgver.tar.xz"

builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--enable-compile-warnings=no \
		--enable-gtk-doc
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" DATADIRNAME=share install
	paxmark -r "$pkgdir"/usr/bin/glade
}

sha512sums="6f85ec817a4236e4f69848e79510658119cdf54e017ff13fb12af63bee8a6ce1fc0376673b44a57b5ae2a74cb8b42fe0edcde69b4e9bb937caffe4b23d88edbe  glade-3.22.0.tar.xz"