From 851295d45eec3adaa1f5aeced7336a2f54375b9e Mon Sep 17 00:00:00 2001 From: Humdinger Date: Sat, 2 Sep 2017 19:22:49 +0200 Subject: [PATCH] Add recipe for Filer v1.2.0 --- haiku-apps/filer/filer-1.2.0.recipe | 72 +++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 haiku-apps/filer/filer-1.2.0.recipe diff --git a/haiku-apps/filer/filer-1.2.0.recipe b/haiku-apps/filer/filer-1.2.0.recipe new file mode 100644 index 000000000..519891e50 --- /dev/null +++ b/haiku-apps/filer/filer-1.2.0.recipe @@ -0,0 +1,72 @@ +SUMMARY="An automated file management and sorting system" +DESCRIPTION="The Filer is a powerful, flexible automatic file organizer. It \ +is an implementation of the 'Sorting Chute' idea conceived on the Glass \ +Elevator mailing list for Haiku. + +Filer takes the files it's opened with or that are dropped onto it's icon or \ +replicatable dropzone and moves, renames, copies or does all sorts of other \ +things with them according to rules created by the user. + +Filer is accompanied by AutoFiler. Instead of working on a set of files \ +provided by the user, it can be started together with Haiku to monitor certain \ +folders and deal with new files appearing there according to the user-defined \ +rules." +HOMEPAGE="https://github.com/HaikuArchives/Filer" +COPYRIGHT="2008 DarkWyrm + 2016 Humdinger, Pete Goodeve + 2017 Owen Pan" +LICENSE="MIT" +REVISION="1" +SOURCE_URI="https://github.com/HaikuArchives/Filer/archive/v$portVersion.tar.gz" +CHECKSUM_SHA256="8ab231ca97f45df5cefa712a9051645e998309e39e9b5f0b59848b153bf00017" +SOURCE_DIR="Filer-$portVersion" + +ARCHITECTURES="x86_gcc2 x86 x86_64" + +PROVIDES=" + filer = $portVersion + app:AutoFiler = $portVersion + app:Filer = $portVersion + cmd:Filer = $portVersion + " +REQUIRES=" + haiku + cmd:zip + lib:libsqlite3 + " + +BUILD_REQUIRES=" + haiku_devel + devel:libsqlite3 + " +BUILD_PREREQUIRES=" + makefile_engine + cmd:g++ + cmd:make + " + +USER_SETTINGS_FILES=" + settings/Filer directory + " + +BUILD() +{ + cd sources + make $jobArgs OBJ_DIR=objects + make bindcatalogs OBJ_DIR=objects + make -f Makefile_AutoFiler $jobArgs OBJ_DIR=objects +} + +INSTALL() +{ + mkdir -p $appsDir/Filer $binDir + cp -af documentation $appsDir/Filer + + cd sources + cp -af objects/Filer $appsDir/Filer + ln -s $appsDir/Filer/Filer $binDir + + cp -af objects/AutoFiler $appsDir/Filer + + addAppDeskbarSymlink $appsDir/Filer/Filer +}