trojita: clean up

This commit is contained in:
Jérôme Duval
2023-03-23 08:29:38 +01:00
committed by GitHub
parent 73a8061907
commit 255c29c605

View File

@@ -16,7 +16,7 @@ not afraid of making them work."
HOMEPAGE="http://trojita.flaska.net/"
COPYRIGHT="2006-2020 Trojitá developers"
LICENSE="GNU GPL v2"
REVISION="1"
REVISION="2"
srcGitRev="b4f24d73b68d69ae4b643d3279a9e90d991d06cc"
SOURCE_URI="https://github.com/KDE/trojita/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="061189f877ee15b25ce0136c9a4b450cb5788a1a62875a849c4ab5030b12ec33"
@@ -89,10 +89,7 @@ defineDebugInfoPackage trojita$secondaryArchSuffix \
BUILD()
{
#Creating Build dir
mkdir -p build
cd build
cmake .. \
cmake -Bbuild -S. -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX:PATH=$appsDir/Trojita \
-DCMAKE_INSTALL_LIBDIR:PATH=$appsDir/Trojita/lib \
-DCMAKE_INSTALL_DATAROOTDIR:PATH=$dataDir/Trojita \
@@ -100,13 +97,12 @@ BUILD()
-DWITH_KF5_GPGMEPP=OFF \
-Wno-dev
make $jobArgs
make -C build $jobArgs
}
INSTALL()
{
cd build
make install
make -C build install
#Moving things around
BINDIR="$appsDir/Trojita"