void-packages/srcpkgs/rcm/template
maxice8 71305750f1 New package: rcm-1.3.1.
Closes #9685.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
2017-12-05 19:04:10 +01:00

29 lines
685 B
Bash

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