25 lines
617 B
Plaintext
25 lines
617 B
Plaintext
# Description: Ruby bindings for the ncurses library
|
|
# URL: https://github.com/eclubb/ncurses-ruby
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
|
# Depends on: ruby ncurses
|
|
|
|
name=ruby-ncurses
|
|
version=1.2.4
|
|
release=7
|
|
source=(https://rubygems.org/downloads/ncurses-ruby-$version.gem)
|
|
|
|
build () {
|
|
gem install ncurses-ruby \
|
|
--ignore-dependencies \
|
|
--no-user-install \
|
|
--no-document \
|
|
--local \
|
|
--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
|
|
rm TODO .gitignore examples/LICENSES_for_examples
|
|
}
|