blob: 45884ac0c2a802c8aa54844c48d714a743303598 (
plain)
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
39
40
41
42
43
44
45
46
47
48
|
# Maintainer: Vladislav Nepogodin <nepogodin.vlad@gmail.com>
pkgname=iceoryx-git
pkgver=2.95.2.r9822.05f686b9c
pkgrel=1
pkgdesc="True zero-copy inter-process-communication"
arch=(x86_64)
url="https://github.com/eclipse-iceoryx/iceoryx"
license=('Apache-2.0')
depends=('acl' 'ncurses')
makedepends=('ninja' 'cmake' 'pkg-config' 'git')
source=("${pkgname}::git+https://github.com/eclipse-iceoryx/iceoryx.git")
sha512sums=('SKIP')
provides=('iceoryx')
conflicts=('iceoryx')
pkgver() {
cd "${srcdir}/${pkgname}"
_pkgver="$(cat VERSION)"
printf "${_pkgver}.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "${srcdir}/${pkgname}"
cmake -Bbuild -Hiceoryx_meta \
-GNinja \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_SHARED_LIBS=ON \
-DBINDING_C=ON \
-DEXAMPLES=OFF \
-DBUILD_TEST=OFF \
-DINTROSPECTION=OFF
cmake --build build
}
package() {
cd "${srcdir}/${pkgname}/build"
DESTDIR="${pkgdir}" cmake --build . --target install
cd "${srcdir}/${pkgname}"
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
# vim:set sw=2 sts=2 et:
|