summaryrefslogtreecommitdiffstats
path: root/main/libgee/APKBUILD
blob: 43090ceb75ba479078d905312ea23ec68fe8d95c (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.14.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="059468d9905b3f34a899dbdf62e465a8  libgee-0.14.0.tar.xz"
sha256sums="08e466d3f214c9466860b5a82629de0de9eb89b1de7bd918fe154e569b5834cd  libgee-0.14.0.tar.xz"
sha512sums="80e7074fd9a5dfc9431d7d624a6121388e12e430ac539376973452e15eab143017541a2ad9fa312e813de313a2ea1a734a96418fa8a1e37da8ddbcf82e2c1df4  libgee-0.14.0.tar.xz"