aboutsummaryrefslogtreecommitdiffstats
path: root/main/libgee/APKBUILD
blob: a15ac32b903b5aaffce8c87eb3ce2d8ec539d17e (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libgee
pkgver=0.18.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 gobject-introspection-dev"
subpackages="$pkgname-dev"
source="http://ftp.gnome.org/pub/GNOME/sources/libgee/${_xy}/libgee-$pkgver.tar.xz"

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

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

sha512sums="b6e8be0f629c6df04db49a4be6b242280b87c6239af6294b39d8b0898331644cbed91f026302fd41aabf465510dc68c913d65085922bb5fee9b6af8947d207a5  libgee-0.18.1.tar.xz"