void-packages/srcpkgs/LoginKit-git/template

29 lines
927 B
Text

# Template file for 'LoginKit-git'
pkgname=LoginKit-git
version=20150113
_githash="0db7389e44423150baa815647307e471f65d11bd"
_gitshort="${_githash:0:7}"
revision=2
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=a304f58c13f1ae1ed93f87da44ba17d498adfb01f6df54e5d724ee6722abbc8b
wrksrc="LoginKit-$_githash"
LoginKit-devel-git_package() {
depends="${sourcepkg}>=${version}_${revision}"
provides="LoginKit-git-devel-${version}_${revision}"
replaces="LoginKit-git-devel>=0"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}