Sample Header Ad - 728x90

Using PKGBUILD to build after hacking/changing sources?

0 votes
2 answers
1143 views
I'm trying to hack a MSYS package, so I found https://www.msys2.org/wiki/Creating-Packages/ - as an example:
git clone "https://github.com/msys2/MSYS2-packages "
cd MSYS2-packages/flex
makepkg -sCLf
So, if I run this, I get the sources built, and I get a package. Now, let's say, I change something in the source of the flex package, and I want to rebuild. I tried the makepkg -sCLf, but that command actually deletes the source directory - including my hacks - and so, that command in particular, cannot be used to build a package with hacks/changed source files. What command could I use instead, to build (hopefully only) the changed files in the source, and to build a package from that source?
Asked by sdbbs (578 rep)
Sep 23, 2021, 12:17 PM
Last activity: Jun 14, 2024, 01:03 PM