[arch-commits] Commit in lxqt-archiver/repos/community-x86_64 (PKGBUILD PKGBUILD)

Chih-Hsuan Yen yan12125 at archlinux.org
Wed May 13 11:12:23 UTC 2020


    Date: Wednesday, May 13, 2020 @ 11:12:23
  Author: yan12125
Revision: 627599

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   72 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 40 insertions(+), 32 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-13 11:11:30 UTC (rev 627598)
+++ PKGBUILD	2020-05-13 11:12:23 UTC (rev 627599)
@@ -1,32 +0,0 @@
-# Maintainer: Chih-Hsuan Yen <yan12125 at gmail.com>
-
-pkgname=lxqt-archiver
-pkgver=0.1.1
-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' 'libfm-qt.so')
-makedepends=('cmake' 'qt5-tools' 'lxqt-build-tools')
-source=("https://github.com/lxqt/$pkgname/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-sha256sums=('00a967427428951096eb2f4a9b5fc492dde6e7c8405cffc7dc4460f77d7686bd')
-
-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 \
-    -DCMAKE_INSTALL_LIBEXECDIR=lib
-
-  make -C build
-}
-
-package() {
-  cd build
-
-  make DESTDIR="$pkgdir" install
-}

Copied: lxqt-archiver/repos/community-x86_64/PKGBUILD (from rev 627598, lxqt-archiver/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-13 11:12:23 UTC (rev 627599)
@@ -0,0 +1,40 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at gmail.com>
+
+pkgname=lxqt-archiver
+pkgver=0.1.1
+pkgrel=2
+pkgdesc="A simple & lightweight desktop-agnostic Qt file archiver"
+arch=("x86_64")
+groups=("lxqt")
+url="https://github.com/lxqt/$pkgname"
+license=("GPL2")
+depends=('libfm-qt' 'qt5-x11extras' 'glib2' 'json-glib' 'libfm-qt.so')
+makedepends=('cmake' 'qt5-tools' 'lxqt-build-tools')
+source=("https://github.com/lxqt/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.xz"{,.asc}
+        $pkgname-gcc10.patch::https://github.com/lxqt/lxqt-archiver/commit/caefefb3547b256ead7d7d35820082ec2ab5ceb5.patch)
+sha256sums=('32b3e2bead037159b99b4069a53034abb43d31728693b5fa3c8ccbddfaffd316'
+            'SKIP'
+            '1e576b9b242a6e77e15e77bf60406cf7167009e42c65db16909bb8d2bf4f521e')
+validpgpkeys=(
+  "19DFDF3A579BD509DBB572D8BE793007AD22DF7E"  # Pedram Pourang <tsujan2000 at gmail.com>
+)
+
+prepare() {
+  cd $pkgname-$pkgver
+  patch -Np1 -i ../$pkgname-gcc10.patch
+}
+
+build() {
+  cmake -B build -S $pkgname-$pkgver \
+    -DCMAKE_BUILD_TYPE=None \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBEXECDIR=lib
+
+  make -C build
+}
+
+package() {
+  cd build
+
+  make DESTDIR="$pkgdir" install
+}


More information about the arch-commits mailing list