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

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

check() {
	make check
}

package() {
	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="ab67cb576ac4880f41cf8eec05539a733da066c50913c9c2c9116ed3129b342aa3ca005ea5b46a733780cd062a4454d530240d89660b6c48a2045c821f7c490f  xfce4-session-4.14.2.tar.bz2
7eab25f534bd4746cf7b8ce8f9245818e47eb0ee73af443c3846dd6d0e3002dced0892142364ce53b688118eafb6d43bbaca8683f85f6103958671328473410c  busybox-shutdown.patch"