mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-21 19:20:08 +02:00
neofetch: initial recipe (#1855)
This commit is contained in:
46
app-misc/neofetch/neofetch-3.3.0.recipe
Normal file
46
app-misc/neofetch/neofetch-3.3.0.recipe
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user