aboutsummaryrefslogtreecommitdiffstats
path: root/main/glade3/APKBUILD
blob: 3290b0d33c92dbe897c77dd2a3d8321b61434036 (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.0
pkgrel=3
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"
source="http://ftp.gnome.org/pub/GNOME/sources/glade3/${pkgver%.*}/glade3-$pkgver.tar.bz2"

_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="42f8b2dd01b9bfb8860bb3a5d978e1a2  glade3-3.8.0.tar.bz2"