void-packages/srcpkgs/scrot/template
Leah Neukirchen 6a44acb844 scrot: adopt.
2022-02-01 22:29:21 +01:00

29 lines
832 B
Bash

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