You are not logged in.

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

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.


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

Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 10,334

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).

Mobo: MSI X299 TOMAHAWK ARCTIC // Processor: Intel Core i7-7820X 3.6GHz // 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.


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

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:


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


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

Trusted User/Bug Wrangler
Registered: 2014-08-08
Posts: 4,081

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)


Board footer

Powered by FluxBB