diff --git a/srcpkgs/ruby-webrick/template b/srcpkgs/ruby-webrick/template new file mode 100644 index 00000000000..6a8f9782441 --- /dev/null +++ b/srcpkgs/ruby-webrick/template @@ -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 " +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 +} diff --git a/srcpkgs/ruby-webrick/update b/srcpkgs/ruby-webrick/update new file mode 100644 index 00000000000..7f88b04b598 --- /dev/null +++ b/srcpkgs/ruby-webrick/update @@ -0,0 +1,2 @@ +site='https://github.com/ruby/sync/tags' +pattern='/archive/refs/tags/(v?|\Qruby-sync\E-)?\K[\d\.]+(?=\.tar\.gz")'