void-packages/srcpkgs/libXxf86dga/template

30 lines
751 B
Bash

# Template build file for 'libXxf86dga'.
pkgname=libXxf86dga
version=1.1.4
revision=3
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="xorgproto libXext-devel"
short_desc="Library for the XFree86-DGA X extension"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="${XORG_SITE}"
license="MIT"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=8eecd4b6c1df9a3704c04733c2f4fa93ef469b55028af5510b25818e2456c77e
post_install() {
vlicense COPYING
}
libXxf86dga-devel_package() {
depends="xorgproto libXext-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
vmove usr/share
}
}