summaryrefslogtreecommitdiffstats
path: root/main/libgee/APKBUILD
blob: 9a65d08a6e889bb92a96d5193d01cc178ca29b52 (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: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libgee
pkgver=0.6.2.1
_rest=${pkgver#*.*.}
_xy=${pkgver%.$_rest}
pkgrel=0
pkgdesc="GObject collection library"
url="http://live.gnome.org/Libgee"
arch="all"
license="LGPL2.1"
depends=""
makedepends=" glib-dev"
subpackages="$pkgname-dev"
source="http://ftp.gnome.org/pub/GNOME/sources/libgee/${_xy}/libgee-$pkgver.tar.bz2"

_builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$srcdir/$pkgname-$pkgver"
	./configure --prefix=/usr --disable-static || return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	rm "$pkgdir"/usr/lib/*.la || return 1
}

md5sums="9c95ab9462179610d39df3c5a0911f3b  libgee-0.6.2.1.tar.bz2"