#!/bin/sh

echo "#include <glib.h>\ntypedef GSList TestSList;" > /tmp/test.h

/usr/bin/g-ir-scanner --namespace=Test --nsversion=0.0 --library=glib-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include /tmp/test.h --output /tmp/Test-0.0.gir

/usr/bin/g-ir-compiler /tmp/Test-0.0.gir -o /tmp/Test-0.0.typelib
