diff options
author | Mika Havela <mika.havela@gmail.com> | 2010-11-26 11:56:29 +0100 |
---|---|---|
committer | Mika Havela <mika.havela@gmail.com> | 2010-11-26 11:56:29 +0100 |
commit | 52bf565d32447f5bbfe6bb7138e4f11fcd83ba66 (patch) | |
tree | f98b892303ee6299eda8af0c53d15aefe6dbbfc3 /main/perl-date-manip | |
parent | 24869fdaadb5aaefbf4f9e79e3ae05c9b89bab73 (diff) | |
download | aports-52bf565d32447f5bbfe6bb7138e4f11fcd83ba66.tar.bz2 aports-52bf565d32447f5bbfe6bb7138e4f11fcd83ba66.tar.xz |
testing/perl-date-manip: Moved to main
Used together with swatch. Confirmed that it works.
Diffstat (limited to 'main/perl-date-manip')
-rw-r--r-- | main/perl-date-manip/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/main/perl-date-manip/APKBUILD b/main/perl-date-manip/APKBUILD new file mode 100644 index 0000000000..34a15d9f1e --- /dev/null +++ b/main/perl-date-manip/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Mika Havela <mika.havela@gmail.com> +# Maintainer: Mika Havela <mika.havela@gmail.com> +pkgname=perl-date-manip +_realname=Date-Manip +pkgver=6.11 +pkgrel=0 +pkgdesc="Perl - Date manipulation routines" +url="http://search.cpan.org/~sbeck/$_realname-$pkgver/" +license="Artistic GPL" +depends="perl perl-test-pod perl-test-inter perl-yaml-syck perl-test-pod-coverage" +makedepends="perl-dev" +#subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/S/SB/SBECK/$_realname-$pkgver.tar.gz" + +_builddir="$srcdir/$_realname-$pkgver" + +prepare() { + cd "$_builddir" +} + +build() { + cd "$_builddir" + perl Build.PL || return 1 + ./Build test || return 1 +} + +package() { + cd "$_builddir" + ./Build destdir="$pkgdir" install + # creates file collision among perl modules + find "$pkgdir" -name perllocal.pod -delete +} + +md5sums="7880db506f14080635972eb5607fa79d Date-Manip-6.11.tar.gz" |