Date: Sunday, March 14, 2021 @ 21:00:44 Author: bgyorgy Revision: 891312
upgpkg: perl-goocanvas2 0.06-3: Rebuild for GooCanvas 3 Modified: perl-goocanvas2/trunk/PKGBUILD ----------+ PKGBUILD | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2021-03-14 21:00:43 UTC (rev 891311) +++ PKGBUILD 2021-03-14 21:00:44 UTC (rev 891312) @@ -3,7 +3,7 @@ pkgname=perl-goocanvas2 _perl_module=GooCanvas2 pkgver=0.06 -pkgrel=2 +pkgrel=3 pkgdesc="Perl bindings for GooCanvas2 widget using Glib::Object::Introspection" arch=('any') url="https://metacpan.org/release/${_perl_module}" @@ -15,6 +15,11 @@ sha256sums=('e24c87873e19063dd4d5e2c709caacf8c0ae8881044395bb865dc2b4fdd63b50') options=('!emptydirs') +prepare() { + cd "${_perl_module}-${pkgver}" + sed -i "s/version => '2.0'/version => '3.0'/" lib/GooCanvas2.pm +} + build() { cd "${_perl_module}-${pkgver}" unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT