Date: Thursday, November 5, 2020 @ 15:39:46 Author: yan12125 Revision: 743246
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 743245, lxqt-archiver/trunk/PKGBUILD) ----------+ PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) Copied: lxqt-archiver/repos/community-staging-x86_64/PKGBUILD (from rev 743245, lxqt-archiver/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-11-05 15:39:46 UTC (rev 743246) @@ -0,0 +1,36 @@ +# Maintainer: Chih-Hsuan Yen <yan12...@gmail.com> + +pkgname=lxqt-archiver +pkgver=0.3.0 +pkgrel=1 +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') +optdepends=( + 'libarchive: for handling rpm files' +) +source=("https://github.com/lxqt/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.xz"{,.asc}) +sha256sums=('a765e76edd3ed509d1a8adce3ab8700fbf033619f0e2edb0e486c202abe80c3e' + 'SKIP') +validpgpkeys=( + "19DFDF3A579BD509DBB572D8BE793007AD22DF7E" # Pedram Pourang <tsujan2...@gmail.com> +) + +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 +}