[arch-commits] Commit in tuna/repos/community-any (PKGBUILD PKGBUILD)
David Runge
dvzrv at archlinux.org
Sun May 5 08:51:08 UTC 2019
Date: Sunday, May 5, 2019 @ 08:51:08
Author: dvzrv
Revision: 459321
archrelease: copy trunk to community-any
Added:
tuna/repos/community-any/PKGBUILD
(from rev 459320, tuna/trunk/PKGBUILD)
Deleted:
tuna/repos/community-any/PKGBUILD
----------+
PKGBUILD | 128 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 64 insertions(+), 64 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-05-05 08:51:02 UTC (rev 459320)
+++ PKGBUILD 2019-05-05 08:51:08 UTC (rev 459321)
@@ -1,64 +0,0 @@
-# Maintainer: David Runge <dave at sleepmap.de>
-# Contributor: Joakim Hernberg <jhernberg at alchemy.lu>
-# Contributor: Ninez <triplesquarednine at gmail.com>
-
-pkgname=tuna
-pkgver=0.14
-pkgrel=1
-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=('GPL2')
-groups=('realtime')
-depends=('python-ethtool' 'python-linux-procfs' 'python-numpy'
-'python-schedutils')
-optdepends=('python-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=('816d45e704fa1badc4734284b4c1a3892e829ef17b24752b19294d07e407cb8d3ece952e3b8ed2c195d854b1f80eb8d172479f4e3adfbc0aba81d90cce91b83a')
-
-prepare() {
- cd "${pkgname}-${pkgver}"
-}
-
-build() {
- cd "${pkgname}-${pkgver}"
- python setup.py build
-}
-
-package() {
- cd "${pkgname}-${pkgver}"
- python setup.py install --skip-build \
- --optimize=1 \
- --prefix=/usr \
- --root="${pkgdir}"
-
- # tuna was ported to python3, but pygtk (for the GUI) was not ported to
- # pygobject yet: https://bugs.archlinux.org/task/58188
-# install -vDm 755 oscilloscope-cmd.py "${pkgdir}/usr/bin/oscilloscope"
-# install -vDm 644 "${pkgname}/${pkgname}_gui.glade" \
-# -t "${pkgdir}/usr/share/${pkgname}/"
-# install -vDm 644 "${pkgname}.desktop" \
-# -t "${pkgdir}/usr/share/applications/"
- install -vDm 755 "${pkgname}-cmd.py" "${pkgdir}/usr/bin/${pkgname}"
- install -vDm 644 "etc/${pkgname}/example.conf" \
- -t "${pkgdir}/etc/${pkgname}/"
- install -vDm 644 "etc/${pkgname}.conf" -t "${pkgdir}/etc/"
- install -vDm 644 "docs/oscilloscope+${pkgname}.pdf" \
- -t "${pkgdir}/usr/share/docs/${pkgname}/"
- install -vDm 644 help/kthreads/* \
- -t "${pkgdir}/usr/share/${pkgname}/help/kthreads"
- install -vDm 644 "org.${pkgname}.policy" \
- -t "${pkgdir}/usr/share/polkit-1/actions/"
- install -vDm 644 "docs/${pkgname}.8" \
- -t "${pkgdir}/usr/share/man/man8/"
- # translations
- for language in `cat po/LINGUAS`; do
- translation="po/${language}.po"
- install -dm 755 "${pkgdir}/usr/share/locale/${language}/LC_MESSAGES"
- msgfmt $translation \
- -o "${pkgdir}/usr/share//locale/${language}/LC_MESSAGES/${pkgname}.mo"
- done
-}
-# vim:set ts=2 sw=2 et:
-
Copied: tuna/repos/community-any/PKGBUILD (from rev 459320, tuna/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-05-05 08:51:08 UTC (rev 459321)
@@ -0,0 +1,64 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: Joakim Hernberg <jhernberg at alchemy.lu>
+# Contributor: Ninez <triplesquarednine at gmail.com>
+
+pkgname=tuna
+pkgver=0.14
+pkgrel=2
+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=('GPL2')
+groups=('realtime')
+depends=('python-ethtool' 'python-linux-procfs' 'python-numpy'
+'python-schedutils')
+optdepends=('python-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=('816d45e704fa1badc4734284b4c1a3892e829ef17b24752b19294d07e407cb8d3ece952e3b8ed2c195d854b1f80eb8d172479f4e3adfbc0aba81d90cce91b83a')
+
+prepare() {
+ cd "${pkgname}-${pkgver}"
+}
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ python setup.py build
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ python setup.py install --skip-build \
+ --optimize=1 \
+ --prefix=/usr \
+ --root="${pkgdir}"
+
+ # tuna was ported to python3, but pygtk (for the GUI) was not ported to
+ # pygobject yet: https://bugs.archlinux.org/task/58188
+# install -vDm 755 oscilloscope-cmd.py "${pkgdir}/usr/bin/oscilloscope"
+# install -vDm 644 "${pkgname}/${pkgname}_gui.glade" \
+# -t "${pkgdir}/usr/share/${pkgname}/"
+# install -vDm 644 "${pkgname}.desktop" \
+# -t "${pkgdir}/usr/share/applications/"
+ install -vDm 755 "${pkgname}-cmd.py" "${pkgdir}/usr/bin/${pkgname}"
+ install -vDm 644 "etc/${pkgname}/example.conf" \
+ -t "${pkgdir}/etc/${pkgname}/"
+ install -vDm 644 "etc/${pkgname}.conf" -t "${pkgdir}/etc/"
+ install -vDm 644 "docs/oscilloscope+${pkgname}.pdf" \
+ -t "${pkgdir}/usr/share/doc/${pkgname}/"
+ install -vDm 644 help/kthreads/* \
+ -t "${pkgdir}/usr/share/${pkgname}/help/kthreads"
+ install -vDm 644 "org.${pkgname}.policy" \
+ -t "${pkgdir}/usr/share/polkit-1/actions/"
+ install -vDm 644 "docs/${pkgname}.8" \
+ -t "${pkgdir}/usr/share/man/man8/"
+ # translations
+ for language in `cat po/LINGUAS`; do
+ translation="po/${language}.po"
+ install -dm 755 "${pkgdir}/usr/share/locale/${language}/LC_MESSAGES"
+ msgfmt $translation \
+ -o "${pkgdir}/usr/share//locale/${language}/LC_MESSAGES/${pkgname}.mo"
+ done
+}
+# vim:set ts=2 sw=2 et:
+
More information about the arch-commits
mailing list