1
0
Files
patches/README.md
2021-01-04 23:01:09 +01:00

11 lines
350 B
Markdown

# Create patch
* `diff -ruN path/to/original.file patch/to/changed.file` > patch.patch
* Open resulting patch and change header
** `--- a/path/file.extension`
** `+++ b/path/file.extension`
# PKGBUILD changes
* Add to `source` array
* Add to checksum array (`'SKIP'`)
* Add applying of patch to `build()`/`prepare()`
** `patch -p1 -i ../patch.patch`