Commit d2184183 authored by Damian Montero's avatar Damian Montero Committed by GitHub

Merge pull request #1891 from uberhacker/add-clean-package

Add clean package
parents 2575bd0b 0e61f62b
require 'package'
class Clean < Package
description 'Clean is a program that searches for files identified by regular expressions and deletes them'
homepage 'https://sourceforge.net/projects/clean/'
version '3.4'
source_url 'http://downloads.sourceforge.net/project/clean/clean/3.4/clean-3.4.tar.bz2'
source_sha256 '761f3a9e1ed50747b6a62a8113fa362a7cc74d359ac6e8e30ba6b30d59115320'
def self.build
system "make"
end
def self.install
system "install -Dm755 -s clean #{CREW_DEST_PREFIX}/bin/clean"
system "install -Dm644 clean.1 #{CREW_DEST_PREFIX}/share/man/man1/clean.1"
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