Package Details: ryzen-controller-bin 2.6.0-2

Git Clone URL: https://aur.archlinux.org/ryzen-controller-bin.git (read-only, click to copy)
Package Base: ryzen-controller-bin
Description: (DEPRECATED) A minimal Electron application to use ryzenAdj through a friendly interface
Upstream URL: https://gitlab.com/ryzen-controller-team/ryzen-controller
Licenses: CC0 1.0 Universal
Conflicts: ryzen-controller, ryzencontroller
Provides: ryzen-controller
Submitter: termuellinator
Maintainer: termuellinator
Last Packager: termuellinator
Votes: 8
Popularity: 0.169689
First Submitted: 2020-08-29 15:27 (UTC)
Last Updated: 2023-09-20 10:02 (UTC)

Latest Comments

« First ‹ Previous 1 2 3

yochananmarqos commented on 2020-08-26 20:34 (UTC) (edited on 2020-08-26 20:36 (UTC) by yochananmarqos)

@termuellinator: First, the new package ryzen-controller-bin would need to be created, then a merge request would need to be submitted to merge ryzencontroller-bin into ryzen-controller-bin.

In the new ryzen-controller-bin package, you would add the old package to conflicts() and replaces():

provides=('ryzen-controller')
conflicts=('ryzen-controller' 'ryzencontroller')
replaces=('ryzencontroller-bin')

termuellinator commented on 2020-08-26 17:46 (UTC)

you are right @yochananmarqos , that is indeed more elegant, thank you :)

And i noticed the missing dash too late after creating the package - and there is no good way (that i know of) to rename an AUR-Package, is there?

yochananmarqos commented on 2020-08-26 14:10 (UTC) (edited on 2020-08-26 14:11 (UTC) by yochananmarqos)

Why not extract the tarball directly into the $pkgdir?

package() {
    bsdtar -xvf data.tar.xz -C "$pkgdir"
    chmod -R g-w "$pkgdir"/{usr,opt}
}

Also, this should be renamed to ryzen-controller-bin to match the project name and filenames.

termuellinator commented on 2020-04-09 08:22 (UTC)

Ah, thank you very much! First i suspected some kind of formating error (newline for example) and checked if the file was unicode - it never dawned to me that makepkg needs ASCII though ^^

archi42 commented on 2020-04-09 07:15 (UTC) (edited on 2020-04-09 07:16 (UTC) by archi42)

Your PKGBUILD has leading three bytes as a Unicode Byte Order Mark (BOM). This is not shown by vim (most editors probably know how to interpret it), but messes up makepkg:

thor:ryzencontroller-bin [master] $ file PKGBUILD
PKGBUILD: UTF-8 Unicode (with BOM) text
thor:ryzencontroller-bin [master] $ hexdump PKGBUILD -C
00000000  ef bb bf 23 4d 61 69 6e  74 61 69 6e 65 72 3a 20  |...#Maintainer:

No idea how to change that with vim, but with kate I opened the file, changed UTF-8 at the bottom right corner to Western European -> ISO-8859-1, hit Ctrl+S and the BOM was gone:

thor:ryzencontroller-bin [master] $ file PKGBUILD
PKGBUILD: ASCII text

Someone(tm) probably should open up a bug with the makepkg folks to check that the file is ASCII, not unicode.

termuellinator commented on 2020-03-31 10:29 (UTC)

even so i still get the error, just with PKGBUILD: line 1: #: command not found I already tried several variations but keep getting this error - i'm also curious to why this is but am kind of out of ideas tbh

Spanner_Man commented on 2020-03-30 23:46 (UTC)

PKGBUILD line 1 should read as; # Maintainer: termuellinator otherwise the following error; PKGBUILD: line 1: #Maintainer:: command not found