ghostwriter: bump version (#4089)

This commit is contained in:
Schrijvers Luc
2019-08-14 08:21:21 +02:00
committed by Sergei Reznikov
parent e037660016
commit 6bb73ac2db

View File

@@ -5,7 +5,7 @@ COPYRIGHT="wereturtle et al."
LICENSE="GNU GPL v3"
REVISION="1"
SOURCE_URI="https://github.com/wereturtle/ghostwriter/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="34eb3855c5cf7c541128eb740ee41de4000c91f71e9a2cf464c35d77dd523c79"
CHECKSUM_SHA256="4987126e71a37556e575fbce2002c5504cf15a04c11bcce604a278f59ec9c11a"
SOURCE_FILENAME="ghostwriter-$portVersion.tar.gz"
ADDITIONAL_FILES="ghostwriter.rdef.in"
@@ -62,15 +62,15 @@ PATCH()
BUILD()
{
lrelease ghostwriter.pro
qmake
qmake BINDIR=$appsDir DATADIR=$dataDir
make $jobArgs
}
INSTALL()
{
mkdir -p $appsDir $dataDir/ghostwriter/translations
cp ./build/release/ghostwriter $appsDir/Ghostwriter
cp ./translations/*.qm $dataDir/ghostwriter/translations/
make install
mv $appsDir/ghostwriter $appsDir/Ghostwriter
rm -rf $dataDir/{appdata,applications,icons,pixmaps}
local APP_SIGNATURE="application/x-vnd.ghostwriter"
local MAJOR="`echo "$portVersion" | cut -d. -f1`"