summaryrefslogtreecommitdiffstats
path: root/main/garcon/APKBUILD
blob: ff32a086f319af2a04c4cc4e72c1df812fb8b231 (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
37
38
39
40
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=garcon
pkgver=0.2.1
pkgrel=1
pkgdesc="a freedesktop.org compliant menu implementation based on GLib and GIO"
url="http://www.xfce.org/"
arch="all"
license="GPL-2"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
depends=
depends_dev="glib-dev"
makedepends="$depends_dev intltool libxfce4util-dev gtk-doc"
install=
source="http://archive.xfce.org/src/libs/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2"
replaces="xfdesktop"

build() {
	cd "$srcdir"/$pkgname-$pkgver
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib \
		--localstatedir=/var \
		--disable-static \
		--enable-gtk-doc \
		|| return 1
	make
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install || return 1
	rm "$pkgdir"/usr/lib/*.la
}

md5sums="c3cf89c836be0ddb281c81e4808fb68b  garcon-0.2.1.tar.bz2"
sha256sums="48b644b8b2ffe597974e2526ca1a5d2d7da6a09c2d434f008dec80e9152701f7  garcon-0.2.1.tar.bz2"
sha512sums="2ef784419e58ef3bffef94061735fcf814fb313d16c6bed4d3a1aa86982fccce8ba582b708ff19260c80708fa132b789b4dc81963193484320c86ab3f0d7b003  garcon-0.2.1.tar.bz2"