diff options
author | Kiyoshi Aman <aphrael@alpinelinux.org> | 2011-12-01 08:38:22 -0500 |
---|---|---|
committer | Kiyoshi Aman <aphrael@alpinelinux.org> | 2011-12-04 22:09:38 -0500 |
commit | 84d5e8942816778dc609d92eb6e6377cf9b33faa (patch) | |
tree | 9eb00185166655a6a23293fd78c8089615239ddf /testing | |
parent | 54d1606e0023192b0f09d5265d5cb948e2d18b27 (diff) | |
download | aports-84d5e8942816778dc609d92eb6e6377cf9b33faa.tar.bz2 aports-84d5e8942816778dc609d92eb6e6377cf9b33faa.tar.xz |
testing/perl-uri-find-simple: new APKBUILD
Diffstat (limited to 'testing')
-rw-r--r-- | testing/perl-uri-find-simple/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/perl-uri-find-simple/APKBUILD b/testing/perl-uri-find-simple/APKBUILD new file mode 100644 index 0000000000..c34a901608 --- /dev/null +++ b/testing/perl-uri-find-simple/APKBUILD @@ -0,0 +1,37 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com> +# Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com> +pkgname=perl-uri-find-simple +_pkgreal=URI-Find-Simple +pkgver=1.03 +pkgrel=0 +pkgdesc="unknown" +url="http://search.cpan.org/dist/URI-Find-Simple/" +arch="noarch" +license="GPL PerlArtistic" +cpandepends="perl-uri-find" +cpanmakedepends="" +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/T/TO/TOMI/$_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="a3d62887ea6b6a17559364e8a31fcd8f URI-Find-Simple-1.03.tar.gz" |