# Automatically generated by apkbuild-cpan, template 1 # Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=perl-sql-translator _pkgreal=SQL-Translator pkgver=1.63 pkgrel=1 pkgdesc="SQL DDL transformations and more" url="https://metacpan.org/release/SQL-Translator/" arch="noarch" license="GPL-1.0-or-later OR Artistic-1.0-Perl" depends=" perl perl-try-tiny perl-parse-recdescent perl-package-variant perl-carp-clan perl-sub-quote perl-dbi perl-file-sharedir perl-moo perl-list-moreutils perl-yaml " makedepends=" perl-xml-writer perl-test-exception perl-test-differences perl-json perl-module-install perl-file-sharedir-install " checkdepends=" perl-gd perl-spreadsheet-parseexcel perl-test-postgresql perl-html-parser perl-template-toolkit perl-graph perl-xml-libxml perl-cgi perl-dbd-sqlite perl-dbd-pg " subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/V/VE/VEESH//$_pkgreal-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" prepare() { default_prepare export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor } build() { export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') make } check() { make test } package() { make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums=" e1809cbe110238f8fd1f2e35a1107d833b9c94754c331fccae60c89eb3ce38448b18f03b2497f13ffb7a9bcd1419c63a728e24654b92b04dd2d23b5a82a6a66e SQL-Translator-1.63.tar.gz "