void-packages/srcpkgs/rcm/template
Sora Morimoto b6b1b288d8 rcm: update to 1.3.4
Signed-off-by: Sora Morimoto <sora@morimoto.io>
Closes: #25726 [via git-merge-pr]
2020-10-19 09:56:37 -04:00

29 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
}