void-packages/srcpkgs/libwacom/template

29 lines
863 B
Bash

# Template file for 'libwacom'
pkgname=libwacom
version=0.33
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libgudev-devel"
short_desc="Library to identify wacom tablets"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/linuxwacom/libwacom"
changelog="https://raw.githubusercontent.com/linuxwacom/libwacom/master/NEWS"
distfiles="https://github.com/linuxwacom/libwacom/releases/download/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
checksum=94f8a3371f30f4a38d6d2290f5160d5f5ba7a7cd6e63bee95686a67a3c19dbf2
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"
}
}