blob: 813c677e6ab9f95b49d93752ae2efbf4ad9dda64 (
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
|
# 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
pkgver=1.46.7
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=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/real-logic/aeron/archive/${pkgver}.tar.gz"
"aeronmd.service")
sha256sums=('9938226321405034d93eefb50592cca4df1ee5726abda2820689b22c7724522f'
'3e6f3d61880ef39743c77103a169f53074337adbe382c78a768bd001d8a646be')
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}-${pkgver}
make
}
package() {
cd "${srcdir}/build"
make DESTDIR="${pkgdir}" install
install -Dm644 "${srcdir}/aeronmd.service" "${pkgdir}/usr/lib/systemd/user/aeronmd.service"
}
|