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