diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-25 07:05:26 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-25 07:05:26 +0000 |
commit | fe2b511062ead140b197af07e5a8f7e0ace3dfd8 (patch) | |
tree | 058d0711d2b9bff1df8fc4a0edee69747044f166 /community/perl-lingua-preferred | |
parent | c472724bb62af3fc56e4e06f199f54e3d8d46912 (diff) | |
download | aports-fe2b511062ead140b197af07e5a8f7e0ace3dfd8.tar.bz2 aports-fe2b511062ead140b197af07e5a8f7e0ace3dfd8.tar.xz |
community/perl-lingua-preferred: renamed to perl-lingua-preferred
Diffstat (limited to 'community/perl-lingua-preferred')
-rw-r--r-- | community/perl-lingua-preferred/APKBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/community/perl-lingua-preferred/APKBUILD b/community/perl-lingua-preferred/APKBUILD new file mode 100644 index 0000000000..c3c40f962e --- /dev/null +++ b/community/perl-lingua-preferred/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=perl-lingua-preferred +pkgver=0.2.4 +pkgrel=0 +pkgdesc="Pick a language based on user's preferences" +url="http://search.cpan.org/dist/Lingua-Preferred" +arch="noarch" +license="GPL" +depends="" +depends_dev="perl-dev" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-doc" +source="http://www.cpan.org/authors/id/E/ED/EDAVIS/Lingua-Preferred-$pkgver.tar.gz" + +_builddir="$srcdir"/Lingua-Preferred-$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="37e883fafb05b1439de1121f41e8ad75 Lingua-Preferred-0.2.4.tar.gz" +sha256sums="fa58c4fac6b676f78caad6b472a785dd0c8fa67004a62294fbcfa3a3eb243c83 Lingua-Preferred-0.2.4.tar.gz" +sha512sums="6946b2b8d5978c516688a63bd2126700f8ab0137d51959f0b8c2565c08f25d20dc3fe5f81c6473c3ef5d1faf94a6bd4510959f730cc104b61671bd9436de6353 Lingua-Preferred-0.2.4.tar.gz" |