mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
36 lines
1.1 KiB
Plaintext
36 lines
1.1 KiB
Plaintext
# Maintainer: Antoni Aloy <aaloytorrens@gmail.com>
|
|
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
|
|
# Contributor: Antoni Aloy <aaloytorrens@gmail.com>
|
|
pkgname=lxqt-build-tools
|
|
pkgver=2.0.0
|
|
pkgrel=0
|
|
pkgdesc="Various packaging tools and scripts for LXQt applications"
|
|
url="https://lxqt.org/"
|
|
options="!check" # No testsuite
|
|
arch="noarch"
|
|
license="BSD-3-Clause"
|
|
depends="perl"
|
|
makedepends="cmake samurai qt6-qtbase-dev glib-dev"
|
|
source="https://github.com/lxqt/lxqt-build-tools/releases/download/$pkgver/lxqt-build-tools-$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
|
|
}
|
|
|
|
sha512sums="
|
|
4fe92af82d55bda8fc1b6dc44998ed64b031e33a5c19e9206c1822375b8aa8abbf5f5b94d3c5ebe6d5d318f8821664ee308064b7adb9081e08047a4456cc6a66 lxqt-build-tools-2.0.0.tar.xz
|
|
"
|