void-packages/srcpkgs/libxkbfile/template

28 lines
666 B
Bash

# Template file for 'libxkbfile'
pkgname=libxkbfile
version=1.1.0
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="xorgproto libX11-devel"
short_desc="Xkbfile Library from X.org"
license="MIT"
homepage="$XORG_SITE"
distfiles="${XORG_SITE}/lib/${pkgname}-${version}.tar.bz2"
checksum=758dbdaa20add2db4902df0b1b7c936564b7376c02a0acd1f2a331bd334b38c7
post_install() {
vlicense COPYING
}
libxkbfile-devel_package() {
depends="xorgproto libX11-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}