You are not logged in.
Pages: 1
Hi,
I am trying to build vim using abs because I want it to be built with x-clipboard support.
I am not very familiar with PKGBUILDs. The vim PKGBUILD seems to build all the vim packages but I only want to build the 'vim' package itself.
When I set
pkgname=('vim') I get an error during makepkg:
/home/arch/lukas/abs/vim/PKGBUILD: line 56: cd: /tmp/makepkg/vim/src/vim-runtime-build: No such file or directoryThis directory does not exist because because I only want to build vim and not vim-runtime. I want to get vim runtime on the regular update way.
What am I missing here? Is it even possible to build only the vim package?
I put at button on it. Yes. I wish to press it, but I'm not sure what will happen if I do. (Gune | Titan A.E.)
Offline
$ man makepkg
[...]
--pkg <list>
Only build listed packages from a split package. Multiple packages should be comma
separated in the list. This option can be specified multiple times.
[...]That said, it will still build everything, as there is only one build() function. You'll need to modify the build function if you really wan to avoid compiling everything. Alternatively, there's vim-x11 in the AUR if you really want to avoid installing gvim and compiling all the vim packages.
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.
Online
Offline
I want to get vim runtime on the regular update way.
What WorMzy said. You need to use --pkg. It still builds all packages but calls _install() only for the packages you specified.
Read it before posting http://www.catb.org/esr/faqs/smart-questions.html
Ruby gems repository done right https://bbs.archlinux.org/viewtopic.php?id=182729
Fast initramfs generator with security in mind https://wiki.archlinux.org/index.php/Booster
Offline
What WorMzy said. You need to use --pkg. It still builds all packages but calls _install() only for the packages you specified.
Yes, but using specifying the package using this option leads to exactly the same error with the PKGBUILD from abs.
Actually this doesn't really matter anymore. I just installed gvim and everything is fine.
I was just curious if I did something wrong.
But I noticed that after building the whole thing, it is possible to then build just the vim package. Which is obviously unnecessary as one has built it already.
I put at button on it. Yes. I wish to press it, but I'm not sure what will happen if I do. (Gune | Titan A.E.)
Offline
Pages: 1