#!/bin/sh
VERSION=0.61.0
tar --files-from=file.list -xJvf ../meson-$VERSION.tar.xz
mv meson-$VERSION meson-$VERSION-orig
cp -rf ./meson-$VERSION-new ./meson-$VERSION
diff --unified -Nr meson-$VERSION-orig meson-$VERSION > meson-$VERSION-gnome-module.patch
mv meson-$VERSION-gnome-module.patch ../patches
rm -rf ./meson-$VERSION
rm -rf ./meson-$VERSION-orig