blob: 169609613ab2b39661cc102c8105bf97baf14040 (
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 <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=perl-path-class
_pkgreal=Path-Class
pkgver=0.33
pkgrel=0
pkgdesc="Cross-platform path specification manipulation"
url="http://search.cpan.org/dist/Path-Class/"
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/KW/KWILLIAMS/$_pkgreal-$pkgver.tar.gz"
_builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
cd "$_builddir"
perl Build.PL installdirs=vendor || return 1
}
build() {
cd "$_builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
./Build && ./Build test
}
package() {
cd "$_builddir"
./Build install destdir="$pkgdir" || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
md5sums="bac152fffe772252bbcfc2f15dc3bb34 Path-Class-0.33.tar.gz"
sha256sums="cd8cc6a68e2099eeb6099df6af83b4585eb0ddf6c77490d6fa97eadb09d0c677 Path-Class-0.33.tar.gz"
sha512sums="963da388fcf1eab844fd4ad7b8b31efee6e0afa963fede61f17e3090ea6fe8356ce99fdcafdc38646ba32a04091e1a061655c6972eab45bf96bbabe4f1ffd6cb Path-Class-0.33.tar.gz"
|