summaryrefslogtreecommitdiffstats
path: root/main/libgee/APKBUILD
blob: d992c76940b20f9c277657d9c7773d4fff7588db (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.6.8
_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="2688c24f9a12e7616ee808f9092d0afe  libgee-0.6.8.tar.xz"
sha256sums="a61f8d796173d41f6144a030d4bd22461f0bb3fa18a3ebe02341b315feebf5d3  libgee-0.6.8.tar.xz"
sha512sums="b26d36ee9fc0c5c214521ad97bc20f11f1191a3dab72a5f1af2f6435f51ff2f28e81ccb26fac399939c1a7eaad519db98032d3bc593a4052463acd91bb12902a  libgee-0.6.8.tar.xz"