Quilt

From Gcom-Wiki
Jump to: navigation, search

Usage with PKGBUILD

Insert the prepare snippet into PKGBUILD

prepare() {
 pushd "${srcdir}/${_pkgname}"
     ln -sf ../../patches
     quilt pop -af || true
     quilt push -a || true
 popd
}

and create a patches dir beside the PKGBUILD. Put patches into the file patches/series.