aboutsummaryrefslogtreecommitdiffstats
path: root/community/xfce4-session/APKBUILD
blob: 3a886cbaebbaf9fb1d6808528819cb7beed4bfdf (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
45
46
47
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-session
pkgver=4.13.1
pkgrel=0
pkgdesc="A session manager for Xfce"
url="https://xfce.org/"
arch="all"
license="GPL-2.0+"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
depends="hicolor-icon-theme iceauth dbus-x11"
makedepends="libxfce4ui-dev xfconf-dev libwnck-dev libice-dev xfce4-panel-dev libwnck3-dev dbus-glib-dev"
install=
source="https://archive.xfce.org/src/xfce/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2
	busybox-shutdown.patch"

build() {
	cd "$builddir"

	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib/xfce4 \
		--localstatedir=/var \
		--disable-static \
		--enable-legacy-sm
	make
}

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

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
	# tips doesnt work and i dont like them.
	# just remove to save space
	rm -f "$pkgdir"/etc/xdg/autostart/xfce4-tips-autostart.desktop \
		"$pkgdir"/usr/bin/xfce4-tips
}

sha512sums="5845e3591919e23ca176199e81075a097ef9d65cbcf23b34d84afc649a307bfa8c6492e3a01855cacff9328da809725213ec1fa9d76024c0a0c25cce3c51da1b  xfce4-session-4.13.1.tar.bz2
745aea2738980b0e8960701af40246b9c3e17ad0c0eb55d1c4629feb7cde472218573c2b27de492c774ae0a5eb503c73088a65df76bde65c9f923edcce03920f  busybox-shutdown.patch"