aboutsummaryrefslogtreecommitdiffstats
path: root/community/xfce4-session/APKBUILD
blob: 4c5e29e486a01deec00190cbba65fe03eed00f7e (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
45
46
47
48
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-session
pkgver=4.13.2
pkgrel=0
pkgdesc="A session manager for Xfce"
url="https://xfce.org/"
arch="all"
license="GPL-2.0-or-later"
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="cb1e63a3df9c4ac3efcb0cce20cb5528f9d1a46731ad4b32634ad5f4a53711f05b40d98464bfd562b4e3d42b2555827ece03e63c6a433e879fa0f0a4ccda6a57  xfce4-session-4.13.2.tar.bz2
7eab25f534bd4746cf7b8ce8f9245818e47eb0ee73af443c3846dd6d0e3002dced0892142364ce53b688118eafb6d43bbaca8683f85f6103958671328473410c  busybox-shutdown.patch"