aboutsummaryrefslogtreecommitdiffstats
path: root/main/glade3/APKBUILD
blob: 1d748621afa239ca53f1c90a0bc3feba89b03bfb (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.3
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 \
		--build=$CBUILD \
		--host=$CHOST \
		--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="94097855519eb67ce195fe26b2c3277d  glade3-3.8.3.tar.xz"
sha256sums="84bb2d7f782f203e4aab923e47db8d22529229b13e59570945261611c63941d6  glade3-3.8.3.tar.xz"
sha512sums="9199c1852dba74b6591630c7b8c166edb10a653e801ec867c514313375e6a7912473b0be7db696ea5c89e06fa250bcd9c0b5602d39eba4e6e6a8cb397bf11974  glade3-3.8.3.tar.xz"