void-packages/srcpkgs/libxkbfile/template

29 lines
718 B
Bash

# Template file for 'libxkbfile'
pkgname=libxkbfile
version=1.1.2
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="xorgproto libX11-devel"
short_desc="Xkbfile Library from X.org"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://www.x.org/"
distfiles="${XORG_SITE}/lib/libxkbfile-${version}.tar.xz"
checksum=b8a3784fac420b201718047cfb6c2d5ee7e8b9481564c2667b4215f6616644b1
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
}
}