From 06bf0fcb83173112f220c1c782b5b08178bbd208 Mon Sep 17 00:00:00 2001 From: tts2k <33920021+tts2k@users.noreply.github.com> Date: Fri, 8 Dec 2017 01:47:37 +0700 Subject: [PATCH] neofetch: initial recipe (#1855) --- app-misc/neofetch/neofetch-3.3.0.recipe | 46 +++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 app-misc/neofetch/neofetch-3.3.0.recipe diff --git a/app-misc/neofetch/neofetch-3.3.0.recipe b/app-misc/neofetch/neofetch-3.3.0.recipe new file mode 100644 index 000000000..6b3c3de6b --- /dev/null +++ b/app-misc/neofetch/neofetch-3.3.0.recipe @@ -0,0 +1,46 @@ +SUMMARY="A CLI system information tool written in BASH that supports displaying images" +DESCRIPTION="Neofetch displays information about your system next to an image, your OS logo, or any ASCII file of your choice. The main purpose of Neofetch is to be used in screenshots to show other users what OS/Distro you're running, what Theme/Icons you're using etc" +HOMEPAGE="https://github.com/dylanaraps/neofetch" +COPYRIGHT="2016-2017 Dylan Araps" +LICENSE="MIT" +REVISION="1" +SOURCE_URI="https://github.com/dylanaraps/$portName/archive/$portVersion/$portVersionedName.tar.gz" +CHECKSUM_SHA256="4808e76bd81da3602cb5be7e01dfed8223b1109e2792755dd0d54126014ee696" + +ARCHITECTURES="any" + +PROVIDES=" + neofetch + cmd:neofetch + " +REQUIRES=" + haiku + cmd:bash + " + +BUILD_REQUIRES=" + haiku_devel + " +BUILD_PREREQUIRES=" + cmd:make + " + +GLOBAL_WRITABLE_FILES="settings/neofetch/config.conf auto-merge" + +USER_SETTINGS_FILES=" + settings/neofetch directory + settings/neofetch/config.conf template data/neofetch/config.conf.default + " + +PATCH() +{ + sed -i \ + -e "s|/share/neofetch/|/$relativeDataDir/neofetch/|;" \ + Makefile +} + +INSTALL() +{ + make install PREFIX=$prefix MANDIR=$manDir SYSCONFDIR=$sysconfDir + cp -p $sysconfDir/neofetch/config.conf $dataDir/neofetch/config.conf.default +}