mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-31 19:31:10 +02:00
41 lines
1.4 KiB
Plaintext
41 lines
1.4 KiB
Plaintext
# Automatically generated by apkbuild-cpan, template 1
|
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=perl-sql-abstract
|
|
_pkgreal=SQL-Abstract
|
|
pkgver=1.81
|
|
pkgrel=0
|
|
pkgdesc="Generate SQL from Perl data structures"
|
|
url="http://search.cpan.org/dist/SQL-Abstract/"
|
|
arch="noarch"
|
|
license="GPL PerlArtistic"
|
|
cpandepends="perl-class-accessor-grouped perl-hash-merge perl-getopt-long-descriptive"
|
|
cpanmakedepends="perl-test-exception perl-test-warn perl-test-deep perl-mro-compat
|
|
perl-module-install perl-moo"
|
|
depends="$cpandepends"
|
|
makedepends="perl-dev $cpanmakedepends"
|
|
subpackages="$pkgname-doc"
|
|
source="http://search.cpan.org/CPAN/authors/id/R/RI/RIBASUSHI/$_pkgreal-$pkgver.tar.gz"
|
|
|
|
_builddir="$srcdir/$_pkgreal-$pkgver"
|
|
|
|
prepare() {
|
|
cd "$_builddir"
|
|
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
|
}
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
make && make test
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
make DESTDIR="$pkgdir" install || return 1
|
|
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
|
}
|
|
|
|
md5sums="fbcd82c4e4bc5694082cefb4e34cb572 SQL-Abstract-1.81.tar.gz"
|
|
sha256sums="5f4d5618ce2424d62bbfdb5228b382e8be0e0ccedbb273d6d850e25d07e64f9f SQL-Abstract-1.81.tar.gz"
|
|
sha512sums="1ca38403707117c6a7927e1d89e70d22bf75429137409aa9dee48bb75dd17ca941dd0012c5d388e8e39ea75ae800a1d62b04c0b12b700f2e3137e40f651f961c SQL-Abstract-1.81.tar.gz"
|