void-packages/srcpkgs/libXdamage/template

29 lines
753 B
Bash

# Template file for 'libXdamage'
pkgname=libXdamage
version=1.1.5
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="xorgproto libXfixes-devel"
short_desc="Xdamage extension Library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="X11"
homepage="https://wiki.freedesktop.org/xorg/"
distfiles="${XORG_SITE}/lib/${pkgname}-${version}.tar.bz2"
checksum=b734068643cac3b5f3d2c8279dd366b5bf28c7219d9e9d8717e1383995e0ea45
post_install() {
vlicense COPYING
}
libXdamage-devel_package() {
depends="xorgproto libX11-devel libXfixes-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}