aboutsummaryrefslogtreecommitdiffstats
path: root/community/xfce4-panel/APKBUILD
blob: f7d50c40e22d42c64dd72e332ebee9654987ca6b (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
41
42
43
44
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-panel
pkgver=4.13.4
pkgrel=0
pkgdesc="Panel for the Xfce desktop environment"
url="https://xfce.org/"
arch="all"
license="GPL-2.0+, LGPL-2.1+"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
depends="hicolor-icon-theme"
depends_dev="libxfce4util-dev gtk+2.0-dev gtk+3.0-dev xfconf-dev"
makedepends="$depends_dev libxfce4ui-dev exo-dev garcon-dev libwnck3-dev
	gobject-introspection-dev vala"
source="https://archive.xfce.org/src/xfce/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2"

builddir="$srcdir"/$pkgname-$pkgver

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

check() {
	cd "$builddir"
	make check
}

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

sha512sums="16a3680aa2ab7fa357ca9d477ea0e41ca159a2c626fe65454ccdca339bb501ff0979264f5a4ae4728e3c0efe24e193eb28e7b5d1e003fecad8ab36b8457203c8  xfce4-panel-4.13.4.tar.bz2"