void-packages/srcpkgs/ruby-sync/template

21 lines
573 B
Bash

# Template file for 'ruby-sync'
pkgname=ruby-sync
version=0.5.0
revision=1
archs="noarch"
wrksrc="${pkgname#ruby-}-${version}"
build_style=gemspec
hostmakedepends="ruby"
depends="ruby"
short_desc="A module that provides a two-phase lock with a counter"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="BSD-2-Clause"
homepage="https://rubygems.org/gems/sync"
distfiles="https://github.com/ruby/sync/archive/v${version}.tar.gz"
checksum=42d04e4cc3f7f1222fbcc59d58c852874327ec3f0eca43cbe6a34ae5e4ba3262
post_install() {
rm -r ${DESTDIR}/usr/bin
vlicense LICENSE.txt
}