mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 15:08:57 +02:00
Add (disabled) recipe for FastFetch
Pending upstream Pull-request
This commit is contained in:
56
app-misc/fastfetch/fastfetch-2.35.0.recipe
Normal file
56
app-misc/fastfetch/fastfetch-2.35.0.recipe
Normal file
@@ -0,0 +1,56 @@
|
||||
SUMMARY="A maintained, feature-rich and performance oriented, neofetch like system information tool."
|
||||
DESCRIPTION="Fastfetch is a neofetch-like tool for fetching system information \
|
||||
and displaying it prettily. \
|
||||
It is written mainly in C, with performance and customizability in mind. \
|
||||
Currently, Linux, Android, FreeBSD, macOS, SunOS and Windows 7+ are supported."
|
||||
HOMEPAGE="https://github.com/fastfetch-cli/fastfetch"
|
||||
COPYRIGHT="2021-2023 Linus Dierheimer
|
||||
2022-2024 Carter Li"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/fastfetch-cli/fastfetch/archive/refs/tags/$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="58a95e6b714e41efc804eca389a223309169b2def35e57fa934482a6b47c27e7"
|
||||
|
||||
ARCHITECTURES="?all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="?x86"
|
||||
|
||||
commandSuffix=$secondaryArchSuffix
|
||||
commandBinDir=$binDir
|
||||
if [ "$targetArchitecture" = x86_gcc2 ]; then
|
||||
commandSuffix=
|
||||
commandBinDir=$prefix/bin
|
||||
fi
|
||||
|
||||
#USER_SETTINGS_FILES="$relativeSettingsDir/neofetch/config.conf"
|
||||
|
||||
PROVIDES="
|
||||
fastfetch = $portVersion
|
||||
cmd:fastfetch$commandSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku${secondaryArchSuffix}
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++${secondaryArchSuffix}
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir build
|
||||
cd build
|
||||
cmake ..
|
||||
make $jobArgs
|
||||
# TODO
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
#TODO
|
||||
#make install PREFIX="$prefix" MANDIR="$manDir"
|
||||
}
|
||||
Reference in New Issue
Block a user