summaryrefslogtreecommitdiffstats
path: root/main/libgee/APKBUILD
blob: dba229d1b5a3cab3574add23618b55c270644ab2 (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.13.4
_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="50bc9b9cfe9c2f2c7b26b543476a6635  libgee-0.13.4.tar.xz"
sha256sums="9348b9f813227037dc4567f1bff44e776cf0bf9e61ad3eea44d9d4e21feafebf  libgee-0.13.4.tar.xz"
sha512sums="48ef05b0c4d8a6499a62d6d257d21c8b9d28e54d75606c66e080ae4ae4110e32a2587cb83d3f1c62105b60f5e0ed865a2f33ddf3eff9b4eb4cb1e67ba57574d9  libgee-0.13.4.tar.xz"