Files
haikuports/app-misc/neofetch/neofetch-3.4.0.recipe
2018-04-21 16:01:40 +00:00

52 lines
1.3 KiB
Bash

SUMMARY="A fast, highly customizable system info script"
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="2b03328e92f80de8aca9571ad693f4e8b86b62e9c99792f3002f82907c5530a3"
ARCHITECTURES="any"
PROVIDES="
neofetch
cmd:neofetch
"
REQUIRES="
haiku
cmd:bash
cmd:sed
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:make
"
GLOBAL_WRITABLE_FILES="$relativeSettingsDir/neofetch/config.conf auto-merge"
USER_SETTINGS_FILES="
$relativeSettingsDir/neofetch directory
$relativeSettingsDir/neofetch/config.conf \
template $relativeDataDir/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
}