ruby-ncurses: use gem to install, cleanup
This commit is contained in:
parent
06c355bf70
commit
5ceac7c256
@ -3,10 +3,6 @@ drwxr-xr-x root/root usr/lib/
|
||||
drwxr-xr-x root/root usr/lib/ruby/
|
||||
drwxr-xr-x root/root usr/lib/ruby/gems/
|
||||
drwxr-xr-x root/root usr/lib/ruby/gems/2.7/
|
||||
drwxr-xr-x root/root usr/lib/ruby/gems/2.7/build_info/
|
||||
drwxr-xr-x root/root usr/lib/ruby/gems/2.7/cache/
|
||||
-rw-r--r-- root/root usr/lib/ruby/gems/2.7/cache/ncurses-ruby-1.2.4.gem
|
||||
drwxr-xr-x root/root usr/lib/ruby/gems/2.7/doc/
|
||||
drwxr-xr-x root/root usr/lib/ruby/gems/2.7/extensions/
|
||||
drwxr-xr-x root/root usr/lib/ruby/gems/2.7/extensions/x86_64-linux/
|
||||
drwxr-xr-x root/root usr/lib/ruby/gems/2.7/extensions/x86_64-linux/2.7/
|
||||
@ -17,15 +13,7 @@ drwxr-xr-x root/root usr/lib/ruby/gems/2.7/extensions/x86_64-linux/2.7/ncurses-r
|
||||
-rwxr-xr-x root/root usr/lib/ruby/gems/2.7/extensions/x86_64-linux/2.7/ncurses-ruby-1.2.4/ncurses.so
|
||||
drwxr-xr-x root/root usr/lib/ruby/gems/2.7/gems/
|
||||
drwxr-xr-x root/root usr/lib/ruby/gems/2.7/gems/ncurses-ruby-1.2.4/
|
||||
-rw-rw-r-- root/root usr/lib/ruby/gems/2.7/gems/ncurses-ruby-1.2.4/.gitignore
|
||||
-rw-r--r-- root/root usr/lib/ruby/gems/2.7/gems/ncurses-ruby-1.2.4/COPYING
|
||||
-rw-r--r-- root/root usr/lib/ruby/gems/2.7/gems/ncurses-ruby-1.2.4/Changelog.md
|
||||
-rwxrwxr-x root/root usr/lib/ruby/gems/2.7/gems/ncurses-ruby-1.2.4/LICENSE.txt
|
||||
-rwxrwxr-x root/root usr/lib/ruby/gems/2.7/gems/ncurses-ruby-1.2.4/README.md
|
||||
-rwxrwxr-x root/root usr/lib/ruby/gems/2.7/gems/ncurses-ruby-1.2.4/THANKS
|
||||
-rw-r--r-- root/root usr/lib/ruby/gems/2.7/gems/ncurses-ruby-1.2.4/TODO
|
||||
drwxr-xr-x root/root usr/lib/ruby/gems/2.7/gems/ncurses-ruby-1.2.4/examples/
|
||||
-rw-r--r-- root/root usr/lib/ruby/gems/2.7/gems/ncurses-ruby-1.2.4/examples/LICENSES_for_examples
|
||||
-rwxr-xr-x root/root usr/lib/ruby/gems/2.7/gems/ncurses-ruby-1.2.4/examples/example.rb
|
||||
-rwxr-xr-x root/root usr/lib/ruby/gems/2.7/gems/ncurses-ruby-1.2.4/examples/form.rb
|
||||
-rwxr-xr-x root/root usr/lib/ruby/gems/2.7/gems/ncurses-ruby-1.2.4/examples/form2.rb
|
||||
|
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/opt.pub
|
||||
RWSE3ohX2g5d/RaFfo1NLgs6K3p4Pf1EXVuHNMUK80OcCfcwHUJsOsO/y4R0gXnw4nexXKv0xqYw/2Tw+ExhHsMWzYUQofPOkwc=
|
||||
SHA256 (Pkgfile) = 73e3d8bd57bb831c3c60ec226ddbe918ca8bee6ea7d5dba526dba2dc4e7b38c5
|
||||
SHA256 (.footprint) = c623c4c8f8a08437df87a534484c5ec1901daa1269f1199066fff9306b157a15
|
||||
SHA256 (ruby-ncurses-1.2.4.tar.gz) = 9613ac44117a2a4cb52a9902d712d18ac2f8bf1c2cb44f3bafb03eafe28fd6f0
|
||||
RWSE3ohX2g5d/Q0y0uNu8evUgZbqgveY1Hixcsi7RGogknqQzqh82wv8FTNoakocom7gOorZM1PDb++FmuV+njT0e/EkCBd5Dwk=
|
||||
SHA256 (Pkgfile) = 1d972ae26798e1c8713329f469fb2e5f006a0d99795c837a4361bcdfc21528d1
|
||||
SHA256 (.footprint) = d75fcf80a3cdddecdd22bab6941b9a00829775b741b20ceff7a3932d00d48365
|
||||
SHA256 (ncurses-ruby-1.2.4.gem) = 5e289ea239adc98f99700a66744563a152953a717e8ad270dcf79defb3c822ff
|
||||
|
@ -5,15 +5,20 @@
|
||||
|
||||
name=ruby-ncurses
|
||||
version=1.2.4
|
||||
release=2
|
||||
source=(https://github.com/eclubb/ncurses-ruby/archive/v$version/$name-$version.tar.gz)
|
||||
release=3
|
||||
source=(https://rubygems.org/downloads/ncurses-ruby-$version.gem)
|
||||
|
||||
build () {
|
||||
cd ncurses-ruby-$version
|
||||
gem install ncurses-ruby \
|
||||
--ignore-dependencies \
|
||||
--no-user-install \
|
||||
--no-document \
|
||||
--local \
|
||||
--build-root $PKG
|
||||
|
||||
gem install ncurses-ruby \
|
||||
--ignore-dependencies \
|
||||
--no-user-install \
|
||||
--no-document \
|
||||
--build-root $PKG
|
||||
cd $PKG/$(gem env gemdir)
|
||||
rm -r cache doc build_info
|
||||
cd gems/ncurses-ruby-$version
|
||||
rm COPYING Changelog.md LICENSE.txt README.md THANKS \
|
||||
TODO .gitignore examples/LICENSES_for_examples
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user