ava1ar / customizepkg

A tool for Arch Linux package manager pacman to modify PKGBUILD automatically
GNU General Public License v3.0
49 stars 14 forks source link

patching PKGBUILD is broken #23

Open bartoszek opened 8 years ago

bartoszek commented 8 years ago

Before patching a PKGBUILD the patch file was added to PKGBUILD as one of sources which breaks the build script. PKGBUILD : gpx-git PKGBUILD.patch : http://pastebin.com/PPiY9kXC /etc/customizepkg.d/gpx-git : patch#pkgbuild#PKGBUILD.patch customizepkg output : http://pastebin.com/HG68dSS5

As a solution i can think off putting the _modifyfile before adding new files from ${CFGDIR}/${package} folder and marking PKGBUILD.patch in _modifyfile to be ignore in patch including function