mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
58 lines
1.4 KiB
Bash
58 lines
1.4 KiB
Bash
SUMMARY="A tool to clean temporary and unwanted files"
|
|
DESCRIPTION="It cleans your hard disk of unwanted files such as left-over \
|
|
temporary files, cache files of internet sessions, logs, history files and \
|
|
the like. It works with easy to write text files that include information \
|
|
about where the files to delete are."
|
|
HOMEPAGE="https://github.com/HaikuArchives/FilWip"
|
|
COPYRIGHT="2002 Ramshankar
|
|
2018 HaikuArchives team"
|
|
LICENSE="SPL"
|
|
REVISION="1"
|
|
SOURCE_URI="$HOMEPAGE/archive/v$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="67ca2d8152a5458b3d5622a260c6fdc5ff2ed8ed4098b257d5a5061e7385f664"
|
|
SOURCE_DIR="FilWip-$portVersion"
|
|
ADDITIONAL_FILES="install_plugins.sh"
|
|
|
|
ARCHITECTURES="all"
|
|
|
|
USER_SETTINGS_FILES="settings/FilWip directory keep-old"
|
|
POST_INSTALL_SCRIPTS="$relativePostInstallDir/install_plugins.sh"
|
|
|
|
PROVIDES="
|
|
filwip = $portVersion
|
|
app:FilWip = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
makefile_engine
|
|
cmd:g++
|
|
cmd:make
|
|
cmd:xres
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
make $jobArgs -C Source
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
docFolder=$documentationDir/packages/filwip
|
|
|
|
mkdir -p $appsDir $dataDir/FilWip $documentationDir/packages/filwip
|
|
cp -a FilWip $appsDir
|
|
cp -rf Plugins $dataDir/FilWip
|
|
cp -rf Docs/* $documentationDir/packages/filwip
|
|
|
|
addAppDeskbarSymlink $appsDir/FilWip
|
|
|
|
mkdir -p $postInstallDir
|
|
cp $portDir/additional-files/install_plugins.sh $postInstallDir
|
|
}
|