Date: Sunday, April 16, 2023 @ 13:06:50
  Author: yan12125
Revision: 1446506

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 1446505, 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 1446505, 
libfm-qt/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD                           (rev 0)
+++ community-testing-x86_64/PKGBUILD   2023-04-16 13:06:50 UTC (rev 1446506)
@@ -0,0 +1,41 @@
+# Maintainer: Chih-Hsuan Yen <yan12...@archlinux.org>
+
+pkgname=libfm-qt
+pkgver=1.3.0
+pkgrel=1
+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=('fd7ecc1a8e94893682b7e0ca76805b36dbf184a4f2f7d84008ef81ea2257d994db0f8f8e18f890b8554fd1f20e23f8d7f20cf6b3112b32d66c969b683f8db3ba'
+            'SKIP')
+validpgpkeys=(
+       "169704C6FB490C6892C7F23C37E0AF1FDA48F373"  # Jerome Leclanche 
<jer...@leclan.ch>
+       "7C733BA5F585AAD669E4D23A42C9C8D3AF5EA5E3"  # Alf Gaida 
<aga...@siduction.org>
+       "19DFDF3A579BD509DBB572D8BE793007AD22DF7E"  # Pedram Pourang 
<tsujan2...@gmail.com>
+)
+# 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
+}

Reply via email to