aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoni Aloy Torrens <aaloytorrens@gmail.com>2021-02-12 02:36:15 +0100
committerLeo <thinkabit.ukim@gmail.com>2021-03-21 07:10:41 +0000
commit220d25044e84c20b9dc916f1214ff5124f8fa65d (patch)
tree3a7fafc485e9f0fba3df5c5539bff6e5b15bbf92
parentb644d14d96a7d24cfd8525056fa3e1b058bab9ed (diff)
downloadaports-220d25044e84c20b9dc916f1214ff5124f8fa65d.tar.gz
aports-220d25044e84c20b9dc916f1214ff5124f8fa65d.tar.bz2
aports-220d25044e84c20b9dc916f1214ff5124f8fa65d.tar.xz
testing/lxqt-archiver: new aport
-rw-r--r--testing/lxqt-archiver/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/lxqt-archiver/APKBUILD b/testing/lxqt-archiver/APKBUILD
new file mode 100644
index 0000000000..b6e0953028
--- /dev/null
+++ b/testing/lxqt-archiver/APKBUILD
@@ -0,0 +1,32 @@
+# 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"