APP=dia VERSION=0.97.3 BUILD=1sml HOMEPAGE="https://wiki.gnome.org/Apps/Dia" DOWNLOAD="https://download.gnome.org/sources/dia/0.97/dia-0.97.3.tar.xz" DESC="Diagram creation app written in GTK2" REQUIRES="gtk2" build() { mkandenterbuilddir rm -rf $APP-$VERSION tar xf $SRCDIR/$APP-$VERSION.tar.?z** cd $APP-$VERSION fixbuilddirpermissions patch -p1 < $SRCDIR/CVE-2019-19451.patch patch -p1 < $SRCDIR/dia-unregister-import.patch patch -p1 < $SRCDIR/isinf.patch ./configure \ --prefix="" \ --with-cairo \ --disable-gnome \ --with-hardbooks=no \ --disable-nls make || true make install DESTDIR=$PKG || true cp COPYING $PKGDOCS mkfinalpkg } SHA512SUMS=" 3f798a1ad88cc73be0f3da1981d8766c9d03e2765904c7b883a06d88beca952b7a3b87e8d4a26556d07c8a4afc89c8c4dd8e8fe96ebc2787fe97203ec6cb389b dia-0.97.3.tar.lz c78b78bd4ce7bfab9babfc887fb98571849246d1ca78e6c69a4413c7881d30358e1287bd9b0d9ba50cbcc540cf5f0e28333b31f467dbe5579ad5c97148b3b512 CVE-2019-19451.patch 24267507ff08ac589ec1015e55637586a9fd97802893a77849d1e7bce67135fbd3d55611e2c80be1d5f87b92406c95cd5fe484175037297ebe1dbc8eb509a7d4 dia-unregister-import.patch cfa8fd8fecc7f0e3da185b512c169b156363a73c151547725f964e1cf7b1a305e44c493d0490c680c5f25859acee74fe4ef942ae9ee634b370bd9b9952186c5a isinf.patch "