aboutsummaryrefslogtreecommitdiffstats
path: root/main/libgee/APKBUILD
blob: 3fe33d13b680c420291bf4ea5016dbf5c6440653 (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.16.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
	rm "$pkgdir"/usr/lib/*.la || return 1
}

md5sums="d30cf203784431b0fdc3216b1acd999c  libgee-0.16.1.tar.xz"
sha256sums="d95f8ea8e78f843c71b1958fa2fb445e4a325e4821ec23d0d5108d8170e564a5  libgee-0.16.1.tar.xz"
sha512sums="610c0e6001a4f5cc7d16bd61956cc347aafa7f1402838d7735bbf049e6448ff6e62fe8546665452e21dec4fc9fcb97d0de209c69e6bda2fa67ae6ea66c00f11f  libgee-0.16.1.tar.xz"