void-packages/srcpkgs/rinutils/template

26 lines
897 B
Bash

# Template file for 'rinutils'
pkgname=rinutils
version=0.2.0
revision=1
_shlomif_common_commit=89f05caf86078f783873975525230cf4fecede8a
build_style=cmake
hostmakedepends="perl pkg-config"
makedepends="cmocka-devel"
short_desc="C headers containing random utilities"
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
license="MIT"
homepage="https://github.com/shlomif/rinutils/"
distfiles="https://github.com/shlomif/rinutils/archive/${version}.tar.gz
https://raw.githubusercontent.com/shlomif/shlomif-cmake-modules/${_shlomif_common_commit}/shlomif-cmake-modules/Shlomif_Common.cmake"
checksum="c1fa0836d7166743181cd0e4c349f98010846334fe49883ff53439002887c3b8
6c72ff31b361319971bb8eca5d5679bd366b316a5543562e821e585af88cad17"
skip_extraction="Shlomif_Common.cmake"
post_extract() {
mv "${XBPS_SRCDISTDIR}/${pkgname}-${version}/Shlomif_Common.cmake" cmake
}
post_install() {
vlicense LICENSE
}