summaryrefslogtreecommitdiffstats
path: root/main/glade3/APKBUILD
blob: 102ab32c11086b919849c7e1f58d007e9fa16d0b (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=glade3
pkgver=3.8.2
pkgrel=0
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"
install=
subpackages="$pkgname-dev $pkgname-doc $pkgname-dev $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 --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--disable-scrollkeeper \
		--disable-gnome \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	rm "$pkgdir"/usr/lib/*.la \
		"$pkgdir"/usr/lib/glade3/modules/*.la
}

md5sums="b5da0ce717b2dc710e93a10b97c0f9ce  glade3-3.8.2.tar.xz"