summaryrefslogtreecommitdiffstats
path: root/main/libglade/APKBUILD
blob: b999bd4ae4fb2eb2826a3c41527049e15c7db127 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libglade
pkgver=2.6.4
pkgrel=0
pkgdesc="Allows you to load glade interface files in a program at runtime"
url="http://www.gnome.org"
license="LGPL"
subpackages="$pkgname-dev $pkgname-doc"
makedepends="python pkgconfig gtk+-dev libxml2-dev gettext-dev libiconv-dev
	expat-dev"
install="$pkgname.post-install $pkgname.pre-upgrade $pkgname.post-upgrade
	$pkgname.post-deinstall"
source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/2.6/$pkgname-$pkgver.tar.bz2
	$pkgname-2.0.1-nowarning.patch
	$install
	"

depends_dev="gtk+-dev libxml2-dev"
build ()
{
	cd "$srcdir"/$pkgname-$pkgver
	patch -Np1 -i "$srcdir"/libglade-2.0.1-nowarning.patch || return 1
	./configure --sysconfdir=/etc \
		--prefix=/usr \
		--localstatedir=/var || return 1
	make || return 1
	make DESTDIR="$pkgdir" install || return 1
	install -m755 libglade-convert "$pkgdir"/usr/bin/ || return 1
}
md5sums="d1776b40f4e166b5e9c107f1c8fe4139  libglade-2.6.4.tar.bz2
4f879c0ce550004905aa0fb24f25c353  libglade-2.0.1-nowarning.patch
9083bddf8edd4a116bec36df3866e9bf  libglade.post-install
964867abf7ceafdce9640b08f34ce090  libglade.pre-upgrade
9083bddf8edd4a116bec36df3866e9bf  libglade.post-upgrade
964867abf7ceafdce9640b08f34ce090  libglade.post-deinstall"