11 lines
350 B
Markdown
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` |