void-packages/srcpkgs/libXmu/template

29 lines
745 B
Bash

# Template file for 'libXmu'
pkgname=libXmu
version=1.2.1
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libXext-devel libXt-devel"
short_desc="X Miscellaneous Utilities library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://wiki.freedesktop.org/xorg/"
distfiles="${XORG_SITE}/lib/${pkgname}-${version}.tar.xz"
checksum=fcb27793248a39e5fcc5b9c4aec40cc0734b3ca76aac3d7d1c264e7f7e14e8b2
post_install() {
vlicense COPYING
}
libXmu-devel_package() {
depends="xorgproto libXext-devel libXt-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
}
}