void-packages/srcpkgs/rcm/template

30 lines
682 B
Bash

# Template file for 'rcm'
pkgname=rcm
version=1.3.4
revision=1
build_style=gnu-configure
depends="perl"
checkdepends="python3-cram"
short_desc="Management suite for dotfiles"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://github.com/thoughtbot/rcm"
distfiles="https://thoughtbot.github.io/rcm/dist/rcm-${version}.tar.gz"
checksum=9b11ae37449cf4d234ec6d1348479bfed3253daba11f7e9e774059865b66c24a
do_check() {
# find '-perm' errors on *hooks* tests
:
}
post_build() {
# Fix shebangs on binaries
for binary in lsrc mkrc rcdn rcup ; do
sed -i 's|#!/bin/sh|#!/usr/bin/env bash|g' bin/"$binary"
done
}
post_install() {
vlicense LICENSE
}