diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-06-02 15:41:20 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-06-02 15:41:41 +0000 |
commit | 3748525eb7aaf7e88fef62f7252711c4c5f6cf21 (patch) | |
tree | 61a50aec7453ea6a72e4a543d4ae2b33b36e5b77 /main | |
parent | a204a8d26df7c3d48db5324b26d538b2d43e3bf4 (diff) | |
download | aports-3748525eb7aaf7e88fef62f7252711c4c5f6cf21.tar.bz2 aports-3748525eb7aaf7e88fef62f7252711c4c5f6cf21.tar.xz |
main/perl-tree-simple: fix depends
Diffstat (limited to 'main')
-rw-r--r-- | main/perl-tree-simple/APKBUILD | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/main/perl-tree-simple/APKBUILD b/main/perl-tree-simple/APKBUILD index 99d2439ba..7b75973ab 100644 --- a/main/perl-tree-simple/APKBUILD +++ b/main/perl-tree-simple/APKBUILD @@ -1,19 +1,22 @@ # Contributor: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=perl-tree-simple +_pkgreal=Tree-Simple pkgver=1.18 -pkgrel=0 +pkgrel=1 pkgdesc="Tree::Simple Perl module" url="http://search.cpan.org/dist/Tree-Simple/" arch="noarch" license="GPL+ or Artistic" -depends="perl" -makedepends="perl-dev" +cpandepends="perl-test-exception" +cpanmakedepends="" +depends="perl $cpandepends" +makedepends="perl-dev $cpanmakedepends" install="" subpackages="$pkgname-doc" source="http://www.cpan.org/modules/by-module/Tree/Tree-Simple-$pkgver.tar.gz" -_builddir="$srcdir"/Tree-Simple-$pkgver +_builddir="$srcdir"/$_pkgreal-$pkgver prepare() { local i cd "$_builddir" @@ -22,11 +25,11 @@ prepare() { *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 } build() { cd "$_builddir" - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 make && make test || return 1 } |