Terminal fun! (cowsay, fortune, sl) (#2791)

* Cowsay!

Cows, because why the hell not.

* Fortune!

* Fortunes for fortune!

* Lolcats!!!1!11!!

~meow~

* TRAINS

I really hope nobody's trying to `crew install ls`.

* Delete lolcat.rb

They can just use gem to install this.

* MOO

Homepage and prefix

* fortune uwu

change to use `sed` and `install`

* steam locomotive lol

switch to `sed` and `install`
This commit is contained in:
Terra Branford
2018-10-26 09:54:18 -04:00
committed by Ed Reel
parent 44f7ff7324
commit 3639126232
4 changed files with 65 additions and 0 deletions

20
packages/fortune.rb Normal file
View File

@@ -0,0 +1,20 @@
require 'package'
class Fortune < Package
description 'Fortune is a small game that is meant to lighten up your life. It can be used to display a random entry from a cookie file.'
homepage 'https://www.fefe.de/fortune/'
version '1.2'
source_url 'http://dl.fefe.de/fortune-1.2.tar.bz2'
source_sha256 'cbb246a500366db39ce035632eb4954e09f1e03b28f2c4688864bfa8661b236a'
depends_on "fortunes"
def self.build
system "sed -i 's,/usr,#{CREW_PREFIX},' fortune.c"
system "make"
end
def self.install
system "install -Dm755 fortune #{CREW_DEST_PREFIX}/bin/"
end
end