void-packages/srcpkgs/libwacom/template
2018-08-09 18:02:30 -03:00

29 lines
858 B
Bash

# Template file for 'libwacom'
pkgname=libwacom
version=0.31
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libgudev-devel"
short_desc="Library to identify wacom tablets"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
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=18d58c254bee88527f5d58f6fd18458a9f0097641a1ee116dc2b6950619fbf03
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
}
}