blob: dcc3d46688822e4f1f5e25b4579fd12d1a5ce11b (
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
|
# Maintainer: Carlo Landmeter <clandmeter at gmail.com>
pkgname=glib
pkgver=2.18.4
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/2.18/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="ec25ed261534d870141000ab73f1a2bf glib-2.18.4.tar.bz2"
|