Files
haikuports/haiku-apps/filwip/filwip-1.0.0.recipe
2016-07-26 07:25:54 +02:00

59 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://sites.google.com/site/appfilwip/home"
commit="e5e8bc31c3f356b603041be8883ce5c7df46ce97"
SOURCE_URI="https://github.com/HaikuArchives/filwip/archive/$commit.tar.gz"
SOURCE_FILENAME="filwip-$commit.tar.gz"
SOURCE_DIR="FilWip-$commit"
CHECKSUM_SHA256="20c5476d1117d6ecff102186e74cfa730e9b989a98073b6f373f42562e019411"
ADDITIONAL_FILES="install_plugins.sh"
REVISION="6"
LICENSE="SPL"
COPYRIGHT="2002 Ramshankar"
ARCHITECTURES="x86 x86_gcc2"
PROVIDES="
filwip = $portVersion
app:FilWip = $portVersion
"
REQUIRES="
haiku
"
BUILD_PREREQUIRES="
cmd:g++
cmd:xres
cmd:make
"
BUILD_REQUIRES="
haiku_devel
makefile_engine
"
USER_SETTINGS_FILES="settings/FilWip directory keep-old"
POST_INSTALL_SCRIPTS="$relativePostInstallDir/install_plugins.sh"
BUILD()
{
make $jobArgs -C Source
}
INSTALL()
{
mkdir -p $appsDir/FilWip
cp -rf Docs $appsDir/FilWip/Docs
cp -a FilWip $appsDir/FilWip
addAppDeskbarSymlink $appsDir/FilWip/FilWip
mkdir -p $dataDir/FilWip
cp -rf Plugins $dataDir/FilWip/Plugins
mkdir -p $postInstallDir
cp $portDir/additional-files/install_plugins.sh $postInstallDir
}