You are not logged in.

#1 2015-04-17 17:24:46

Zzaponka
Member
From: Kyiv, Ukraine
Registered: 2014-07-03
Posts: 7

--pkg option for makepkg doesn't work

Hi!

I'm trying to recompile vim package for myself with X support. Its PKGBUILD includes several packages (vim, gvim and so on). If I just say "makepkg" in the directory with PKGBUILD file, I get the error:

==> ERROR: install file (gvim.install) does not exist

Certainly, I just can move this file from /var/abs/extra/vim/ directory, but I don't want to build gvim.

After reading man for makepkg I know that there's --pkg option, which allows to build particular package from multi-package PKGBUILD. But if I use it I still get the same error. I've searched the forum and only found one similar topic: https://bbs.archlinux.org/viewtopic.php?id=78817. It says that it impossible to build one package from multi-package file, but it is outdated.

Is it still true that --pkg option doesn't work, or it is me doing something wrong?

Thanks.

Offline

#2 2015-04-17 18:11:41

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

Re: --pkg option for makepkg doesn't work

You either need to provide all the files mentioned in the PKGBUILD (even if you don't plan on using them), like .install files, patches etc. or edit the PKGBUILD and remove the mentions of them.

Offline

Board footer

Powered by FluxBB