void-packages/srcpkgs/rcm/template

30 lines
685 B
Bash
Raw Normal View History

# Template file for 'rcm'
pkgname=rcm
version=1.3.1
revision=1
build_style=gnu-configure
checkdepends="python3-cram"
depends="perl"
short_desc="Management suite for dotfiles"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="3-clause-BSD"
homepage="https://github.com/thoughtbot/rcm"
distfiles="https://thoughtbot.github.io/rcm/dist/rcm-${version}.tar.gz"
checksum=9c8f92dba63ab9cb8a6b3d0ccf7ed8edf3f0fb388b044584d74778145fae7f8f
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
}