diff options
author | Andreas Grapentin <andreas@grapentin.org> | 2019-02-21 22:25:57 +0100 |
---|---|---|
committer | Andreas Grapentin <andreas@grapentin.org> | 2019-02-21 22:25:57 +0100 |
commit | 4ab79b36e05d98ca24fb42a7b3236290c250ab24 (patch) | |
tree | 49fd6c7ee3f6ec70f57ec62807ab5af8dd21ec79 | |
parent | eb78547bc0a6c2e2a609efd311e546d635461ee9 (diff) | |
download | abslibre-4ab79b36e05d98ca24fb42a7b3236290c250ab24.tar.gz abslibre-4ab79b36e05d98ca24fb42a7b3236290c250ab24.tar.bz2 abslibre-4ab79b36e05d98ca24fb42a7b3236290c250ab24.zip |
pcr/rxcpp: added
-rw-r--r-- | pcr/rxcpp/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pcr/rxcpp/PKGBUILD b/pcr/rxcpp/PKGBUILD new file mode 100644 index 000000000..3409dba25 --- /dev/null +++ b/pcr/rxcpp/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer (AUR): Peter Majchrak <petoknm@gmail.com> +# repolint: reason=asdeps + +pkgname=rxcpp +pkgver=4.1.0 +pkgrel=1 +pkgdesc="Reactive Extensions for C++" +arch=('i686' 'x86_64') +url="https://github.com/ReactiveX/RxCpp" +license=('Apache') +makedepends=('gcc' 'make' 'cmake' 'catch2') +source=("$pkgname-$pkgver.tar.gz::https://github.com/ReactiveX/RxCpp/archive/4.1.0.tar.gz") +sha256sums=('d3bb49c7ac6b5c43235df710510fce87d827bb88a1b78242017f190d2acbbdea') + +build() { + cd "RxCpp-$pkgver/projects/CMake" + + export CXXFLAGS="$CXXFLAGS -I/usr/include/catch2/" + cmake . + make -j1 +} + +check() { + cd "RxCpp-$pkgver/projects/CMake/test" + + ctest +} + +package() { + cd "RxCpp-$pkgver/projects/CMake" + + make DESTDIR="$pkgdir/" install +} |