New package: qtfm

This commit is contained in:
cr6git 2017-10-29 00:41:20 +02:00 committed by Toyam Cox
parent e7d4277a18
commit 447b5db312
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,12 @@
diff -Naur src/mymodel.cpp qtfm.new/src/mymodel.cpp
--- src/mymodel.cpp 2017-10-28 22:06:56.289345197 +0200
+++ qtfm.new/src/mymodel.cpp 2017-10-28 22:07:36.822507089 +0200
@@ -220,7 +220,7 @@
if(item) return item->absoluteFilePath();
- return false;
+ return "This won't work";
}
//---------------------------------------------------------------------------------------

19
srcpkgs/qtfm/template Normal file
View file

@ -0,0 +1,19 @@
# Template file for 'qtfm'
pkgname=qtfm
version=5.9
revision=1
build_style=qmake
hostmakedepends="unzip"
makedepends="file-devel qt5-devel"
depends="desktop-file-utils"
maintainer="cr6git <quark6@protonmail.com>"
short_desc="Lightweight file manager for Linux desktops based on pure Qt"
homepage="https://www.linux-apps.com/content/show.php/QtFM?content=158787"
license="GPL-2"
distfiles="https://dl.opendesktop.org/api/files/download/id/1466643163/158787-qtfm.zip"
checksum=07ffd61dd5d4aa7c16f1c544804517b621e3ef1a30eeda97c087219a3cb35128
wrksrc="qtfm"
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-devel"
fi