diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2013-05-22 21:01:15 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2013-05-22 21:01:15 +0000 |
commit | 3ad652e58fce516cbd6c7d61aa075f41b991c5e7 (patch) | |
tree | aa0b79f4c7506f6e3b4928d368a47f0304c58c90 | |
parent | 20fa230896c64e02e5d49a09b1f264c4f08e8164 (diff) | |
download | aports-3ad652e58fce516cbd6c7d61aa075f41b991c5e7.tar.bz2 aports-3ad652e58fce516cbd6c7d61aa075f41b991c5e7.tar.xz |
testing/perl-lingua-en-numbers-ordinate: new aport
-rw-r--r-- | testing/perl-lingua-en-numbers-ordinate/APKBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/testing/perl-lingua-en-numbers-ordinate/APKBUILD b/testing/perl-lingua-en-numbers-ordinate/APKBUILD new file mode 100644 index 000000000..b2fc6f0b9 --- /dev/null +++ b/testing/perl-lingua-en-numbers-ordinate/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: +pkgname=perl-lingua-en-numbers-ordinate +pkgver=1.02 +pkgrel=0 +pkgdesc="Go from cardinal (53) to ordinal (53rd)" +url="http://search.cpan.org/dist/Lingua-EN-Numbers-Ordinate" +arch="all" +license="GPL" +depends="" +depends_dev="perl-dev" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-doc" +source="http://www.cpan.org/authors/id/S/SB/SBURKE/Lingua-EN-Numbers-Ordinate-$pkgver.tar.gz" + +_builddir="$srcdir"/Lingua-EN-Numbers-Ordinate-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +md5sums="e92078fafd9108a137972c4e9bae9e99 Lingua-EN-Numbers-Ordinate-1.02.tar.gz" +sha256sums="350a6de884a6295974f2919c5af76d4103368e855ac8fe739460f4d55aee7719 Lingua-EN-Numbers-Ordinate-1.02.tar.gz" +sha512sums="8c17341de354484a49204335f680da0eac6992f152978277ee204f42e8a97cf12e30d908b1797d86a09fc95dc3f0a821014f9ee976380807bdea6cf94f88c296 Lingua-EN-Numbers-Ordinate-1.02.tar.gz" |