[arch-commits] Commit in lxqt-archiver/repos (2 files)

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


    Date: Sunday, April 19, 2020 @ 15:56:26
  Author: yan12125
Revision: 616515

archrelease: copy trunk to community-testing-x86_64

Added:
  lxqt-archiver/repos/community-testing-x86_64/
  lxqt-archiver/repos/community-testing-x86_64/PKGBUILD
    (from rev 616514, lxqt-archiver/trunk/PKGBUILD)

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

Copied: lxqt-archiver/repos/community-testing-x86_64/PKGBUILD (from rev 616514, lxqt-archiver/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2020-04-19 15:56:26 UTC (rev 616515)
@@ -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