summaryrefslogtreecommitdiff
path: root/user/qt5-qtremoteobjects/APKBUILD
blob: 4c0615373bbadfc4fe6d5656354bdbb007fb19e8 (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
36
37
38
# Maintainer: Zach van Rijn <me@zv.io>
pkgname=qt5-qtremoteobjects
_pkgname=${pkgname#*-}-everywhere-src
pkgver=5.15.3_git20201027
pkgrel=0
_commit=4d6d1e35fb8e0cb900b5e5e9266edea51dc4f735
pkgdesc="Qt5 Remote Objects (QtRO) is an Inter-Process Communication (IPC) module developed for Qt"
url="https://www.qt.io/"
arch="all"
license="LGPL-3.0-only WITH Qt-LGPL-exception-1.1 OR GPL-3.0-only WITH Qt-GPL-exception-1.0"
depends=""
makedepends="qt5-qtbase-dev"
subpackages="$pkgname-dev"
source="https://invent.kde.org/qt/qt/${pkgname#*-}/-/archive/$_commit/${pkgname#*-}-$_commit.tar.gz"
builddir="$srcdir"/${pkgname#*-}-$_commit

prepare() {
	default_prepare

	# Make configure think we are running in a git directory
	# This makes it symlink the include files to the right directory
	mkdir .git
}

build() {
	qmake
	make
}

check() {
	make check
}

package() {
	make install INSTALL_ROOT="$pkgdir"
}

sha512sums="4cccad10f068fb5825c70c5db3cd3a1bd4ea73b241fd1cec6edd2b7a1ab13f7800653e6f0f3157ec8c2e8c6162fad15761a5a138843972843b1d62fd3f9551fd  qtremoteobjects-4d6d1e35fb8e0cb900b5e5e9266edea51dc4f735.tar.gz"