summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 678e7994fa31a30b9223ed114c02f558e7231607 (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
# Maintainer: Windel Bouwman <windel@windel.nl>

pkgname=python-fastdds
pkgver=1.4.2
pkgrel=1
pkgdesc="Python bindings for Fast DDS"
arch=(x86_64)
url="https://github.com/eProsima/Fast-DDS-python"
license=('Apache-2.0')
depends=(fastdds python)
makedepends=(cmake swig)
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/eProsima/Fast-DDS-python/archive/refs/tags/v${pkgver}.tar.gz")
md5sums=("39163fc7412476a739aabd9245ffd253")

build() {
    cmake -B build -S "Fast-DDS-python-$pkgver/fastdds_python" \
        -DCMAKE_INSTALL_PREFIX:PATH=/usr \
        -DCMAKE_BUILD_TYPE=Release
    cmake --build build
}

package() {
    DESTDIR="$pkgdir" cmake --install build
}