[arch-commits] Commit in (4 files)

Chih-Hsuan Yen yan12125 at archlinux.org
Sun Apr 19 15:56:03 UTC 2020


    Date: Sunday, April 19, 2020 @ 15:56:02
  Author: yan12125
Revision: 616514

lxqt-archiver: first stable version from upstream

Added:
  lxqt-archiver/
  lxqt-archiver/repos/
  lxqt-archiver/trunk/
  lxqt-archiver/trunk/PKGBUILD

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Added: lxqt-archiver/trunk/PKGBUILD
===================================================================
--- lxqt-archiver/trunk/PKGBUILD	                        (rev 0)
+++ lxqt-archiver/trunk/PKGBUILD	2020-04-19 15:56:02 UTC (rev 616514)
@@ -0,0 +1,31 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at gmail.com>
+
+pkgname=lxqt-archiver
+pkgver=0.1.0
+pkgrel=1
+pkgdesc="A simple & lightweight desktop-agnostic Qt file archiver"
+arch=("x86_64")
+url="https://lxqt.org"
+license=("GPL2")
+depends=('libfm-qt' 'qt5-x11extras' 'glib2' 'json-glib')
+makedepends=('cmake' 'qt5-tools' 'lxqt-build-tools')
+source=("https://github.com/lxqt/$pkgname/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('0c43ce738223a9dac7951c618d89c20db6dd2ddf8534cc2f00c5bbbd7d6e0ea0')
+
+build() {
+  # Bring in -D_FORTIFY_SOURCE=2
+  export CFLAGS+=" $CPPFLAGS"
+  export CXXLAGS+=" $CPPFLAGS"
+
+  cmake -B build -S $pkgname-$pkgver \
+    -DCMAKE_BUILD_TYPE=None \
+    -DCMAKE_INSTALL_PREFIX=/usr
+
+  make -C build
+}
+
+package() {
+  cd build
+
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list