aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lxqt-notificationd/APKBUILD
blob: 17428675284c7d03dfe61ee7ffc5734b5b29decb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Maintainer: Antoni Aloy <aaloytorrens@gmail.com>
pkgname=lxqt-notificationd
pkgver=1.0.0
pkgrel=0
pkgdesc="LXQt notification daemon"
url="https://github.com/lxqt/lxqt-notificationd"
arch="all !armhf" # armhf blocked by liblxqt and kwindowsystem
arch="$arch !mips64" # mips64 blocked by liblxqt-dev
license="LGPL-2.0-or-later"
makedepends="
	cmake lxqt-build-tools liblxqt-dev
	qt5-qttools-dev kwindowsystem-dev
	"
options="!check" # No testsuite
source="https://github.com/lxqt/lxqt-notificationd/releases/download/$pkgver/lxqt-notificationd-$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="
e8953c06be5821d875027692589dd80bfc7bca8ff9d7e590dcab2ab80b17ed530983119b0cf9d254ba5b15bf863eb6283896e6ae38a999437e5ccd7d3a50adf9  lxqt-notificationd-1.0.0.tar.xz
"