Hi all, The original package splitting approach in makepkg was aligned to the KDE packaging approach (at the time) where each component had its own “make install-foo” target. In practice, distributions want to split a wider variety of packages that do not fit this mould, and various hacks have arisen. I have implemented a second approach to package splitting that can be used in parallel to the current one. A PKGBUILD can provide a stash() function that is run (in fakeroot) between building and packaging. This function will typically do the full install of the built software into the $stashdir directory. I.e. run a command similar to make DESTDIR=$stashdir install. Each package_foo() function can then include a list of files that are transferred from the stash into the pack…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help