aboutsummaryrefslogtreecommitdiffstats
path: root/community/garcon/APKBUILD
blob: 37abe2ce37404346bcc6987f83c1efb5a6ad34af (plain) (blame)
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
41
42
43
44
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=garcon
pkgver=0.6.4
pkgrel=0
pkgdesc="a freedesktop.org compliant menu implementation based on GLib and GIO"
url="https://xfce.org/"
arch="all"
license="GPL-2.0-or-later"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
makedepends="glib-dev gtk+2.0-dev libxfce4ui-dev intltool libxfce4util-dev
	gtk-doc gobject-introspection-dev automake autoconf libtool
	xfce4-dev-tools"
source="$pkgname-$pkgver.tar.gz::https://github.com/xfce-mirror/garcon/archive/garcon-$pkgver.tar.gz"
replaces="xfdesktop"
builddir="$srcdir/garcon-garcon-$pkgver"

prepare() {
	default_prepare
	./autogen.sh
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib \
		--localstatedir=/var \
		--disable-static \
		--enable-introspection \
		--enable-gtk-doc
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="fcd90247355c4a4370c8528809a3ee70780d7eac896ab22a084a3f7fab7abdc8e56a8be55ea33765dc718b2150a5df52331de9981d6b00bdb627a40aeecb0953  garcon-0.6.4.tar.gz"