void-packages/srcpkgs/LoginKit-git/template

33 lines
949 B
Text
Raw Normal View History

2014-12-26 10:36:38 +00:00
# Template file for 'LoginKit-git'
pkgname=LoginKit-git
version=20141226
_githash="de851c4c1550a2f1389ba7f14aa738d94f8a4504"
_gitshort="${_githash:0:7}"
revision=1
build_style=gnu-makefile
hostmakedepends="pkg-config glib-devel"
makedepends="pam-devel libglib-devel"
depends="ConsoleKit2"
short_desc="Glue layer between ConsoleKit2 and logind's dbus interfaces"
maintainer="Enno Boland <g@s01.de>"
license="MIT"
homepage="https://github.com/dimkr/LoginKit"
distfiles="https://github.com/dimkr/LoginKit/archive/${_githash}.tar.gz"
checksum=60389ef27d40d2539a3dcd31780adebe80fc0e1f89988bbdd61b2300ff163633
wrksrc="LoginKit-$_githash"
pre_install() {
# Fix missing file error
ln libsystemd-journal/sd-journal.h libsystemd-journal/journal.h
}
LoginKit-git-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}