void-packages/srcpkgs/scrot/template

30 lines
838 B
Bash

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