summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/opkbuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/opkbuild b/src/opkbuild
index 06c5a8c..03389f8 100644
--- a/src/opkbuild
+++ b/src/opkbuild
@@ -124,6 +124,8 @@ for binpkgdir in ../*.pkg/; do
tar -xzf ../${pkgname}_${pkgver}.tar.gz || error "${binpkg}"
fi
# TODO: Other compression formats, putting things in src/, ...
+ # Apply patches.
+ oh-applypatches
# Build the package.
${uid0_cmd} ../build ${binpkg} || error "${binpkg}"
printf 'opkbuild: Package "%s" complete!\n\n' "${binpkg}"