blob: c215806fc8121fdade40953180f5e297ad5d3a47 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# 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"
|