void-packages/srcpkgs/scrot/template

30 lines
837 B
Bash

# Template file for 'scrot'
pkgname=scrot
version=1.10
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=5f18f5234964513409141eb08b268c83e9e5d340062de37c3a04772be4bf4058
if [ "$XBPS_TARGET_LIBC" = musl ]; then
makedepends+=" musl-legacy-compat"
else
makedepends+=" libbsd-devel"
fi
pre_configure() {
./autogen.sh
}
post_install() {
vlicense COPYING
}