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

main/perl-mime-lite: remove unnecessary perl-dev from makedepends

parent 8a7fca30
No related branches found
No related tags found
No related merge requests found
......@@ -8,28 +8,22 @@ pkgdesc="low-calorie MIME generator"
url="https://metacpan.org/release/MIME-Lite"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
cpandepends="perl-mime-types perl-email-date-format
perl-mailtools perl-test-pod-coverage"
depends="perl $cpandepends"
makedepends="perl-dev"
depends="perl perl-mime-types perl-email-date-format perl-mailtools perl-test-pod-coverage"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/R/RJ/RJBS/MIME-Lite-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$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