You are not logged in.

#1 2015-03-03 17:25:22

musasabi
Member
From: Chicago, IL
Registered: 2011-06-23
Posts: 63

[SOLVED] QBZR/BZR Explorer package broken (pacaur)

When attempting to install this package (via pacaur) I get a pkgbuild error of "Missing package() function" in both QBZR and BZR Explorer. A look in the pkgbuild files shows that, sure enough, there's only a build() function in both.

I've never made an AUR package nor worked with pkgbuild, so... Given that both of these packages are fairly out of date, how do I fix them? smile

Last edited by musasabi (2015-03-03 18:58:23)

Offline

#2 2015-03-03 17:32:40

satanselbow
Member
Registered: 2011-06-15
Posts: 538

Re: [SOLVED] QBZR/BZR Explorer package broken (pacaur)

replace the build() with package() ... has been asked and answered many times before... this will only work for packages that are otherwise not broken... installing disowned packages (unless you can fix them yourself) is not generally a good idea.

Offline

#3 2015-03-03 17:35:58

musasabi
Member
From: Chicago, IL
Registered: 2011-06-23
Posts: 63

Re: [SOLVED] QBZR/BZR Explorer package broken (pacaur)

I Googled "missing package()" and got a few older AUR issues, but didn't see the solution to this one. Thanks for the quick reply, though.

Installing disowned packages isn't wise, but is a little backwards compatibility in a build system so much to ask? Haha.

Offline

#4 2015-03-03 17:45:06

satanselbow
Member
Registered: 2011-06-15
Posts: 538

Re: [SOLVED] QBZR/BZR Explorer package broken (pacaur)

Only if ou are prepared to build it yourself wink Dunno if you looked but there is only one other 2 year old release - so rather looks like the project was abandoned sad

Offline

#5 2015-03-03 17:54:06

musasabi
Member
From: Chicago, IL
Registered: 2011-06-23
Posts: 63

Re: [SOLVED] QBZR/BZR Explorer package broken (pacaur)

Touche. Being an old Gentoo user, I have to say I'm ecstatic that you had such an easy solution lying around to offer me. =P

Yeah, they're old. I like 'em, though. Posted in the comments in case anyone else is doing what I'm doing.

Offline

#6 2015-03-03 18:36:21

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] QBZR/BZR Explorer package broken (pacaur)

You should search the forum before posting: https://bbs.archlinux.org/viewtopic.php?id=193257
See https://wiki.archlinux.org/index.php/PKGBUILD on how to create a proper PKGBUILD.

Offline

#7 2015-03-03 18:58:08

musasabi
Member
From: Chicago, IL
Registered: 2011-06-23
Posts: 63

Re: [SOLVED] QBZR/BZR Explorer package broken (pacaur)

I did search, but as I said, I didn't find this particular issue. What search terms did you use to pull up that topic?

Offline

#8 2015-03-03 21:02:50

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] QBZR/BZR Explorer package broken (pacaur)

I've used Google search and narrowed it to 'Past month'

site:bbs.archlinux.org "Missing package() function"

Offline

#9 2015-03-03 21:04:58

musasabi
Member
From: Chicago, IL
Registered: 2011-06-23
Posts: 63

Re: [SOLVED] QBZR/BZR Explorer package broken (pacaur)

Ah, that's the key.

See, though, I would've had no clue to do that initially. It's been a while since I've installed BZR Explorer on another machine.

Offline

Board footer

Powered by FluxBB