Update to version 2.6.0
This commit is contained in:
parent
aaee2927cd
commit
eef28bd77e
2 changed files with 19 additions and 22 deletions
13
.SRCINFO
13
.SRCINFO
|
@ -1,6 +1,8 @@
|
|||
pkgbase = tuned-git
|
||||
# Generated by mksrcinfo v8
|
||||
# Tue Jan 26 12:06:30 UTC 2016
|
||||
pkgbase = tuned
|
||||
pkgdesc = Daemon that performs monitoring and adaptive configuration of devices in the system
|
||||
pkgver = 2.5.0.r6.ge32bd6b
|
||||
pkgver = 2.6.0
|
||||
pkgrel = 1
|
||||
url = https://fedorahosted.org/tuned/
|
||||
install = tuned.install
|
||||
|
@ -13,12 +15,13 @@ pkgbase = tuned-git
|
|||
depends = python2-gobject2
|
||||
depends = python2-decorator
|
||||
depends = python2-dbus
|
||||
depends = python2-gobject
|
||||
optdepends = virt-what
|
||||
optdepends = systemtap
|
||||
provides = tuned
|
||||
backup = etc/tuned/active_profile
|
||||
source = tuned-git::git://git.fedorahosted.org/git/tuned.git
|
||||
sha256sums = SKIP
|
||||
source = https://fedorahosted.org/releases/t/u/tuned/tuned-2.6.0.tar.bz2
|
||||
sha256sums = 945c785b8020960d2665b570b3168c366e6b82399801952aea54b4d178dac876
|
||||
|
||||
pkgname = tuned-git
|
||||
pkgname = tuned
|
||||
|
||||
|
|
28
PKGBUILD
28
PKGBUILD
|
@ -1,31 +1,25 @@
|
|||
# Maintainer: Timothée Ravier < tim at siosm dot fr >
|
||||
# Contributor: Tom < reztho at archlinux dot org >
|
||||
# Maintainer: Iwan Timmer <irtimmer@gmail.com>
|
||||
# Contributor: Timothée Ravier <tim at siosm dot fr>
|
||||
# Contributor: Tom <reztho at archlinux dot org>
|
||||
|
||||
pkgname=tuned-git
|
||||
pkgver=2.5.0.r6.ge32bd6b
|
||||
pkgname=tuned
|
||||
pkgver=2.6.0
|
||||
pkgrel=1
|
||||
pkgdesc='Daemon that performs monitoring and adaptive configuration of devices in the system'
|
||||
arch=('any')
|
||||
url='https://fedorahosted.org/tuned/'
|
||||
license=('GPL')
|
||||
depends=('ethtool' 'python2-configobj' 'python2-pyudev' 'python2-gobject2'
|
||||
'python2-decorator' 'python2-dbus')
|
||||
depends=('ethtool' 'python2-configobj' 'python2-pyudev' 'python2-gobject2' 'python2-decorator' 'python2-dbus' 'python2-gobject')
|
||||
optdepends=('virt-what' 'systemtap')
|
||||
makedepends=('git')
|
||||
provides=('tuned')
|
||||
backup=('etc/tuned/active_profile')
|
||||
install="${pkgname/-git}.install"
|
||||
source=("${pkgname}::git://git.fedorahosted.org/git/${pkgname/-/.}")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd ${pkgname}
|
||||
local ver=$(git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g')
|
||||
printf "%s\n" "${ver:1}"
|
||||
}
|
||||
install="${pkgname}.install"
|
||||
source=("https://fedorahosted.org/releases/t/u/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
|
||||
sha256sums=('945c785b8020960d2665b570b3168c366e6b82399801952aea54b4d178dac876')
|
||||
|
||||
package() {
|
||||
cd ${pkgname}
|
||||
cd ${pkgname}-${pkgver}
|
||||
|
||||
make DESTDIR="${pkgdir}" install
|
||||
|
||||
|
@ -35,7 +29,7 @@ package() {
|
|||
|
||||
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}-${pkgver}/tuned.service "${pkgdir}"/usr/lib/systemd/system/tuned.service
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
||||
|
|
Loading…
Reference in a new issue