44 lines
1.5 KiB
Bash
44 lines
1.5 KiB
Bash
# Template file for 'ConsoleKit2'
|
|
pkgname=ConsoleKit2
|
|
version=1.1.0.1
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="ac_cv_file__sys_class_tty_tty0_active=yes
|
|
--with-rundir=/run --enable-udev-acl --enable-pam-module
|
|
--with-pam-module-dir=/usr/lib/security"
|
|
hostmakedepends="git automake libtool pkg-config gettext-devel glib-devel"
|
|
makedepends="acl-devel eudev-libudev-devel polkit-devel glib-devel libX11-devel pam-devel libcgmanager-devel"
|
|
depends="dbus cgmanager"
|
|
short_desc="A framework for defining and tracking users, login sessions, and seats"
|
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
|
homepage="http://consolekit2.github.io/ConsoleKit2/"
|
|
license="GPL-2"
|
|
#distfiles="https://github.com/ConsoleKit2/ConsoleKit2/releases/download/${version}/ConsoleKit2-${version}.tar.bz2"
|
|
_gitcommit="8f1794996638dc3829cb1d2562a5601d055e0b91"
|
|
wrksrc="${pkgname}-${_gitcommit}"
|
|
distfiles="https://github.com/ConsoleKit2/ConsoleKit2/archive/${_gitcommit}.tar.gz"
|
|
checksum=e74f5efe79a11da56a7bb4526ef92b6246006e0470f4591d94b24db9f6ed8659
|
|
|
|
make_dirs="
|
|
/etc/ConsoleKit/run-seat.d 0755 root root
|
|
/etc/ConsoleKit/run-session.d 0755 root root
|
|
/usr/lib/ConsoleKit/run-session.d 0755 root root
|
|
/usr/lib/ConsoleKit/run-seat.d 0755 root root"
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
post_install() {
|
|
vsv consolekit
|
|
}
|
|
|
|
ConsoleKit2-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="dbus-devel ${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/*.so
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|