[arch-commits] Commit in lxqt-archiver/repos (2 files)
Chih-Hsuan Yen
yan12125 at archlinux.org
Sat Apr 25 02:44:25 UTC 2020
Date: Saturday, April 25, 2020 @ 02:44:25
Author: yan12125
Revision: 619728
archrelease: copy trunk to community-staging-x86_64
Added:
lxqt-archiver/repos/community-staging-x86_64/
lxqt-archiver/repos/community-staging-x86_64/PKGBUILD
(from rev 619727, lxqt-archiver/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: lxqt-archiver/repos/community-staging-x86_64/PKGBUILD (from rev 619727, lxqt-archiver/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-04-25 02:44:25 UTC (rev 619728)
@@ -0,0 +1,31 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at gmail.com>
+
+pkgname=lxqt-archiver
+pkgver=0.1.0
+pkgrel=2
+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=('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