aboutsummaryrefslogtreecommitdiffstats
path: root/extra/glib/APKBUILD
blob: caa05e011b09b32f3c51b77cf85be1c10e0ebd66 (plain) (blame)
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
# Maintainer: Carlo Landmeter <clandmeter at gmail.com>
pkgname=glib
pkgver=2.20.0
pkgrel=0
pkgdesc="Common C routines used by Gtk+ and other libs"
url="http://www.gtk.org"
license='GPL'
depends="gettext libiconv"
makedepends="gettext-dev libiconv-dev pkgconfig"
source="http://ftp.gnome.org/pub/gnome/sources/glib/${pkgver%.*}/glib-$pkgver.tar.bz2"
subpackages="$pkgname-doc $pkgname-dev"

build() {
	cd "$srcdir/$pkgname-$pkgver"

	./configure --prefix=/usr \
	--mandir=/usr/share/man
	make || return 1
	make DESTDIR="$pkgdir/" install
}

# move the stuff in /usr/bin to the glib-dev package
dev() {
	default_dev
	depends="$depends perl"
	mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
}

md5sums="05188e560dbd8bddd568e24ce10dd003  glib-2.20.0.tar.bz2"