blob: 0643cb9f33829036a72364ce36720268529b2e3d (
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
|
# Maintainer: Vincent Bernardoff <vb at luminar dot eu dot org>
# Co-Maintainer: das_kube
# Co-Maintainer: Andrew Sun <adsun701 at gmail dot com>
pkgname=aeron-git
pkgver=1.46.1.r246.gf7acd9a268
pkgrel=1
pkgdesc="Efficient reliable UDP unicast, UDP multicast, and IPC message transport"
arch=('i686' 'x86_64')
url="https://github.com/real-logic/aeron"
license=('Apache')
depends=('gcc-libs' 'libbsd' 'util-linux-libs' 'zlib')
makedepends=('cmake')
source=("git+https://github.com/real-logic/aeron.git"
"aeronmd.service")
sha256sums=('SKIP'
'3e6f3d61880ef39743c77103a169f53074337adbe382c78a768bd001d8a646be')
provides=('aeron')
conflicts=('aeron')
pkgver() {
cd "${srcdir}/${pkgname%-git}"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
mkdir -p "${srcdir}/build" && cd "${srcdir}/build"
cmake \
-DBUILD_SHARED_LIBS=on \
-DBUILD_AERON_ARCHIVE_API=off \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DAERON_BUILD_DOCUMENTATION=off \
-DAERON_TESTS=off \
../${pkgname%-git}
make
}
package() {
cd "${srcdir}/build"
make DESTDIR="${pkgdir}" install
install -Dm644 "${srcdir}/aeronmd.service" "${pkgdir}/usr/lib/systemd/user/aeronmd.service"
}
|