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

David Runge dvzrv at gemini.archlinux.org
Sat Jul 9 10:15:12 UTC 2022


    Date: Saturday, July 9, 2022 @ 10:15:12
  Author: dvzrv
Revision: 1249085

upgpkg: rt-tests 2.4-1: Upgrade to 2.4.

Remove unnecessary quotes and curly braces.
Simplify calls to make.

Modified:
  rt-tests/trunk/PKGBUILD

----------+
 PKGBUILD |   27 +++++++++++++--------------
 1 file changed, 13 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-07-09 10:12:27 UTC (rev 1249084)
+++ PKGBUILD	2022-07-09 10:15:12 UTC (rev 1249085)
@@ -2,8 +2,8 @@
 # Contributor: Joakim Hernberg <jhernberg at alchemy dot lu>
 
 pkgname=rt-tests
-pkgver=2.3
-pkgrel=2
+pkgver=2.4
+pkgrel=1
 pkgdesc="A collection of latency testing tools for the linux(-rt) kernel"
 arch=(x86_64)
 url="https://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git/about/"
@@ -11,22 +11,21 @@
 groups=(realtime)
 depends=(glibc)
 makedepends=(numactl python)
-optdepends=('bash: for determine_maximum_mpps.sh'
-            'numactl: for cyclictest, oslat and signaltest'
-            'python: for get_cyclictest_snapshot and hwlatdetect')
-source=("https://git.kernel.org/pub/scm/utils/${pkgname}/${pkgname}.git/snapshot/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('920e04c716a104b08c49ab5886723d68064c7a28a65078201198c3edb695d07e491ed05f62615400efa13b0ece3a74b82037aa23fec9e3b3e9577cc9686e0ed4')
-b2sums=('59bb723c1c724a0fbd6938069729e1ac264e72d30ff860079f4d90cf52dd781c211712a61872dd7f3ce28abfb0d5badab08b37ecb69194c7b1d2305d981bbfc9')
+optdepends=(
+  'bash: for determine_maximum_mpps.sh'
+  'numactl: for cyclictest, oslat and signaltest'
+  'python: for get_cyclictest_snapshot and hwlatdetect'
+)
+source=(https://git.kernel.org/pub/scm/utils/$pkgname/$pkgname.git/snapshot/$pkgname-$pkgver.tar.gz)
+sha512sums=('34c157cc0ad049146560812ea61be073730610081723c5d1ab93c8d0c83017991a6c5b06eac7bb6dc974b35a57591f0056a1e0ab912906e2c6d31ba8a1ced497')
+b2sums=('d359843009818d54c999724731810f61d9411b8c839f3ca0758a07d5e48abbcbcc4742dd9fad7e8d4c5b380be933f13df24dca80ba2a1aec34510e2b417b0bf4')
 
 build() {
-  cd "${pkgname}-${pkgver}"
   export PYLIB=$(python -c 'import distutils.sysconfig;  print(distutils.sysconfig.get_python_lib())')
-  make
+  make -C $pkgname-$pkgver
 }
 
 package() {
-  cd "${pkgname}-${pkgver}"
-  make prefix=/usr DESTDIR="${pkgdir}" install
-  install -vDm 644 {MAINTAINERS,README.markdown} \
-    -t "${pkgdir}/usr/share/doc/${pkgname}"
+  make prefix=/usr DESTDIR="${pkgdir}" install -C $pkgname-$pkgver
+  install -vDm 644 $pkgname-$pkgver/{MAINTAINERS,README.markdown} -t "$pkgdir/usr/share/doc/$pkgname/"
 }



More information about the arch-commits mailing list