mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
Updated filwip.
This commit is contained in:
20
haiku-apps/filwip/additional-files/install_plugins.sh
Executable file
20
haiku-apps/filwip/additional-files/install_plugins.sh
Executable file
@@ -0,0 +1,20 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
settingsDir="$(finddir B_USER_SETTINGS_DIRECTORY)/FilWip/"
|
||||||
|
|
||||||
|
pluginsSysDataDir="$(finddir B_SYSTEM_DATA_DIRECTORY)/FilWip"
|
||||||
|
pluginsUserDataDir="$(finddir B_USER_DATA_DIRECTORY)/FilWip"
|
||||||
|
|
||||||
|
if [ -d "$settingsDir/Plugins" ]; then
|
||||||
|
exit 0 # already has Plugins folder
|
||||||
|
fi
|
||||||
|
|
||||||
|
mkdir -p $settingsDir
|
||||||
|
|
||||||
|
if [ -d "$pluginsSysDataDir/Plugins" ]; then
|
||||||
|
cp -rf $pluginsSysDataDir/Plugins "$settingsDir"
|
||||||
|
elif [ -d "$pluginsUserDataDir/Plugins" ]; then
|
||||||
|
cp -rf $pluginsUserDataDir/Plugins "$settingsDir"
|
||||||
|
else
|
||||||
|
exit 1 # couldn't find Plugins
|
||||||
|
fi
|
||||||
@@ -1,29 +1,24 @@
|
|||||||
SUMMARY="An app to clean all temporary and unwanted files"
|
SUMMARY="A tool to clean temporary and unwanted files"
|
||||||
DESCRIPTION="
|
DESCRIPTION="It cleans your hard disk of unwanted files such as left-over \
|
||||||
It cleans your hard disk of all unwanted files such as left-over temporary \
|
temporary files, cache files of internet sessions, logs, history files and \
|
||||||
files, cache files of internet sessions, logs, history files and the like. It \
|
the like. It works with easy to write text files that include information \
|
||||||
works with easy to write text files that include information about where the \
|
about where the files to delete are."
|
||||||
files to delete are.
|
|
||||||
"
|
|
||||||
HOMEPAGE="https://sites.google.com/site/appfilwip/home"
|
HOMEPAGE="https://sites.google.com/site/appfilwip/home"
|
||||||
SRC_URI="git://github.com/HaikuArchives/FilWip.git#160ea1a"
|
SRC_URI="git://github.com/HaikuArchives/FilWip.git#f89df458da79e172ccf243e994b2989d5837c362"
|
||||||
REVISION="4"
|
REVISION="5"
|
||||||
|
|
||||||
LICENSE="SPL"
|
LICENSE="SPL"
|
||||||
COPYRIGHT="2002 Ramshankar"
|
COPYRIGHT="2002 Ramshankar"
|
||||||
|
|
||||||
ARCHITECTURES="x86 x86_gcc2"
|
ARCHITECTURES="x86 x86_gcc2"
|
||||||
|
|
||||||
|
|
||||||
PROVIDES="
|
PROVIDES="
|
||||||
filwip = $portVersion
|
filwip = $portVersion
|
||||||
app:FilWip = $portVersion
|
app:FilWip = $portVersion
|
||||||
"
|
"
|
||||||
|
|
||||||
REQUIRES="
|
REQUIRES="
|
||||||
haiku
|
haiku
|
||||||
"
|
"
|
||||||
|
|
||||||
BUILD_PREREQUIRES="
|
BUILD_PREREQUIRES="
|
||||||
cmd:g++
|
cmd:g++
|
||||||
cmd:xres
|
cmd:xres
|
||||||
@@ -34,9 +29,8 @@ BUILD_REQUIRES="
|
|||||||
makefile_engine
|
makefile_engine
|
||||||
"
|
"
|
||||||
|
|
||||||
USER_SETTINGS_FILES="
|
USER_SETTINGS_FILES="settings/FilWip directory keep-old"
|
||||||
settings/FilWip_settings
|
POST_INSTALL_SCRIPTS="$relativePostInstallDir/install_plugins.sh"
|
||||||
"
|
|
||||||
|
|
||||||
BUILD()
|
BUILD()
|
||||||
{
|
{
|
||||||
@@ -46,9 +40,14 @@ BUILD()
|
|||||||
INSTALL()
|
INSTALL()
|
||||||
{
|
{
|
||||||
mkdir -p $appsDir/FilWip
|
mkdir -p $appsDir/FilWip
|
||||||
|
cp -rf Docs $appsDir/FilWip/Docs
|
||||||
cp -rf Plugins $appsDir/FilWip/Plugins
|
cp -a FilWip $appsDir/FilWip
|
||||||
cp FilWip $appsDir/FilWip/FilWip
|
|
||||||
|
|
||||||
addAppDeskbarSymlink $appsDir/FilWip/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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user