Skip to content

change the patch commnad to patch the source to descend in the package-version folder#35

Open
kidpixo wants to merge 3 commits intoava1ar:masterfrom
kidpixo:dev
Open

change the patch commnad to patch the source to descend in the package-version folder#35
kidpixo wants to merge 3 commits intoava1ar:masterfrom
kidpixo:dev

Conversation

@kidpixo
Copy link
Copy Markdown

@kidpixo kidpixo commented Jan 12, 2022

Patch the source

Patch files can be applied to the source code using the following syntax:

patch#1#file.patch

In the original repo this generate a line in PKGBUILD in prepare function:

patch -Np1 -i file.patch

this is modified to generate:

patch -Np1 --directory=$pkgname-$pkgver < file.patch

this way makepkg descends in the src/ directory and apply the patch file.patch in the $pkgname-$pkgver directory below.

I cannot get source code patch to work.
I modify patch case to act $pkgname-$pkgver in scr/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant