Files
haikuports/haiku-apps/filwip/filwip-1.0.0.recipe
2017-07-17 20:27:12 +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"
COPYRIGHT="2002 Ramshankar"
LICENSE="SPL"
REVISION="8"
commit="4f2c234ccdc7a4c59d301f7f5e690aa44903194b"
SOURCE_URI="https://github.com/HaikuArchives/filwip/archive/$commit.tar.gz"
CHECKSUM_SHA256="937525f11f96ca08a1a151e7a35860779956a59e9d1402784fe11836b08102c5"
SOURCE_FILENAME="filwip-$commit.tar.gz"
SOURCE_DIR="FilWip-$commit"
ADDITIONAL_FILES="install_plugins.sh"
ARCHITECTURES="x86_gcc2 x86 x86_64"
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
}