[arch-commits] Commit in laz-perf/trunk (PKGBUILD)
Sven-Hendrik Haase
svenstaro at gemini.archlinux.org
Tue Jul 20 15:57:23 UTC 2021
Date: Tuesday, July 20, 2021 @ 15:57:23
Author: svenstaro
Revision: 980272
upgpkg: laz-perf 1:2.0.5-1
Modified:
laz-perf/trunk/PKGBUILD
----------+
PKGBUILD | 32 +++++++++++++++++---------------
1 file changed, 17 insertions(+), 15 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-07-20 15:56:41 UTC (rev 980271)
+++ PKGBUILD 2021-07-20 15:57:23 UTC (rev 980272)
@@ -1,34 +1,36 @@
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
pkgname=laz-perf
-pkgver=1.3.0
+pkgver=2.0.5
epoch=1
-pkgrel=2
+pkgrel=1
pkgdesc="Alternative LAZ implementation for C++ and JavaScript"
arch=(any)
url="https://github.com/hobu/laz-perf"
-license=(LGPL)
-makedepends=(cmake)
-source=("https://github.com/hobu/laz-perf/archive/${pkgver}.tar.gz")
-sha512sums=('4e6e5197a90bf98fe6784a56e940070ad640ee2791443b9232960fd0f7639cc8d48d5c13df0cfc228e6be5fccd600afb1c171cb5e127bd874688e0ab231c25a8')
+license=('LGPL')
+makedepends=('cmake' 'ninja')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/hobu/laz-perf/archive/${pkgver}.tar.gz")
+sha512sums=('fd4f53399c01c168b977b1da101ba93ade4a2020aa76cf58f5af64a47a315bc443a71985404d62541670fef24a47357d40d21a08b4e7bbd70b562182f4bb92a1')
build() {
- mkdir -p laz-perf-$pkgver/build
- cd laz-perf-$pkgver/build
+ cd laz-perf-$pkgver
- cmake -DCMAKE_INSTALL_PREFIX=/usr ..
- make
+ cmake \
+ -Bbuild \
+ -GNinja \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ ninja -C build
}
check() {
- cd laz-perf-$pkgver/build
+ cd laz-perf-$pkgver
- make test
+ ninja -C build test
}
package() {
- cd laz-perf-$pkgver/build
+ cd laz-perf-$pkgver
- make DESTDIR="$pkgdir/" install
+ DESTDIR="$pkgdir/" ninja -C build install
}
# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list