Skip to content
Snippets Groups Projects
Commit cc2a2dbf authored by Timothy Legge's avatar Timothy Legge
Browse files

main/perl-encode-locale: remove unnecessary perl-dev from makedepends

parent ed27fcf1
No related merge requests found
......@@ -7,9 +7,8 @@ pkgrel=3
pkgdesc="Perl module - Determine the locale encoding"
url="http://search.cpan.org/~gaas"
arch="noarch"
license="GPL PerlArtistic"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl"
makedepends="perl-dev"
install=
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/G/GA/GAAS/$_realname-$pkgver.tar.gz"
......@@ -17,18 +16,15 @@ source="https://cpan.metacpan.org/authors/id/G/GA/GAAS/$_realname-$pkgver.tar.gz
builddir="$srcdir/$_realname-$pkgver"
build() {
cd "$builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd "$builddir"
make test
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
# creates file collision among perl modules
find "$pkgdir" -name perllocal.pod -delete
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment