void-packages/srcpkgs/libXpm/template
2016-12-15 19:00:56 +00:00

24 lines
690 B
Bash

# Template build file for 'libXpm'.
pkgname=libXpm
version=3.5.12
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="xproto libSM-devel libXext-devel libXt-devel"
short_desc="X PixMap Library from modular Xorg X11"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="${XORG_SITE}"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=fd6a6de3da48de8d1bb738ab6be4ad67f7cb0986c39bd3f7d51dd24f7854bdec
libXpm-devel_package() {
depends="libX11-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
}
}