mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-11-01 00:42:03 +01:00
42 lines
1.2 KiB
Plaintext
42 lines
1.2 KiB
Plaintext
# Maintainer: Antoni Aloy <aaloytorrens@gmail.com>
|
|
pkgname=lxqt-archiver
|
|
pkgver=0.7.0
|
|
pkgrel=0
|
|
pkgdesc="Simple and lightweight desktop-agnostic Qt file archiver"
|
|
url="https://github.com/lxqt/lxqt-archiver"
|
|
arch="all !armhf"
|
|
license="LGPL-2.0-or-later"
|
|
makedepends="
|
|
cmake samurai lxqt-build-tools qt5-qttools-dev qt5-qtx11extras-dev
|
|
libfm-qt-dev json-glib-dev menu-cache-dev libexif-dev
|
|
"
|
|
options="!check" # No testsuite
|
|
subpackages="$pkgname-lang"
|
|
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 -G Ninja \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-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
|
|
}
|
|
|
|
lang() {
|
|
install_if="lang $pkgname=$pkgver-r$pkgrel"
|
|
amove usr/share/$pkgname/translations
|
|
}
|
|
|
|
sha512sums="
|
|
d86fd636b1b2345ead8c4dc0161311b3e361d274902c5b34b9aaccf1a0b9af46d329fbec0d2249197b8e1c837d6949f723451f67fdc9ca4c6b7f1c2cf59daeca lxqt-archiver-0.7.0.tar.xz
|
|
"
|