[arch-commits] Commit in kernelshark/trunk (PKGBUILD)

David Runge dvzrv at gemini.archlinux.org
Wed Jan 19 21:12:54 UTC 2022


    Date: Wednesday, January 19, 2022 @ 21:12:54
  Author: dvzrv
Revision: 1110763

upgpkg: kernelshark 2.1.0-1: Upgrade to 2.1.0.

Simplify calls to cmake/make.
Simplify quoting in file.

Modified:
  kernelshark/trunk/PKGBUILD

----------+
 PKGBUILD |   19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-19 21:11:27 UTC (rev 1110762)
+++ PKGBUILD	2022-01-19 21:12:54 UTC (rev 1110763)
@@ -1,18 +1,18 @@
 # Maintainer: David Runge <dvzrv at archlinux.org>
 
 pkgname=kernelshark
-pkgver=2.0.2
+pkgver=2.1.0
 pkgrel=1
 pkgdesc="GUI frontend for trace-cmd based Linux kernel Ftrace captures"
-arch=('x86_64')
+arch=(x86_64)
 url="https://kernelshark.org/"
-license=('GPL2')
+license=(GPL2)
 depends=(freeglut gcc-libs glibc glu libglvnd qt5-base)
 makedepends=(boost cmake json-c libtracefs libtraceevent trace-cmd ttf-fira-sans)
 provides=(libkshark.so libkshark-plot.so libkshark-gui.so)
 source=("${pkgname}-${pkgver}.tar.gz::https://git.kernel.org/pub/scm/utils/trace-cmd/kernel-shark.git/snapshot/kernel-shark-${pkgname}-v${pkgver}.tar.gz")
-sha512sums=('3e293dbc7802f1a9245f0b9081cfabb7845428239aafe8e552038b29c49d6693c970f1e49bf33ef87c23bb9e047b04f1014d3716cbd71859a1e12a54ff6a5ca5')
-b2sums=('09970743e6cc125c63f70a4967ad63db0f71b7006c1fb9e4152393f338638679a2d1655c2b1859bfd9ef317e2fb705aa85e1d087fa45baf058037bcf79cfa177')
+sha512sums=('4b463cf06a919d67fa38ada8221e4702e2fac725d917e7abd12e1d69880ba964881ac549caf90bd7cb22edea4f28d7937494a05f75218f16fe2edcdff7161c3e')
+b2sums=('2798626c598ec2464f018b5808a6da460a552920c373dbf1eaba5d243e2f150da2a9a25668f8cb27e2ddc7dc286d4d5215d942893456de9339a63bde0e4d7381')
 
 prepare() {
   mv -v "kernel-shark-${pkgname}-v${pkgver}" "${pkgname}-${pkgver}"
@@ -24,19 +24,18 @@
 }
 
 build() {
-  cd "$pkgname-$pkgver"
   cmake -DCMAKE_INSTALL_PREFIX=/usr \
+        -DCMAKE_BUILD_TYPE=None \
         -D_INSTALL_PREFIX=/usr \
         -D_LIBDIR=/usr/lib \
-        -DCMAKE_BUILD_TYPE='None' \
         -Wno-dev \
         -B build \
-        -S .
+        -S "$pkgname-$pkgver"
   make VERBOSE=1 -C build
 }
 
 package() {
   depends+=(libjson-c.so libtracefs.so libtracecmd.so libtraceevent.so)
-  cd "$pkgname-$pkgver"
-  make DESTDIR="${pkgdir}" prefix='/usr' VERBOSE=1 -C build install
+
+  make DESTDIR="${pkgdir}" prefix=/usr VERBOSE=1 install -C build
 }



More information about the arch-commits mailing list