void-packages/srcpkgs/scrot/template

30 lines
836 B
Bash

# Template file for 'scrot'
pkgname=scrot
version=1.8
revision=1
build_style=gnu-configure
make_install_args="docsdir=/usr/share/doc/scrot"
hostmakedepends="automake autoconf-archive pkg-config"
makedepends="libXcomposite-devel libXcursor-devel imlib2-devel libXinerama-devel
libmd-devel"
short_desc="Simple command-line screenshot utility for X"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="MIT"
homepage="https://github.com/resurrecting-open-source-projects/scrot"
distfiles="https://github.com/resurrecting-open-source-projects/scrot/archive/${version}.tar.gz"
checksum=2f151bf12ee60b6cb377d051901772afa1556d700ebc814b8ed90c54fca558bd
if [ "$XBPS_TARGET_LIBC" = musl ]; then
makedepends+=" musl-legacy-compat"
else
makedepends+=" libbsd-devel"
fi
pre_configure() {
./autogen.sh
}
post_install() {
vlicense COPYING
}