app=gtk-sharp version=2.99.3 build=1sml homepage="https://www.mono-project.com/docs/gui/gtksharp/" download="https://download.gnome.org/sources/gtk-sharp/2.99/gtk-sharp-$version.tar.xz" desc="C# bindings for GTK3" requires="gtk3 mono" build() { mkandenterbuilddir rm -rf $app-$version tar xf $srcdir/$app-$version.tar.?z* cd $app-$version fixbuilddirpermissions applypatch $srcdir/fix-build.patch sed -i 's@gmcs@mcs@g' configure{,.ac} sed -e '/MONO_PROFILE_ENTER_LEAVE/d' -i gtk/gui-thread-check/profiler/gui-thread-check.c ./configure \ --prefix="/" \ --disable-static make make install DESTDIR=$pkg mkfinalpkg } sha512sums=" 91e3abd1550cf18ff56cdcdf4e44fd2d03e50243c0f5479410708004702b4bb2c23f097e363b29e68a1327b7e86470b1543fe5db812367276d32de808c110c4c gtk-sharp-2.99.3.tar.lz 7adf3566a9112040efa8628b8ee887e01dc05cf0b9a8470209b5cde72c6000c357310b7b005a0d3ccf6faa38ae46da34788eac71546c91c224dbec109cb99084 fix-build.patch "