void-packages/srcpkgs/libxkbfile/template

29 lines
718 B
Bash

# Template file for 'libxkbfile'
pkgname=libxkbfile
version=1.1.3
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=a9b63eea997abb9ee6a8b4fbb515831c841f471af845a09de443b28003874bec
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
}
}