void-packages/srcpkgs/libXxf86dga/template

25 lines
719 B
Bash

# Template build file for 'libXxf86dga'.
pkgname=libXxf86dga
version=1.1.4
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="xf86dgaproto 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
libXxf86dga-devel_package() {
depends="xf86dgaproto 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
}
}