You are not logged in.

#1 2021-02-06 08:13:04

greenleafvolatile
Member
Registered: 2019-08-10
Posts: 20

re: PKGBUILD

Noob Q:

Can I make a PKGBUILD for any and all packages that can be installed from source?

I want to install https://github.com/sophacles/vim-processing. It is not in the AUR and I don't like the idea of having untracked packages on my system.

Offline

#2 2021-02-06 08:42:59

GaKu999
Member
From: US/Eastern
Registered: 2020-06-21
Posts: 696

Re: re: PKGBUILD

greenleafvolatile wrote:

Noob Q:

Can I make a PKGBUILD for any and all packages that can be installed from source?

I want to install https://github.com/sophacles/vim-processing. It is not in the AUR and I don't like the idea of having untracked packages on my system.

Yes you can, take a look at similar PKGBUILDs and make your own with patience and testing.

Ooor install it locally on your user home.


My reposSome snippets

Heisenberg might have been here.

Offline

#3 2021-02-06 08:46:12

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,687

Re: re: PKGBUILD

I believe if it can run, or be compiled and built, then yes you can write a PKGBUILD. It's a good idea to try to build it first in a chroot environment.
https://wiki.archlinux.org/index.php/PKGBUILD
https://wiki.archlinux.org/index.php/makepkg

Offline

#4 2021-02-06 09:04:53

GaKu999
Member
From: US/Eastern
Registered: 2020-06-21
Posts: 696

Re: re: PKGBUILD

d_fajardo wrote:

I believe if it can run, or be compiled and built, then yes you can write a PKGBUILD. It's a good idea to try to build it first in a chroot environment.
https://wiki.archlinux.org/index.php/PKGBUILD
https://wiki.archlinux.org/index.php/makepkg

Build what? It’s a bunch of o’l scripts! tongue

This may be slightly relevant: https://wiki.archlinux.org/index.php/Vim#Plugins

But overall the PKGBUILD will be straight copy paste and chmod or install to have the proper UID/GID, and of course, knowing where goes what in a system wide scheme...

Last edited by GaKu999 (2021-02-06 09:10:50)


My reposSome snippets

Heisenberg might have been here.

Offline

#5 2021-02-06 09:34:52

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,687

Re: re: PKGBUILD

Build what? It’s a bunch of o’l scripts!

I was referring to something more general and not just the vim scripts, i.e. .configure, MAKEFILES, etc..

Offline

Board footer

Powered by FluxBB