blob: e066ad8cc7f2ea7283b07c104d7e080d57993885 (
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
|
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=perl-class-accessor-lite
_pkgreal=Class-Accessor-Lite
pkgver=0.06
pkgrel=0
pkgdesc="a minimalistic variant of Class::Accessor"
url="http://search.cpan.org/dist/Class-Accessor-Lite/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends=""
cpanmakedepends=""
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/K/KA/KAZUHO/$_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="71a4b22f8a7f4fcad6ec184d5b57802a Class-Accessor-Lite-0.06.tar.gz"
sha256sums="f258660f01b928d4e7644d72ae4b890aae6b42afb62174168d7005ad56acb9ed Class-Accessor-Lite-0.06.tar.gz"
sha512sums="0836f98148e51224ca9674b79989e34419166fd2bfc0dac03797db0d3e8fca8a462c484d1e6f416cb5d27bfa8ece0877a3590e33b78fa40aa365bee5631b621d Class-Accessor-Lite-0.06.tar.gz"
|