You are not logged in.

#1 2015-02-06 08:07:00

Kolt Penny
Member
Registered: 2013-09-12
Posts: 107

[SOLVED] Missing package () function for PyTyle2

Hi, I was trying to install this tarball from the AUR: https://aur.archlinux.org/packages.php?ID=42541

But it prompts the following error:

==> ERROR: Missing package() function in /home/kolt/AUR/pytyle2-hg/PKGBUILD

I've read the PKGBUILD and have no idea why this is happening. I already installed the dependencies needed.

Any clue?

Last edited by Kolt Penny (2015-02-06 08:31:45)

Offline

#2 2015-02-06 08:13:51

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,680
Website

Re: [SOLVED] Missing package () function for PyTyle2

Replace "build ()" with "package ()"

The PKGBUILD is using an obsolete format.

It also hasn't been updated in over two years so it may not build at all even with this change.

Offline

#3 2015-02-06 08:23:16

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,407
Website

Re: [SOLVED] Missing package () function for PyTyle2

Kolt Penny wrote:

I've read the PKGBUILD and have no idea why this is happening. I already installed the dependencies needed.

Read the pacman output, it refers to the package() function and makepkg doesn't find it in the PKGBUILD as said. Ask the maintainer to update or orphan it, if he doesn't respond file an AUR request.


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby

Offline

#4 2015-02-06 08:31:26

Kolt Penny
Member
Registered: 2013-09-12
Posts: 107

Re: [SOLVED] Missing package () function for PyTyle2

Thank you both, I'm going to try and contact the mantainer. I'm also going to look for alternatives to this software.

Offline

Board footer

Powered by FluxBB