void-packages/srcpkgs/slop/template
2017-12-08 18:34:20 +01:00

26 lines
804 B
Bash

# Template file for 'slop'
pkgname=slop
version=7.3.49
revision=2
build_style=cmake
hostmakedepends="pkg-config"
makedepends="libXext-devel libXrender-devel MesaLib-devel icu-devel glm glew-devel"
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=15befb4a2bf2cf15a64d8256ce2d4d6778df9814da9ce3946c7484b8c909b13f
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
}
}