You are not logged in.

#1 2016-02-08 20:48:47

avojevlavo
Member
Registered: 2010-05-27
Posts: 40

makepkg -sri ERROR: install should not be an array

Hi everyone,
I am trying to install conky-lua-nv from AUR, I downloaded the snapshot, extracted, cd to directory and when running makepkg -sri as usual I get this error:

makepkg -sri
==> ERROR: install should not be an array

am I missing something obvious? as conky-nvidia installs just fine.

I would provide additional configs but I dont know where to start.

Offline

#2 2016-02-08 20:55:38

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,787
Website

Re: makepkg -sri ERROR: install should not be an array

It's a poorly written PKGBUILD. Change the install line from an array to a string (remove the parenthesis).


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2016-02-08 20:58:49

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: makepkg -sri ERROR: install should not be an array

Presumably the error is refering to this line from the PKGBUILD:

install=('conky-lua-nv.install')

I assume that since only one install script is allowed per package, install isn't allowed to be an array. See wiki for more info.


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#4 2016-02-08 21:09:05

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: makepkg -sri ERROR: install should not be an array

We will probably start seeing a lot more of these problems now pacman 5 is stricter about checking variable types.

I had the opposite problem: a  package I adopted which suddenly stopped working because source was a string instead of an array.


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

Board footer

Powered by FluxBB