1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-16 04:35:13 +03:00
aports/community/perl-sql-abstract/APKBUILD
Celeste 40ea6c48d7 */*: add maintainer variable for aports i maintain
leaving the Maintainer comment there for better visual cues, syntax highlighting, and easy conversion to a Contributor comment

since Contributor comments are not being removed, just treat my Maintainer comments like Contributor ones, as a normal comment
2024-10-16 16:20:45 +00:00

51 lines
1.3 KiB
Text

# Automatically generated by apkbuild-cpan, template 4
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Celeste <cielesti@protonmail.com>
maintainer="Celeste <cielesti@protonmail.com>"
pkgname=perl-sql-abstract
pkgver=2.000001
pkgrel=2
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=SQL-Abstract
pkgdesc="Generate SQL from Perl data structures"
url="https://metacpan.org/release/SQL-Abstract/"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="
perl
perl-hash-merge
perl-moo
perl-mro-compat
perl-sub-quote
perl-test-deep
"
checkdepends="
perl-data-dumper-concise
perl-test-exception
perl-test-warn
"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/M/MS/MSTROUT/SQL-Abstract-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL \
INSTALLDIRS=vendor \
NO_PACKLIST=1 \
NO_PERLLOCAL=1
make
}
check() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make test
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="
a4cae42a261b64ba7c44bf6cc196f135ab32e847352572aafccee04dfdd5fe83d8b7654702acd90908cd0e90f6730cfc4fcfa8ffa81d52de7a18e38a2d6ea5d8 SQL-Abstract-2.000001.tar.gz
"