aboutsummaryrefslogtreecommitdiffstats
path: root/main/libgee/APKBUILD
blob: 4156f08b518932b1c2c8251e668e8710d1987437 (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.12.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"
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="d9965e1797d76775ae440230f30585f8  libgee-0.12.0.tar.xz"
sha256sums="d106ed63fe0da5d5ee89aa8197a373cf9a2b96688cc3060144bfc0a022496ea5  libgee-0.12.0.tar.xz"
sha512sums="9bb9aaa64e5b6140fcb77fb03bb36167c5e64ef7ff004048984cb62c135e543f8897d13abe49cf83d9b96c0ee8907bd1f14ae4ae3efdb3d46699dca4101dcc67  libgee-0.12.0.tar.xz"