void-packages/srcpkgs/libwacom/template

29 lines
794 B
Bash

# Template file for 'libwacom'
pkgname=libwacom
version=0.30
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libglib-devel libgudev-devel"
short_desc="Library to identify wacom tablets"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="https://github.com/linuxwacom/libwacom"
distfiles="https://github.com/linuxwacom/libwacom/releases/download/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
checksum=523408680514c0f01052e478503d8e89f86d72ddc7129fdd63988c221c492259
post_install() {
vlicense COPYING
}
libwacom-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.a
vmove usr/lib/*.so
}
}