Commit acf91f00 authored by Gangstead's avatar Gangstead Committed by GitHub

Merge pull request #1608 from uberhacker/add-inxi-package

Add inxi package
parents 7c3f10fc fea30a49
require 'package'
class Inxi < Package
description 'inxi is a full featured CLI system information tool.'
homepage 'https://smxi.org/docs/inxi.htm'
version '811a19'
source_url 'https://github.com/smxi/inxi/archive/811a199badbacc8d54254264c51de8dc3f5c82d2.tar.gz'
source_sha256 'fd4d7e89166f4cd96fe91448753a1279520bc0f9ee3a2cfbd92ff4a2b1cf487a'
binary_url ({
})
binary_sha256 ({
})
depends_on 'gawk'
depends_on 'perl'
def self.build
system "sed -i 's,/os-release,/lsb-release,g' inxi"
end
def self.install
system "install -Dm755 inxi #{CREW_DEST_PREFIX}/bin/inxi"
system "install -Dm644 inxi.1.gz #{CREW_DEST_PREFIX}/man/man1/inxi.1.gz"
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