void-packages/srcpkgs/slop/template
2017-06-03 19:08:24 +02:00

26 lines
783 B
Bash

# Template file for 'slop'
pkgname=slop
version=6.3.41
revision=1
build_style=cmake
hostmakedepends="pkg-config"
makedepends="libXext-devel libXrender-devel MesaLib-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=ebe24c34f22d1cd0efd3c71f3af4a10766baee139d37c01babeb9f1fa6023bfa
pre_configure() {
sed -i -e '$a\set_target_properties(slopy PROPERTIES VERSION 0.1.0)' CMakeLists.txt
}
slop-devel_package() {
short_desc+=" - developments files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
}
}