[arch-commits] Commit in tuna/repos (2 files)

David Runge dvzrv at archlinux.org
Sat Feb 3 00:54:26 UTC 2018


    Date: Saturday, February 3, 2018 @ 00:54:25
  Author: dvzrv
Revision: 288664

archrelease: copy trunk to community-testing-any

Added:
  tuna/repos/community-testing-any/
  tuna/repos/community-testing-any/PKGBUILD
    (from rev 288663, tuna/trunk/PKGBUILD)

----------+
 PKGBUILD |   56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 56 insertions(+)

Copied: tuna/repos/community-testing-any/PKGBUILD (from rev 288663, tuna/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2018-02-03 00:54:25 UTC (rev 288664)
@@ -0,0 +1,56 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: Joakim Hernberg <jhernberg at alchemy.lu>
+# Contributor: Ninez <triplesquarednine at gmail.com>
+
+pkgname=tuna
+pkgver=0.13.1
+pkgrel=5
+epoch=1
+pkgdesc="Thread and IRQ affinity setting GUI and cmd line tool"
+url="https://rt.wiki.kernel.org/index.php/Tuna"
+arch=('any')
+license=('GPL')
+depends=('python2-ethtool' 'python2-linux-procfs' 'python2-schedutils'
+'python2-numpy' 'python2-matplotlib' 'pygtk' 'libglade')
+optdepends=('python2-inet_diag: Show network sockets in use by threads')
+source=("https://git.kernel.org/pub/scm/utils/${pkgname}/${pkgname}.git/snapshot/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('cb182f45ac0f55bc392d00df69178e7c19721156a7a88e5ed5a3061192aad7520ffe3f200d3bb95ad2d283615e004af30c380b7aee826079491b3744a73fb314')
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  sed -i '1s/python/python2/' {tuna-cmd,oscilloscope-cmd}.py
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  python2 setup.py build
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  python2 setup.py install --skip-build \
+    --optimize=1 \
+    --prefix=/usr \
+    --root="${pkgdir}/"
+
+  install -vDm755 "${pkgname}-cmd.py" "${pkgdir}/usr/bin/${pkgname}"
+  install -vDm755 oscilloscope-cmd.py "${pkgdir}/usr/bin/oscilloscope"
+  install -vDm644 "etc/${pkgname}/example.conf" \
+    "${pkgdir}/etc/${pkgname}/example.conf"
+  install -vDm644 "etc/${pkgname}.conf" "${pkgdir}/etc/${pkgname}.conf"
+  install -vDm644 "docs/oscilloscope+${pkgname}.pdf" \
+    "${pkgdir}/usr/share/${pkgname}/docs/oscilloscope+${pkgname}.pdf"
+  install -t "${pkgdir}/usr/share/${pkgname}/help/kthreads" \
+    -Dm644 help/kthreads/*
+  install -vDm644 "${pkgname}/${pkgname}_gui.glade" \
+    "${pkgdir}/usr/share/${pkgname}/${pkgname}_gui.glade"
+  install -vDm644 "${pkgname}.desktop" \
+    "${pkgdir}/usr/share/applications/${pkgname}.desktop"
+  install -vDm644 "org.${pkgname}.policy" \
+    "${pkgdir}/usr/share/polkit-1/actions/org.${pkgname}.policy"
+  install -vDm644 "docs/${pkgname}.8" \
+    "${pkgdir}/usr/share/man/man8/${pkgname}.8"
+
+}
+# vim:set ts=2 sw=2 et:
+



More information about the arch-commits mailing list