#!/bin/sh
VERSION=0.4.46
tar --files-from=file.list -xJvf ../gegl-$VERSION.tar.xz
mv gegl-$VERSION gegl-$VERSION-orig
cp -rf ./gegl-$VERSION-new ./gegl-$VERSION
diff --unified -Nr gegl-$VERSION-orig gegl-$VERSION > gegl-$VERSION-runtime-dot.patch
mv gegl-$VERSION-runtime-dot.patch ../patches
rm -rf ./gegl-$VERSION
rm -rf ./gegl-$VERSION-orig