diff options
Diffstat (limited to 'testing/laz-perf/APKBUILD')
-rw-r--r-- | testing/laz-perf/APKBUILD | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/testing/laz-perf/APKBUILD b/testing/laz-perf/APKBUILD index ac8b56d399..e94f946bba 100644 --- a/testing/laz-perf/APKBUILD +++ b/testing/laz-perf/APKBUILD @@ -8,30 +8,26 @@ url="https://github.com/hobu/laz-perf" arch="all !armhf !armv7 !s390x" # armhf: io_test segfaults license="LGPL-2.0-or-later" makedepends="cmake" -install="" subpackages="$pkgname-dev" source="$pkgname-$pkgver.tar.gz::https://github.com/hobu/$pkgname/archive/$pkgver.tar.gz" -builddir="$srcdir/$pkgname-$pkgver" build() { - cd "$builddir" - - mkdir build && cd build - cmake .. \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=Release \ - -DWITH_TESTS=ON - make + mkdir build && cd build + cmake .. \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DWITH_TESTS=ON + make } check() { - cd "$builddir"/build - make test + cd "$builddir"/build + make test } package() { - cd "$builddir"/build - make DESTDIR="$pkgdir" install + cd "$builddir"/build + make DESTDIR="$pkgdir" install } sha512sums="f6e52e48848d4c409c7620b111b74160369f0cd5fd48c1a711139cc0337aea8dd9401fb0e098593f24edb2d71d910ca05931d3a411639d8aaf5183b7288ba8d0 laz-perf-1.2.0.tar.gz" |