[arch-commits] Commit in trace-cmd/repos/community-x86_64 (4 files)
Evangelos Foutras
foutrelis at archlinux.org
Wed Dec 2 05:19:15 UTC 2020
Date: Wednesday, December 2, 2020 @ 05:19:15
Author: foutrelis
Revision: 769098
archrelease: copy trunk to community-x86_64
Added:
trace-cmd/repos/community-x86_64/PKGBUILD
(from rev 769097, trace-cmd/trunk/PKGBUILD)
trace-cmd/repos/community-x86_64/trace-cmd-2.9-make_install.patch
(from rev 769097, trace-cmd/trunk/trace-cmd-2.9-make_install.patch)
Deleted:
trace-cmd/repos/community-x86_64/PKGBUILD
trace-cmd/repos/community-x86_64/trace-cmd-2.9-make_install.patch
----------------------------------+
PKGBUILD | 86 ++++++++++++++++++-------------------
trace-cmd-2.9-make_install.patch | 24 +++++-----
2 files changed, 55 insertions(+), 55 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-12-02 05:19:10 UTC (rev 769097)
+++ PKGBUILD 2020-12-02 05:19:15 UTC (rev 769098)
@@ -1,43 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-pkgname=trace-cmd
-pkgver=2.9.1
-pkgrel=2
-pkgdesc="Interact with Ftrace Linux kernel internal tracer"
-arch=('x86_64')
-url="https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git"
-license=('GPL2' 'LGPL2.1')
-depends=('glibc')
-makedepends=('audit' 'python' 'swig' 'asciidoc')
-optdepends=('python: for Python plugins')
-source=("https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/snapshot/trace-cmd-v${pkgver}.tar.gz"
- "${pkgname}-2.9-make_install.patch")
-sha512sums=('186bfdd8ff1e88e9e6d3ae87b123f049892deaaa8d6a42944b6f8abee6b828946b88774029aa96daf4423a3dfc01b42835508f44f636dd02579ef9a8ef425131'
- 'c9321b2b885d88557a057d7064690274799ab1d67a8babb78b1c54c4d81546fdea7313286cfd5fb9efbbcf87cf8394dcb17202ac88434a351aa652e7109e1db6')
-b2sums=('f7aa2f12b2c90f35390857ed6f5818b74c42be36ce70835d86410f9f4931d27410123baaad007fa2795c1ba1f5bafc739db620f467ccc48021d774ee7be8a68d'
- '8a644be295417b1fd5fb807285a7176ef0ceb737352bbb4c7a88441f9b955a90befe974d890a58f2b8fb6de8a68a1b3c5d207f057c4b08db79caf6e97fa66f50')
-
-prepare() {
- mv -v "${pkgname}-v${pkgver}" "${pkgname}-${pkgver}"
- cd "${pkgname}-${pkgver}"
- patch -Np1 -i "../${pkgname}-2.9-make_install.patch"
-}
-
-build() {
- cd "$pkgname-$pkgver"
- export PYTHON_VERS=python3
- make trace-cmd doc
-}
-
-package() {
- depends+=('libaudit.so')
-
- cd "${pkgname}-${pkgver}"
- make prefix="/usr" \
- DESTDIR="${pkgdir}/" \
- install install_doc
- install -vDm 644 tracecmd/${pkgname}.bash \
- "${pkgdir}/usr/share/bash/bash-completion/completions/${pkgname}"
- # removing python2 script
- rm -v "${pkgdir}/usr/lib/trace-cmd/python/event-viewer.py"
-}
Copied: trace-cmd/repos/community-x86_64/PKGBUILD (from rev 769097, trace-cmd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-12-02 05:19:15 UTC (rev 769098)
@@ -0,0 +1,43 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+pkgname=trace-cmd
+pkgver=2.9.1
+pkgrel=3
+pkgdesc="Interact with Ftrace Linux kernel internal tracer"
+arch=('x86_64')
+url="https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git"
+license=('GPL2' 'LGPL2.1')
+depends=('glibc')
+makedepends=('audit' 'python' 'swig' 'asciidoc')
+optdepends=('python: for Python plugins')
+source=("https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/snapshot/trace-cmd-v${pkgver}.tar.gz"
+ "${pkgname}-2.9-make_install.patch")
+sha512sums=('186bfdd8ff1e88e9e6d3ae87b123f049892deaaa8d6a42944b6f8abee6b828946b88774029aa96daf4423a3dfc01b42835508f44f636dd02579ef9a8ef425131'
+ 'c9321b2b885d88557a057d7064690274799ab1d67a8babb78b1c54c4d81546fdea7313286cfd5fb9efbbcf87cf8394dcb17202ac88434a351aa652e7109e1db6')
+b2sums=('f7aa2f12b2c90f35390857ed6f5818b74c42be36ce70835d86410f9f4931d27410123baaad007fa2795c1ba1f5bafc739db620f467ccc48021d774ee7be8a68d'
+ '8a644be295417b1fd5fb807285a7176ef0ceb737352bbb4c7a88441f9b955a90befe974d890a58f2b8fb6de8a68a1b3c5d207f057c4b08db79caf6e97fa66f50')
+
+prepare() {
+ mv -v "${pkgname}-v${pkgver}" "${pkgname}-${pkgver}"
+ cd "${pkgname}-${pkgver}"
+ patch -Np1 -i "../${pkgname}-2.9-make_install.patch"
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+ export PYTHON_VERS=python3
+ make trace-cmd doc
+}
+
+package() {
+ depends+=('libaudit.so')
+
+ cd "${pkgname}-${pkgver}"
+ make prefix="/usr" \
+ DESTDIR="${pkgdir}/" \
+ install install_doc
+ install -vDm 644 tracecmd/${pkgname}.bash \
+ "${pkgdir}/usr/share/bash/bash-completion/completions/${pkgname}"
+ # removing python2 script
+ rm -v "${pkgdir}/usr/lib/trace-cmd/python/event-viewer.py"
+}
Deleted: trace-cmd-2.9-make_install.patch
===================================================================
--- trace-cmd-2.9-make_install.patch 2020-12-02 05:19:10 UTC (rev 769097)
+++ trace-cmd-2.9-make_install.patch 2020-12-02 05:19:15 UTC (rev 769098)
@@ -1,12 +0,0 @@
-diff -ruN a/Makefile b/Makefile
---- a/Makefile 2020-07-17 17:14:20.000000000 +0200
-+++ b/Makefile 2020-07-18 10:37:32.898885286 +0200
-@@ -398,7 +398,7 @@
- install_bash_completion: force
- $(Q)$(call do_install_data,$(src)/tracecmd/trace-cmd.bash,$(BASH_COMPLETE_DIR))
-
--install_cmd: all_cmd install_plugins install_python install_bash_completion
-+install_cmd: all_cmd install_plugins install_python
- $(Q)$(call do_install,$(obj)/tracecmd/trace-cmd,$(bindir_SQ))
-
- install: install_cmd
Copied: trace-cmd/repos/community-x86_64/trace-cmd-2.9-make_install.patch (from rev 769097, trace-cmd/trunk/trace-cmd-2.9-make_install.patch)
===================================================================
--- trace-cmd-2.9-make_install.patch (rev 0)
+++ trace-cmd-2.9-make_install.patch 2020-12-02 05:19:15 UTC (rev 769098)
@@ -0,0 +1,12 @@
+diff -ruN a/Makefile b/Makefile
+--- a/Makefile 2020-07-17 17:14:20.000000000 +0200
++++ b/Makefile 2020-07-18 10:37:32.898885286 +0200
+@@ -398,7 +398,7 @@
+ install_bash_completion: force
+ $(Q)$(call do_install_data,$(src)/tracecmd/trace-cmd.bash,$(BASH_COMPLETE_DIR))
+
+-install_cmd: all_cmd install_plugins install_python install_bash_completion
++install_cmd: all_cmd install_plugins install_python
+ $(Q)$(call do_install,$(obj)/tracecmd/trace-cmd,$(bindir_SQ))
+
+ install: install_cmd
More information about the arch-commits
mailing list