Commit cba09121 authored by lyxell's avatar lyxell Committed by GitHub

Merge pull request #955 from wwwiiilll/add-gtypist-package

Add gtypist package
parents 4d9859c5 b6dff90a
require 'package'
class Gtypist < Package
description 'Universal typing tutor.'
homepage 'https://www.gnu.org/software/gtypist/index.html'
version '2.9.5'
source_url 'http://ftp.gnu.org/gnu/gtypist/gtypist-2.9.5.tar.xz'
source_sha256 'c13af40b12479f8219ffa6c66020618c0ce305ad305590fde02d2c20eb9cf977'
depends_on "emacs" => :build
depends_on "ncurses"
depends_on "perl"
def self.build
system "autoreconf"
system "./configure", "--prefix=/usr/local"
system "make"
end
def self.install
system "make", "prefix=#{CREW_DEST_DIR}/usr/local", "install"
system "rm", "-f", "#{CREW_DEST_DIR}/usr/local/share/info/dir"
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment