Commit a2406dce authored by Chris Thurber's avatar Chris Thurber Committed by GitHub

Merge pull request #2091 from uberhacker/add-neofetch-package

Add neofetch package
parents 0e432b5a a29cae3b
require 'package'
class Neofetch < Package
description 'A fast, highly customizable system info script'
homepage 'https://github.com/dylanaraps/neofetch'
version '3.3.0'
source_url 'https://github.com/dylanaraps/neofetch/archive/3.3.0.tar.gz'
source_sha256 '4808e76bd81da3602cb5be7e01dfed8223b1109e2792755dd0d54126014ee696'
binary_url ({
})
binary_sha256 ({
})
def self.build
system "sed -i 's,PREFIX ?= /usr,PREFIX = #{CREW_PREFIX},' Makefile"
system "sed -i 's,SYSCONFDIR ?= /etc,SYSCONFDIR ?= #{CREW_PREFIX}/etc,' Makefile"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
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