void-packages/srcpkgs/slop/template

19 lines
641 B
Bash

# Template file for 'slop'
pkgname=slop
version=4.2.18
revision=1
build_style=cmake
hostmakedepends="pkg-config cmake"
makedepends="imlib2-devel glew-devel libXext-devel libXrender-devel libXrandr-devel glm"
short_desc="Utility to query for a selection and print the region to stdout"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3"
homepage="https://github.com/naelstrof/slop"
distfiles="https://github.com/naelstrof/slop/archive/v${version}.tar.gz"
checksum=0a10f137f90c2214642526a6ca417c4075c33ba4e31696f798f875b782495de3
pre_build() {
# Remove a stray include
sed -e "/#include <execinfo.h>/d" -i ${wrksrc}/src/main.cpp
}