Date: Sunday, April 9, 2023 @ 10:16:38
Author: arojas
Revision: 1443166
archrelease: copy trunk to community-testing-x86_64
Added:
libfm-qt/repos/community-testing-x86_64/
libfm-qt/repos/community-testing-x86_64/PKGBUILD
(from rev 1443165, libfm-qt/trunk/PKGBUILD)
libfm-qt/repos/community-testing-x86_64/keys/
----------+
PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
Copied: libfm-qt/repos/community-testing-x86_64/PKGBUILD (from rev 1443165,
libfm-qt/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2023-04-09 10:16:38 UTC (rev 1443166)
@@ -0,0 +1,41 @@
+# Maintainer: Chih-Hsuan Yen <[email protected]>
+
+pkgname=libfm-qt
+pkgver=1.2.1
+pkgrel=3
+pkgdesc="Core library of PCManFM-Qt (Qt binding for libfm)"
+arch=("x86_64")
+url="https://github.com/lxqt/$pkgname"
+license=("LGPL2.1")
+depends=("menu-cache" "libexif" "qt5-x11extras")
+makedepends=("lxqt-build-tools")
+optdepends=(
+ "org.freedesktop.secrets: allow to remember mount passwords"
+)
+provides=("libfm-qt.so")
+source=(
+
"https://github.com/lxqt/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.xz"
+
"https://github.com/lxqt/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.xz.asc"
+)
+sha512sums=('2adf82f9b03215013ee793af28019f6a822baaa261c7fe0ac4efe7d2dfdcdb9d232b8380e5a9e4f609c99b8d20326ab065999185f2765fe8c1cdc8513c9978a4'
+ 'SKIP')
+validpgpkeys=(
+ "169704C6FB490C6892C7F23C37E0AF1FDA48F373" # Jerome Leclanche
<[email protected]>
+ "7C733BA5F585AAD669E4D23A42C9C8D3AF5EA5E3" # Alf Gaida
<[email protected]>
+ "19DFDF3A579BD509DBB572D8BE793007AD22DF7E" # Pedram Pourang
<[email protected]>
+)
+# Work-around https://gitlab.kitware.com/cmake/cmake/-/issues/17122
+# Relevant CMake codes:
https://github.com/lxqt/libfm-qt/blob/1.2.1/src/CMakeLists.txt#L179
+options=('!emptydirs')
+
+build() {
+ cmake -B build -S "$srcdir/$pkgname-$pkgver" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=None
+ make -C build
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}