36 lines
1.2 KiB
Bash
36 lines
1.2 KiB
Bash
# Template file for 'xfce4-session'
|
|
pkgname=xfce4-session
|
|
version=4.12.1
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static --enable-upower --enable-polkit"
|
|
hostmakedepends="xfce4-dev-tools pkg-config intltool gettext-devel glib-devel iceauth"
|
|
makedepends="libxfce4ui-devel dbus-glib-devel upower0-devel
|
|
libwnck2-devel xfce4-panel-devel libSM-devel polkit-devel"
|
|
depends="iceauth hicolor-icon-theme desktop-file-utils"
|
|
conf_files="/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml"
|
|
short_desc="The session manager for the XFCE desktop environment"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="GPL-2"
|
|
homepage="http://xfce.org"
|
|
distfiles="http://archive.xfce.org/src/xfce/$pkgname/${version%.*}/$pkgname-$version.tar.bz2"
|
|
checksum=97d7f2a2d0af7f3623b68d1f04091e02913b28f9555dab8b0d26c8a1299d08fd
|
|
|
|
pre_configure() {
|
|
mkdir m4
|
|
NOCONFIGURE=1 xdt-autogen
|
|
}
|
|
post_install() {
|
|
# startxfce4 needs bash.
|
|
replace_interpreter bash ${DESTDIR}/usr/bin/startxfce4
|
|
}
|
|
|
|
xfce4-session-devel_package() {
|
|
depends="libxfce4ui-devel>=4.12 ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|