summaryrefslogtreecommitdiffstats
path: root/main/garcon/APKBUILD
blob: 18b3516d8afbbae2d8d7c15d4adf5fb75251904e (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=garcon
pkgver=0.1.7
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"
depends=
makedepends="glib-dev intltool" 
install=
source="http://archive.xfce.org/src/libs/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2"
depends_dev="glib-dev"
replaces="xfdesktop"

build() {
	cd "$srcdir"/$pkgname-$pkgver
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib \
		--localstatedir=/var \
		--disable-static
	make
}

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

md5sums="8990668e4f2fecffe124f613b6e1e01f  garcon-0.1.7.tar.bz2"