aboutsummaryrefslogtreecommitdiffstats
path: root/main/glade3/APKBUILD
blob: ade5ea5dc0c31d1bc2103ceaba9bbfb24741e454 (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
42
43
44
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=glade3
pkgver=3.8.5
pkgrel=4
pkgdesc="a RAD tool to enable quick & easy development of user interfaces for GTK+"
url="http://glade.gnome.org/"
arch="all"
license="GPL"
depends=
makedepends="gtk+2.0-dev libxml2-dev paxmark"
install=
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="http://ftp.gnome.org/pub/GNOME/sources/glade3/${pkgver%.*}/glade3-$pkgver.tar.xz"

_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
	cd "$_builddir"
}

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 \
		|| return 1
	make || return 1
}

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

md5sums="4e4b4f5ee34a03e017e4cef97d796c1f  glade3-3.8.5.tar.xz"
sha256sums="58a5f6e4df4028230ddecc74c564808b7ec4471b1925058e29304f778b6b2735  glade3-3.8.5.tar.xz"
sha512sums="722a33f1a1ec3baa785bf3c6f7f5ec2cbe7cf6fe44c9c26d33728de16f2856cbb1ace0cd38c5b5356081e326666cc82fd00f2b6af53bd06bb832079610042985  glade3-3.8.5.tar.xz"