New package: ruby-webrick-1.7.0

This commit is contained in:
Leah Neukirchen 2022-10-25 18:49:36 +02:00
parent f9d42ab898
commit 08a0253db8
2 changed files with 21 additions and 0 deletions

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

View File

@ -0,0 +1,2 @@
site='https://github.com/ruby/sync/tags'
pattern='/archive/refs/tags/(v?|\Qruby-sync\E-)?\K[\d\.]+(?=\.tar\.gz")'