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

David Runge dvzrv at archlinux.org
Fri Jun 21 14:57:53 UTC 2019


    Date: Friday, June 21, 2019 @ 14:57:53
  Author: dvzrv
Revision: 482612

upgpkg: rt-tests 1.4-1

Upgrading to 1.4. Removing stale directories, formely used for the backfire kernel module (which isn't build by default anymore).

Modified:
  rt-tests/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-21 14:31:05 UTC (rev 482611)
+++ PKGBUILD	2019-06-21 14:57:53 UTC (rev 482612)
@@ -2,7 +2,7 @@
 # Contributor: Joakim Hernberg <jhernberg at alchemy dot lu>
 
 pkgname=rt-tests
-pkgver=1.3
+pkgver=1.4
 pkgrel=1
 pkgdesc="A collection of latency testing tools for the linux(-rt) kernel"
 arch=('x86_64')
@@ -11,14 +11,11 @@
 groups=('realtime')
 depends=('python' 'numactl')
 source=("https://git.kernel.org/pub/scm/utils/${pkgname}/${pkgname}.git/snapshot/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('dbab2f3250647439d79bbf75860e46bc76f95673f00a50cc940be7f71d6019d9d9ba1c4d06e4ceeb79fdc2709980f2d8edea008ef2448a946c0fdcd2614ba9eb')
+sha512sums=('c6485a615ccfcae97983fbcfd6b8e2575d2860447fa0381049757e016bfd5898689b32544dce063604bcf36096d7f465f40e7676ac6c0c63c9efdd17705e875f')
 
-prepare() {
-  export PYLIB=$(python -c 'import distutils.sysconfig;  print(distutils.sysconfig.get_python_lib())')
-}
-
 build() {
   cd "${pkgname}-${pkgver}"
+  export PYLIB=$(python -c 'import distutils.sysconfig;  print(distutils.sysconfig.get_python_lib())')
   make
 }
 
@@ -27,4 +24,6 @@
   make prefix=/usr DESTDIR="${pkgdir}" install
   install -vDm 644 {MAINTAINERS,README.markdown} \
     -t "${pkgdir}/usr/share/doc/${pkgname}"
+  # removing stale directories
+  rmdir -v "${pkgdir}/usr/"{src,share/man/man4}
 }


More information about the arch-commits mailing list