Update PecoRename to 2.0.2

This commit is contained in:
Humdinger
2021-08-03 20:01:39 +02:00
parent b658e04d88
commit a6d2a06c68
3 changed files with 1 additions and 141 deletions

View File

@@ -1,66 +0,0 @@
SUMMARY="A powerful renaming utility"
DESCRIPTION="
PecoRename is a powerful renaming utility, which allows you to rename many \
files according to a preset pattern. It also installs a Tracker add-on that \
can be invoked on the selected files with the shortcut ALT+OPT+R.
You can rename your files in many different ways:
* Number your files in order
* Search and replace
* Delete characters
* Make uppercase/lowercase
* Add the suitable file extension according to the file type
* Insert, append or replace text...
PecoRename gives you an easy to use interface with a powerful tool behind it.\
The changes can be previewed in realtime.
And - of course - all functions support special chars (like ä, â...).
Whenever you have to rename some or many files the same way, this is YOUR \
program!"
HOMEPAGE="http://www.maybe.de/software/pecorename"
COPYRIGHT="2008 Werner Freytag"
LICENSE="MIT"
REVISION="6"
srcGitRev="9b3ceb76a73881ad821b2b9535e4ad258b486c45"
SOURCE_URI="https://github.com/HaikuArchives/PecoRename/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="52228295d058a7348a3ff9385bcf0f3dc058da10853538aa27eca0c1619b9f20"
SOURCE_DIR="PecoRename-$srcGitRev"
ARCHITECTURES="x86_gcc2 !x86 !x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 !x86"
PROVIDES="
pecorename$secondaryArchSuffix = $portVersion
app:PecoRename = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
makefile_engine
cmd:gcc$secondaryArchSuffix
cmd:make
"
BUILD()
{
cd Main
make $jobArgs OBJ_DIR=objects
cd ../Tracker\ Add-On
make $jobArgs OBJ_DIR=objects
}
INSTALL()
{
mkdir -p $appsDir
cp Main/PecoRename $appsDir
mkdir -p $addOnsDir/Tracker
cp Tracker\ Add-On/PecoRename $addOnsDir/Tracker
addAppDeskbarSymlink $appsDir/PecoRename
}

View File

@@ -26,7 +26,7 @@ COPYRIGHT="2008 Werner Freytag
LICENSE="MIT"
REVISION="1"
SOURCE_URI="https://github.com/HaikuArchives/PecoRename/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="e81eb650a0cd456942f8d996fa81eee2d6e390b1cf46131764753dfc0739b8aa"
CHECKSUM_SHA256="375cb4820c8cb185119f519187cb8579a40741efed6b617d8162f65100822167"
SOURCE_DIR="PecoRename-$portVersion"
ARCHITECTURES="x86_gcc2 x86_64"

View File

@@ -1,74 +0,0 @@
SUMMARY="A powerful renaming utility"
DESCRIPTION="PecoRename is a powerful renaming utility, which allows you to \
rename many files according to a preset pattern. It also installs a Tracker \
add-on that can be invoked on the selected files with the shortcut ALT+OPT+R.
You can rename your files in many different ways:
* Number your files in order
* Search and replace
* Delete characters
* Make uppercase/lowercase
* Add the suitable file extension according to the file type
* Insert, append or replace text...
PecoRename gives you an easy to use interface with a powerful tool behind it.\
The changes can be previewed in realtime.
And - of course - all functions support special chars (like ä, â...).
Whenever you have to rename some or many files the same way, this is YOUR \
program!"
HOMEPAGE="http://www.maybe.de/software/pecorename"
COPYRIGHT="2008 Werner Freytag
2011 Axel Dörfler
2014 Diver
2016 Markus Himmel, Hannahyp
2017-2018 Janus, Humdinger"
LICENSE="MIT"
REVISION="1"
SOURCE_URI="https://github.com/HaikuArchives/PecoRename/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="1ff8d1af3e31487ecb3e46d27d2d1c67b8fb0bccc45b04c11d607909add80ce9"
SOURCE_DIR="PecoRename-$portVersion"
ARCHITECTURES="x86_gcc2 x86_64"
PROVIDES="
pecorename = $portVersion
add_on:PecoRename = $portVersion
app:PecoRename = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
makefile_engine
cmd:g++
cmd:make
"
BUILD()
{
cd Main
make $jobArgs OBJ_DIR=objects
make OBJ_DIR=objects bindcatalogs
cd ../Tracker\ Add-On
make $jobArgs OBJ_DIR=objects
make bindcatalogs
}
INSTALL()
{
docFolder=$documentationDir/packages/pecorename
mkdir -p $appsDir $addOnsDir/Tracker $docFolder
cp -a Main/PecoRename $appsDir
cp -a Tracker\ Add-On/PecoRename $addOnsDir/Tracker
cp -a Docs/ReadMe.html $docFolder
cp -r Docs/images $docFolder
addAppDeskbarSymlink $appsDir/PecoRename
}