mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
47 lines
1.2 KiB
Bash
47 lines
1.2 KiB
Bash
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
|
|
}
|