aboutsummaryrefslogtreecommitdiffstats
path: root/main/libgee/APKBUILD
blob: 7a4f5f3cceca10d0e6edca1967b16abec7a94f8c (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
36
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libgee
pkgver=0.18.0
_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
	rm "$pkgdir"/usr/lib/*.la || return 1
}

md5sums="29ea6125e653d7e60b49a9a9544abc96  libgee-0.18.0.tar.xz"
sha256sums="4ad99ef937d071b4883c061df40bfe233f7649d50c354cf81235f180b4244399  libgee-0.18.0.tar.xz"
sha512sums="f3a6d7b6c07c9aabcfbe07116827395da962784e44216a8ea8f752b732e540339eb8c6af58beb9a77d4ecdecd1e09d4990d9aca7f04e9d6a510c8f9a6a79d1fc  libgee-0.18.0.tar.xz"