32 lines
926 B
Bash
32 lines
926 B
Bash
# Template file for 'scrot'
|
|
pkgname=scrot
|
|
version=1.11.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=ea9949e80c3c60e335768402f66adad1b119b4c4e9b1daf90dff290f3c1114eb
|
|
|
|
if [ "$XBPS_TARGET_LIBC" = musl ]; then
|
|
makedepends+=" musl-legacy-compat"
|
|
else
|
|
makedepends+=" libbsd-devel"
|
|
fi
|
|
|
|
pre_configure() {
|
|
./autogen.sh
|
|
}
|
|
|
|
post_install() {
|
|
vcompletion etc/bash-completion/scrot bash
|
|
vcompletion etc/zsh-completion/_scrot zsh
|
|
vlicense COPYING
|
|
}
|