Verified Commit 248e7a52 authored by A. Wilcox's avatar A. Wilcox 🦊
Browse files

user/[Perl pods]: Modernise / fix syntax / deps

parent d6cd38dc
......@@ -13,7 +13,7 @@ arch="noarch"
license="Artistic-1.0-Perl OR GPL-2.0-only"
depends="perl-email-address-xs perl-email-messageid perl-email-mime-contenttype
perl-email-mime-encodings perl-email-simple perl-mime-types
perl-module-runtime"
perl-module-runtime perl"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
......
......@@ -11,7 +11,7 @@ pkgdesc="Reply to email from Perl"
url="https://metacpan.org/release/Email-Reply"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-2.0-only"
depends="perl-email-abstract perl-email-address perl-email-mime"
depends="perl perl-email-abstract perl-email-address perl-email-mime"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
......
......@@ -11,7 +11,7 @@ pkgdesc="Simple parsing of RFC 2822 email messages and headers for Perl"
url="https://metacpan.org/release/Email-Simple"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-2.0-only"
depends="perl-email-date-format"
depends="perl perl-email-date-format"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
......
......@@ -13,7 +13,6 @@ arch="noarch"
license="Artistic-1.0-Perl AND GPL-2.0"
depends="perl"
makedepends="perl-dev"
install=""
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
......
......@@ -11,7 +11,7 @@ pkgdesc="Base directory specification support for Perl"
url="https://metacpan.org/release/File-BaseDir"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-2.0-only"
depends="perl-ipc-system-simple xdg-user-dirs"
depends="perl perl-ipc-system-simple xdg-user-dirs"
checkdepends="perl-file-which"
makedepends="perl-dev perl-module-build"
subpackages="$pkgname-doc"
......
......@@ -11,7 +11,7 @@ pkgdesc="Handle .desktop files from Perl"
url="https://metacpan.org/release/File-DesktopEntry"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-2.0-only"
depends="perl-file-basedir perl-uri-escape"
depends="perl perl-file-basedir perl-uri-escape"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
......
......@@ -11,7 +11,7 @@ pkgdesc="Determine file types from Perl"
url="https://metacpan.org/release/File-MimeInfo"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-2.0-only"
depends="perl-file-basedir perl-file-desktopentry perl-path-tiny
depends="perl perl-file-basedir perl-file-desktopentry perl-path-tiny
shared-mime-info"
makedepends="perl-dev"
subpackages="$pkgname-doc"
......
......@@ -11,7 +11,8 @@ pkgdesc="Locate files shared by Perl modules"
url="https://metacpan.org/release/File-ShareDir"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-2.0-only"
depends="perl-class-inspector perl-file-sharedir-install perl-list-moreutils perl-params-util"
depends="perl perl-class-inspector perl-file-sharedir-install
perl-list-moreutils perl-params-util"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
......
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Valery Kartel <valery.kartel@gmail.com>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-gd
......@@ -12,7 +11,7 @@ pkgdesc="Perl module for GD graphics library"
url="https://metacpan.org/release/GD"
arch="all"
license="GPL-2.0-only OR Artistic-1.0-Perl"
depends=""
depends="perl"
makedepends="perl-dev perl-extutils-pkgconfig freetype-dev libgd-dev libjpeg-turbo-dev
libpng-dev libwebp-dev zlib-dev"
subpackages="$pkgname-doc"
......
......@@ -11,7 +11,7 @@ pkgdesc="Produce charts from Perl using GD"
url="https://metacpan.org/release/GDGraph"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-2.0-only"
depends="perl-gd perl-gdtextutil"
depends="perl perl-gd perl-gdtextutil"
checkdepends="perl-capture-tiny perl-test-exception"
makedepends="perl-dev"
subpackages="$pkgname-doc"
......
......@@ -11,7 +11,7 @@ pkgdesc="Text utilities for use with GD's Perl interface"
url="https://metacpan.org/release/GDTextUtil"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-2.0-only"
depends="perl-gd"
depends="perl perl-gd"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
......
......@@ -12,7 +12,7 @@ url="https://metacpan.org/release/Hash-MultiValue"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-2.0-only"
depends="perl"
makedepends=""
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
......
......@@ -11,7 +11,7 @@ pkgdesc="HTML formatters for Perl"
url="https://metacpan.org/release/HTML-Formatter"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-2.0-only"
depends="perl-file-slurper perl-font-afm perl-html-tree"
depends="perl perl-file-slurper perl-font-afm perl-html-tree"
checkdepends="perl-test-warnings"
makedepends="perl-dev"
subpackages="$pkgname-doc"
......@@ -19,18 +19,15 @@ source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver
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
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
......
......@@ -11,7 +11,7 @@ pkgdesc="Perl-based HTML-to-text converter with links as footnotes"
url="https://metacpan.org/release/HTML-FormatText-WithLinks"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-2.0-only"
depends="perl-html-formatter perl-html-tree perl-uri"
depends="perl perl-html-formatter perl-html-tree perl-uri"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
......
......@@ -12,7 +12,7 @@ url="https://metacpan.org/release/HTML-Scrubber"
arch="noarch"
options="!check" # insane amount of test pods that no other module uses
license="Artistic-1.0-Perl OR GPL-2.0-only"
depends="perl-html-parser"
depends="perl perl-html-parser"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
......
......@@ -11,7 +11,7 @@ pkgdesc="DOM tree structure parser for Perl"
url="https://metacpan.org/release/HTML-Tree"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-2.0-only"
depends="perl-html-parser"
depends="perl perl-html-parser"
checkdepends="perl-test-fatal"
makedepends="perl-dev perl-module-build"
subpackages="$pkgname-doc"
......
......@@ -11,7 +11,7 @@ pkgdesc="PSGI compliant HTTP entity parser for Perl"
url="https://metacpan.org/release/HTTP-Entity-Parser"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-2.0-only"
depends="perl-hash-multivalue perl-http-multipartparser perl-json-maybexs
depends="perl perl-hash-multivalue perl-http-multipartparser perl-json-maybexs
perl-stream-buffered perl-www-form-urlencoded"
checkdepends="perl-http-message"
makedepends="perl-dev perl-module-build-tiny"
......
......@@ -11,7 +11,7 @@ pkgdesc="Fast HTTP header parsing for Perl"
url="https://metacpan.org/release/HTTP-Headers-Fast"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-2.0-only"
depends="perl-http-date"
depends="perl perl-http-date"
checkdepends="perl-test-requires perl-uri"
makedepends="perl-dev perl-module-build-tiny"
subpackages="$pkgname-doc"
......
......@@ -12,7 +12,7 @@ url="https://metacpan.org/pod/Importer"
arch="noarch"
license="Artistic-1.0-Perl"
depends="perl"
makedepends=""
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
......
......@@ -11,7 +11,7 @@ pkgdesc="Low-level allocate a pseudo-tty"
url="https://metacpan.org/pod/IO::Tty"
arch="all"
license="Artistic-1.0-Perl"
depends=""
depends="perl"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment