aboutsummaryrefslogtreecommitdiffstats
path: root/main/glade3/APKBUILD
blob: d90ff8839649ea200757a00202bb43fbea993cf2 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=glade3
pkgver=3.8.5
pkgrel=5
pkgdesc="A RAD tool for rapid development of GTK+ user interfaces"
url="https://glade.gnome.org/"
arch="all"
license="LGPL-2.1+ AND GPL-2.0+"
depends=
makedepends="gtk+2.0-dev libxml2-dev paxmark"
install=
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/glade3/${pkgver%.*}/glade3-$pkgver.tar.xz"

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

check() {
	cd "$builddir"
	make check
}

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

sha512sums="722a33f1a1ec3baa785bf3c6f7f5ec2cbe7cf6fe44c9c26d33728de16f2856cbb1ace0cd38c5b5356081e326666cc82fd00f2b6af53bd06bb832079610042985  glade3-3.8.5.tar.xz"