Package Details: auto-cpufreq-git 2.3.0.r16.ga7df94d-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: matthewq337
Last Packager: matthewq337
Votes: 20
Popularity: 0.021068
First Submitted: 2020-01-07 09:54 (UTC)
Last Updated: 2024-09-05 22:06 (UTC)

Dependencies (11)

Required by (0)

Sources (2)

Pinned Comments

OlexandrCh commented on 2020-08-13 20:44 (UTC) (edited on 2020-08-13 20:44 (UTC) by OlexandrCh)

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

« First ‹ Previous 1 2 3 4 5 Next › Last »

yochananmarqos commented on 2020-09-02 15:18 (UTC) (edited on 2020-09-02 15:20 (UTC) by yochananmarqos)

@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 (UTC) (edited on 2020-09-02 14:36 (UTC) by crian)

@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 (UTC)

@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 (UTC) (edited on 2020-08-13 20:44 (UTC) by OlexandrCh)

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 (UTC)

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 (UTC)

inxi is also required with the --debug flag.

yochananmarqos commented on 2020-08-05 22:24 (UTC)

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

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

crian commented on 2020-05-19 12:56 (UTC)

@Asutorufa fixed

yochananmarqos commented on 2020-05-18 21:26 (UTC)

@Asutorufa: That's not necessary. Just use sed to change the path:

prepare() {
    cd "$srcdir/${pkgname%-git}"
    sed -i 's|usr/local|usr|g' "scripts/${pkgname%-git}.service"
}

Asutorufa commented on 2020-05-14 02:26 (UTC)

cant start with systemctl, the /usr/local/bin/auto-cpufreq not exists, please add a link ln -s /usr/bin/auto-cpufreq /usr/local/bin/auto-cpufreq.