aboutsummaryrefslogtreecommitdiffstats
path: root/main/garcon/APKBUILD
blob: 2b0cb10f4be0a06a4d065a83b71b0ef320465519 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=garcon
pkgver=0.2.1
pkgrel=0
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=
makedepends="glib-dev intltool libxfce4util-dev"
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="c3cf89c836be0ddb281c81e4808fb68b  garcon-0.2.1.tar.bz2"
sha256sums="48b644b8b2ffe597974e2526ca1a5d2d7da6a09c2d434f008dec80e9152701f7  garcon-0.2.1.tar.bz2"
sha512sums="2ef784419e58ef3bffef94061735fcf814fb313d16c6bed4d3a1aa86982fccce8ba582b708ff19260c80708fa132b789b4dc81963193484320c86ab3f0d7b003  garcon-0.2.1.tar.bz2"