mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-30 09:22:57 +02:00
New package: ruby-webrick-1.7.0
This commit is contained in:
parent
f9d42ab898
commit
08a0253db8
2 changed files with 21 additions and 0 deletions
19
srcpkgs/ruby-webrick/template
Normal file
19
srcpkgs/ruby-webrick/template
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# Template file for 'ruby-webrick'
|
||||||
|
pkgname=ruby-webrick
|
||||||
|
version=1.7.0
|
||||||
|
revision=1
|
||||||
|
wrksrc="${pkgname#ruby-}-${version}"
|
||||||
|
build_style=gemspec
|
||||||
|
hostmakedepends="ruby"
|
||||||
|
depends="ruby"
|
||||||
|
short_desc="Ruby module that provides a HTTP server toolkit"
|
||||||
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||||
|
license="BSD-2-Clause"
|
||||||
|
homepage="https://rubygems.org/gems/webrick"
|
||||||
|
distfiles="https://github.com/ruby/webrick/archive/refs/tags/v${version}.tar.gz"
|
||||||
|
checksum=25df35c696301deddec8cc929954284fa3dfaa86ad90c0cce2ecc5740c476545
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
rm -r ${DESTDIR}/usr/bin
|
||||||
|
vlicense LICENSE.txt
|
||||||
|
}
|
2
srcpkgs/ruby-webrick/update
Normal file
2
srcpkgs/ruby-webrick/update
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
site='https://github.com/ruby/sync/tags'
|
||||||
|
pattern='/archive/refs/tags/(v?|\Qruby-sync\E-)?\K[\d\.]+(?=\.tar\.gz")'
|
Loading…
Add table
Reference in a new issue