updated PKGBUILD and dependancies
This commit is contained in:
parent
aaee2927cd
commit
a22a54b95a
2 changed files with 15 additions and 17 deletions
17
.SRCINFO
17
.SRCINFO
|
@ -1,23 +1,24 @@
|
||||||
pkgbase = tuned-git
|
pkgbase = tuned-git
|
||||||
pkgdesc = Daemon that performs monitoring and adaptive configuration of devices in the system
|
pkgdesc = Daemon that performs monitoring and adaptive configuration of devices in the system
|
||||||
pkgver = 2.5.0.r6.ge32bd6b
|
pkgver = v2.10.0.r40.gb9e1316
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://fedorahosted.org/tuned/
|
url = https://github.com/redhat-performance/tuned
|
||||||
install = tuned.install
|
install = tuned.install
|
||||||
arch = any
|
arch = any
|
||||||
license = GPL
|
license = GPL
|
||||||
makedepends = git
|
makedepends = git
|
||||||
depends = ethtool
|
depends = ethtool
|
||||||
depends = python2-configobj
|
depends = python-configobj
|
||||||
depends = python2-pyudev
|
depends = python-pyudev
|
||||||
depends = python2-gobject2
|
depends = python-gobject2
|
||||||
depends = python2-decorator
|
depends = python-decorator
|
||||||
depends = python2-dbus
|
depends = python-dbus
|
||||||
|
depends = python-dmidecode
|
||||||
optdepends = virt-what
|
optdepends = virt-what
|
||||||
optdepends = systemtap
|
optdepends = systemtap
|
||||||
provides = tuned
|
provides = tuned
|
||||||
backup = etc/tuned/active_profile
|
backup = etc/tuned/active_profile
|
||||||
source = tuned-git::git://git.fedorahosted.org/git/tuned.git
|
source = tuned-git::git://github.com/redhat-performance/tuned
|
||||||
sha256sums = SKIP
|
sha256sums = SKIP
|
||||||
|
|
||||||
pkgname = tuned-git
|
pkgname = tuned-git
|
||||||
|
|
15
PKGBUILD
15
PKGBUILD
|
@ -1,21 +1,21 @@
|
||||||
# Maintainer: Timothée Ravier < tim at siosm dot fr >
|
# Maintainer: Wes Jackson < icebal dot 7 at gmail dot com >
|
||||||
# Contributor: Tom < reztho at archlinux dot org >
|
# Contributor: Tom < reztho at archlinux dot org >
|
||||||
|
|
||||||
pkgname=tuned-git
|
pkgname=tuned-git
|
||||||
pkgver=2.5.0.r6.ge32bd6b
|
pkgver=v2.10.0.r40.gb9e1316
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc='Daemon that performs monitoring and adaptive configuration of devices in the system'
|
pkgdesc='Daemon that performs monitoring and adaptive configuration of devices in the system'
|
||||||
arch=('any')
|
arch=('any')
|
||||||
url='https://fedorahosted.org/tuned/'
|
url='https://github.com/redhat-performance/tuned'
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
depends=('ethtool' 'python2-configobj' 'python2-pyudev' 'python2-gobject2'
|
depends=('ethtool' 'python-configobj' 'python-pyudev' 'python-gobject2'
|
||||||
'python2-decorator' 'python2-dbus')
|
'python-decorator' 'python-dbus' 'python-dmidecode')
|
||||||
optdepends=('virt-what' 'systemtap')
|
optdepends=('virt-what' 'systemtap')
|
||||||
makedepends=('git')
|
makedepends=('git')
|
||||||
provides=('tuned')
|
provides=('tuned')
|
||||||
backup=('etc/tuned/active_profile')
|
backup=('etc/tuned/active_profile')
|
||||||
install="${pkgname/-git}.install"
|
install="${pkgname/-git}.install"
|
||||||
source=("${pkgname}::git://git.fedorahosted.org/git/${pkgname/-/.}")
|
source=("${pkgname}::git://github.com/redhat-performance/tuned")
|
||||||
sha256sums=('SKIP')
|
sha256sums=('SKIP')
|
||||||
|
|
||||||
pkgver() {
|
pkgver() {
|
||||||
|
@ -32,9 +32,6 @@ package() {
|
||||||
mv "${pkgdir}"/usr/sbin/* "${pkgdir}"/usr/bin/
|
mv "${pkgdir}"/usr/sbin/* "${pkgdir}"/usr/bin/
|
||||||
mv "${pkgdir}"/usr/libexec/tuned/* "${pkgdir}"/usr/lib/tuned/
|
mv "${pkgdir}"/usr/libexec/tuned/* "${pkgdir}"/usr/lib/tuned/
|
||||||
rm -r "${pkgdir}"/run "${pkgdir}"/usr/sbin "${pkgdir}"/usr/libexec
|
rm -r "${pkgdir}"/run "${pkgdir}"/usr/sbin "${pkgdir}"/usr/libexec
|
||||||
|
|
||||||
find "${pkgdir}"/usr/bin/ -type f -exec sed -i 's@#!/usr/bin/python@#!/usr/bin/python2@' {} \;
|
|
||||||
|
|
||||||
install -Dm 0644 "${srcdir}"/${pkgname}/tuned.service "${pkgdir}"/usr/lib/systemd/system/tuned.service
|
install -Dm 0644 "${srcdir}"/${pkgname}/tuned.service "${pkgdir}"/usr/lib/systemd/system/tuned.service
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue