void-packages/srcpkgs/xcb-util-keysyms/template

30 lines
852 B
Bash

# Template file for 'xcb-util-keysyms'
pkgname=xcb-util-keysyms
version=0.4.0
revision=4
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config"
makedepends="libxcb-devel xcb-util-devel"
short_desc="Utility libraries for XCB - key constants and keycode conversion"
maintainer="Orphaned <orphan@voidlinux.org>"
license="X11"
homepage="https://xcb.freedesktop.org"
distfiles="https://xcb.freedesktop.org/dist/xcb-util-keysyms-${version}.tar.bz2"
checksum=0ef8490ff1dede52b7de533158547f8b454b241aa3e4dcca369507f66f216dd9
post_install() {
head -n30 keysyms/keysyms.c > LICENSE
vlicense LICENSE
}
xcb-util-keysyms-devel_package() {
depends="libxcb-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}