mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 23:48:01 -05:00
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:
20
packages/fortune.rb
Normal file
20
packages/fortune.rb
Normal 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
|
||||
Reference in New Issue
Block a user