blob: d9dd61fa3d93b291f6ec4be450679d832e12391f (
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:
# Maintainer:
pkgname=perl-alien-base
_pkgreal=Alien-Base
pkgver=0.023
pkgrel=1
pkgdesc="A base class for Alien:: modules"
url="http://search.cpan.org/dist/Alien-Base/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends="perl-file-chdir perl-sort-versions perl-file-sharedir
perl-ffi-checklib perl-capture-tiny perl-shell-config-generate
perl-shell-guess perl-uri perl-list-moreutils
"
cpanmakedepends="perl-archive-extract perl-module-build"
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/P/PL/PLICEASE/$_pkgreal-$pkgver.tar.gz"
_builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
cd "$_builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
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="d91d30f88e292170adb02f8f327340d5 Alien-Base-0.023.tar.gz"
sha256sums="dbe91f7d681c2b05046b31743711d0fd8b97d79ad26aa1ff069d7760fa9d9f56 Alien-Base-0.023.tar.gz"
sha512sums="39751304d2ba45decb34ec4f813c157e36a6b1acc367ecb791a636864b4fdd18055d1a09b0adb85978c16bc6f8b39fc767b30528adcf887474f6caafb60e36b5 Alien-Base-0.023.tar.gz"
|