diff options
author | Tong Chunli | 2021-09-15 15:37:03 +0000 |
---|---|---|
committer | Tong Chunli | 2021-09-15 15:37:03 +0000 |
commit | e37cbc6e7ec6fcde49fa0e57ba2001a0ffea6f21 (patch) | |
tree | aefd12eb3123a9fdbf9b529c5d804e1d061877ac | |
download | aur-e37cbc6e7ec6fcde49fa0e57ba2001a0ffea6f21.tar.gz |
one dds
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..db6e4e1b6272 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = cyclonedds + pkgdesc = Eclipse Cyclone DDS is a very performant and robust open-source DDS implementation. + pkgver = 0.7.0 + pkgrel = 1 + url = https://github.com/eclipse-cyclonedds/cyclonedds + arch = x86_64 + license = Eclipse + makedepends = cmake + makedepends = maven + depends = jdk + source = cyclonedds-0.7.0.tar.gz::https://github.com/eclipse-cyclonedds/cyclonedds/archive/refs/tags/0.7.0.tar.gz + sha256sums = ff3a8545c78c0019014bbb906da2f44184e919a4f9985995014a0b08238d86e5 + +pkgname = cyclonedds diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..2ed5fc288173 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Tong Chunli <tty2099@gmail.com> + +pkgname=cyclonedds +pkgver=0.7.0 +pkgrel=1 +pkgdesc='Eclipse Cyclone DDS is a very performant and robust open-source DDS implementation.' +arch=('x86_64') +url='https://github.com/eclipse-cyclonedds/cyclonedds' +license=('Eclipse') +depends=('jdk') +makedepends=('cmake' 'maven') +source=( + "$pkgname-$pkgver.tar.gz::https://github.com/eclipse-cyclonedds/cyclonedds/archive/refs/tags/${pkgver}.tar.gz" +) +sha256sums=('ff3a8545c78c0019014bbb906da2f44184e919a4f9985995014a0b08238d86e5') + +build() { + cmake -B build -S "$pkgname-$pkgver" \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_CXX_FLAGS="-march=native -mtune=native -pipe -O3" + make -C build +} + + +package() { + make -C build DESTDIR="$pkgdir" install +} |