You are not logged in.
I've already DESTDIR=../pkg make install
PKGBUILD metadata are complete
How to :
Directly archive pkg dir without building ?
Last edited by Halano (2024-12-12 17:10:40)
.:HalanoTheSmartMoth:.
Offline
There is the "-R, --repackage" option to makepkg, if I understood you right this does what you want to do (repackage without rebuilding)
Offline
There is the "-R, --repackage" option to makepkg, if I understood you right this does what you want to do (repackage without rebuilding)
$ makepkg -R just now It remove pkg dir and generate empty package with metadata only
.:HalanoTheSmartMoth:.
Offline
Holys
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Removing existing $pkgdir/ directory...
==> Entering fakeroot environment...
==> Tidying install...
==> Removing existing $pkgdir/ directory...
how to prevent that ?
.:HalanoTheSmartMoth:.
Offline
I don't think you can. What you're doing is well outside the scope of a PKGBUILD, and of a packaging system in general.
See https://xyproblem.info/ . What you're wanting to do here makes little sense.
Last edited by Scimmia (2024-12-11 18:46:31)
Offline
I don't think you can. What you're doing is well outside the scope of a PKGBUILD, and of a packaging system in general.
See https://xyproblem.info/ . What you're wanting to do here makes little sense.
No
You wrong, wdym scope of a PKGBUILD
wdym packaging system in general
I can simply through them rootly but that make pacman conflicting if the package got new version
makepkg is half coocked couldn't provide the simplest method I wanted.
.:HalanoTheSmartMoth:.
Offline
Why can't you put the "DESTDIR=../pkg make install" in the package() function? Why do you need to do it manually?
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.
Offline
Why can't you put the "DESTDIR=../pkg make install" in the package() function? Why do you need to do it manually?
I just used this method, it works thanks very much.
Last edited by Halano (2024-12-12 16:49:37)
.:HalanoTheSmartMoth:.
Offline
Please be more specific, we can't help you if you don't give us the information we request.
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.
Offline
Please be more specific, we can't help you if you don't give us the information we request.
my question explain itself and you just give me the needed answer
Why can't you put the "DESTDIR=../pkg make install" in the package() function
I've added make install into package function and makepkg bundle it right.
.:HalanoTheSmartMoth:.
Offline
Fwwi, https://www.deepl.com/ speaks arabic and english - it might help with future threads.
Offline
No, your question does not explain itself. You're trying to do a lot of things outside of the PKGBUILD that you should not be doing, and we were asking why. Now it appears you were doing them because you don't know what a PKGBUILD does. Look at some example PKGBUILDs.
Last edited by Scimmia (2024-12-12 18:32:28)
Offline
You're trying to do a lot of things outside of the PKGBUILD that you should not be doing
I don't cares I just put the build commands inside package() function and it works.
Fwwi, https://www.deepl.com/ speaks arabic and english - it might help with future threads.
I don't cares people just understood it
sorry I'm not native english speaker, but thanks for the link I might use it.
.:HalanoTheSmartMoth:.
Offline
I don't cares people just understood it
Nobody understood anything about the nonsense in your OP - WorMzy just went straight to the https://en.wikipedia.org/wiki/XY_problem and his comment is unrelated to your question and translates to "Do you actually understand how makepkg works?" to which the answer is "no" because you failed to read or comprehend the basic documentation.
You don't have to be sorry for not being a native english speaker - most people on the board probably aren't - but this works much better if you can express yourself and comprehend what is said on the board and the wiki - deepl.com can help with that a lot.
Offline