blob: 47901b7b38989b3d4cd8cace0bfcd673e341dfc1 (
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
41
42
43
44
|
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=perl-dbix-datasource
_pkgreal=DBIx-DataSource
pkgver=0.02
pkgrel=1
pkgdesc="Database-independant create and drop functions"
url="http://search.cpan.org/dist/DBIx-DataSource/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends="perl-dbi"
cpanmakedepends=""
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/I/IV/IVAN/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
default_prepare
cd "$builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
cd "$builddir"
make
}
check() {
cd "$builddir"
make test
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="03a177d749d92852fc106085202ac80bcf53744012961fe789e29793eb500cae3705787e720ba8f06eca6c84b2f3388c7f24a2aa5420962ac61d5be8a7edbbcc DBIx-DataSource-0.02.tar.gz"
|