Skip to content
Snippets Groups Projects
Commit 220d2504 authored by Antoni Aloy Torrens's avatar Antoni Aloy Torrens Committed by Leo
Browse files

testing/lxqt-archiver: new aport

parent b644d14d
No related branches found
No related tags found
1 merge request!18083testing/lxqt-desktop: new aport
# Maintainer: Antoni Aloy <aaloytorrens@gmail.com>
pkgname=lxqt-archiver
pkgver=0.3.0
pkgrel=0
pkgdesc="Simple and lightweight desktop-agnostic Qt file archiver"
url="https://github.com/lxqt/lxqt-archiver"
arch="all !s390x" # s390x blocked by libfm-qt
license="LGPL-2.0-or-later"
makedepends="
cmake lxqt-build-tools qt5-qttools-dev qt5-qtx11extras-dev
libfm-qt-dev json-glib-dev menu-cache-dev libexif-dev
"
options="!check" # No testsuite
source="https://github.com/lxqt/lxqt-archiver/releases/download/$pkgver/lxqt-archiver-$pkgver.tar.xz"
build() {
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
cmake -B build \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_SHARED_LIBS=True \
$CMAKE_CROSSOPTS .
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --build build --target install
}
sha512sums="840fae890611b081a1355ceb58ca65276784e6825822859ff2d6506190212268f1c67733dc94c65c9c5758f8d6a25c286c2b339356a50f29474b0c7ce2569d2c lxqt-archiver-0.3.0.tar.xz"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment