aboutsummaryrefslogtreecommitdiffstats
path: root/community/xfce4-panel/APKBUILD
blob: 93e2a36dd6a4a2e142341b40d3bee03cbe238da4 (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.3
pkgrel=2
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 xfce4-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="99921ffc295b0e00689df50946ea326496c6fca68d6dfc6a563c0fb9e18bef1e537659963e3a0e6ee83756417565ac3531bc43e0e909dbb369068e4905bde045  xfce4-panel-4.13.3.tar.bz2"