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

build() {
	./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() {
	make check
}

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

sha512sums="14ea975a62a2e032e0f39c38d13e0717119ef15b44e0c30bc0d9f19850ebd1535cb05eb0d240c1c8aeb88f38c276fea3a2880cb8aa684b976726ced729e7f8cf  glade3-3.8.6.tar.xz"