aboutsummaryrefslogtreecommitdiffstats
path: root/main/glade3/APKBUILD
blob: c4e8b846c35c53a39b096199e934c34b7fd05dcb (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=glade3
pkgver=3.8.0
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"
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
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install
}

md5sums="42f8b2dd01b9bfb8860bb3a5d978e1a2  glade3-3.8.0.tar.bz2"