1 # Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
2 # Contributor: Thomas Dziedzic < gostrc at gmail >
3 # Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
4 # Contributor: Laurent Meunier <laurent@deltalima.net>
9 pkgdesc='C++ wrappers for goocanvas'
11 url='https://download.gnome.org/sources/goocanvasmm/'
13 depends=('goocanvas' 'gtkmm3')
14 makedepends=('mm-common')
15 source=(https://download.gnome.org/sources/goocanvasmm/1.90/goocanvasmm-${pkgver}.tar.xz)
16 sha512sums=('f4decc16fc927dd044714558d1edd5a1dc53bc084b1ad361f791bb3f21bedd298a14aa603e3087df7c61d6d873c86a5b00e1ff82cffa5cafa7f06e86b59a7241')
19 cd ${pkgname}-${pkgver}
20 sed -i 's/goocanvas-2.0/goocanvas-3.0/' configure.ac
25 cd ${pkgname}-${pkgver}
30 --disable-documentation
32 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
38 cd ${pkgname}-${pkgver}
40 make DESTDIR="${pkgdir}" install