Package Details: auto-cpufreq-git 1.5.5.r203.3985d3e-1

Git Clone URL: https://aur.archlinux.org/auto-cpufreq-git.git (read-only, click to copy)
Package Base: auto-cpufreq-git
Description: Automatic CPU speed & power optimizer
Upstream URL: https://github.com/AdnanHodzic/auto-cpufreq
Licenses: LGPL-3.0
Conflicts: auto-cpufreq
Provides: auto-cpufreq
Submitter: crian
Maintainer: crian
Last Packager: crian
Votes: 13
Popularity: 1.77
First Submitted: 2020-01-07 09:54
Last Updated: 2021-02-04 13:53

Dependencies (8)

Required by (0)

Sources (1)

Pinned Comments

OlexandrCh commented on 2020-08-13 20:44

Currently, we don't need to run --install on AUR
After installing from AUR, we need to start the systemd service.
systemctl enable auto-cpufreq
systemctl start auto-cpufreq

and check if it enabled and running with
systemctl status auto-cpufreq

Latest Comments

1 2 3 Next › Last »

yochananmarqos commented on 2021-02-03 17:18

@crian: dmidecode is a new dependency:

https://github.com/AdnanHodzic/auto-cpufreq/commit/5d26803204bbd110185381f45277245d70ee016b

yochananmarqos commented on 2020-12-06 15:34

@crian: It turns out auto-cpufreq will backup /usr/bin/cpufreqctl if it finds it on first run as /usr/bin/cpufreqctl.auto-cpufreq.bak. Either way int places it's own binary as an untracked file. See here. To deal with that, add the following to the install file:

    # Remove auto-cpufreq's cpufreqctl binary
    rm /usr/bin/cpufreqctl

    # Restore original cpufreqctl binary if backup was made
    if [ -f "/usr/bin/cpufreqctl.auto-cpufreq.bak" ]; then
        mv /usr/bin/cpufreqctl.auto-cpufreq.bak /usr/bin/cpufreqctl
    fi

yochananmarqos commented on 2020-09-13 03:45

As of v1.3, this no longer requires inxi.

yochananmarqos commented on 2020-09-02 15:18

@crian: Oh, I see. Use this:

pkgver() {
    cd "$srcdir/${pkgname%-git}"
    local srcversion="$(grep "version: '" snap/snapcraft.yaml | cut -d "'" -f 2)"
    printf "%s.r%s.%s" $srcversion "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
1.2.2.r136.4c2670c

crian commented on 2020-09-02 14:36

@yochananmarqos: because the tags couldn't be fetched. Throws out an error during the pkg build. Don't know what upstream has done to cause this.

yochananmarqos commented on 2020-09-02 13:59

@crian: Why did you change the pkgver()? r < 1, so it will now appear as a downgrade. Please revert the change as tags should be used.

OlexandrCh commented on 2020-08-13 20:44

Currently, we don't need to run --install on AUR
After installing from AUR, we need to start the systemd service.
systemctl enable auto-cpufreq
systemctl start auto-cpufreq

and check if it enabled and running with
systemctl status auto-cpufreq

yochananmarqos commented on 2020-08-10 01:06

Please remove the v from the tag with s/^v//:

pkgver() {
    cd "$srcdir/${pkgname%-git}"
    git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

yochananmarqos commented on 2020-08-06 20:14

inxi is also required with the --debug flag.

yochananmarqos commented on 2020-08-05 22:24

This no longer requires python-power, see this commit.

I had to tweak a few things, see my updated PKGBUILD.