Unverified Commit 8afb6ffb authored by Síle Ekaterin Aman's avatar Síle Ekaterin Aman
Browse files

system/perl-*: modernise

parent e61f7998
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> # Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-authen-sasl pkgname=perl-authen-sasl
_realname=Authen-SASL _pkgreal=Authen-SASL
_author=GBARR
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=2.16 pkgver=2.16
pkgrel=2 pkgrel=2
pkgdesc="SASL authentication framework for Perl" pkgdesc="SASL authentication framework for Perl"
...@@ -8,28 +11,22 @@ url="https://metacpan.org/release/Authen-SASL" ...@@ -8,28 +11,22 @@ url="https://metacpan.org/release/Authen-SASL"
arch="noarch" arch="noarch"
license="GPL-2.0-only OR Artistic-1.0-Perl" license="GPL-2.0-only OR Artistic-1.0-Perl"
depends="perl perl-digest-hmac" depends="perl perl-digest-hmac"
makedepends="perl-dev perl-module-install" makedepends="perl-module-install"
install=
subpackages="$pkgname-doc" subpackages="$pkgname-doc"
source="https://search.cpan.org/CPAN/authors/id/G/GB/GBARR/Authen-SASL-$pkgver.tar.gz" source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/Authen-SASL-$pkgver.tar.gz"
builddir="$srcdir/$_realname-$pkgver" builddir="$srcdir/$_pkgreal-$pkgver"
build() { build() {
cd "$builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make make
} }
check() { check() {
cd "$builddir"
make test make test
} }
package() { package() {
cd "$builddir"
make DESTDIR="$pkgdir" install make DESTDIR="$pkgdir" install
# creates file collision among perl modules
find "$pkgdir" -name perllocal.pod -delete find "$pkgdir" -name perllocal.pod -delete
} }
......
...@@ -3,39 +3,32 @@ ...@@ -3,39 +3,32 @@
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> # Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-cpanel-json-xs pkgname=perl-cpanel-json-xs
_pkgreal=Cpanel-JSON-XS _pkgreal=Cpanel-JSON-XS
_author=RURBAN
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=4.12 pkgver=4.12
pkgrel=0 pkgrel=0
pkgdesc="cPanel's fork of JSON::XS, fast and correct serialising" pkgdesc="cPanel's fork of JSON::XS, fast and correct serialising"
url="https://metacpan.org/release/Cpanel-JSON-XS" url="https://metacpan.org/release/Cpanel-JSON-XS"
arch="all" arch="all"
license="GPL-2.0-only OR Artistic-1.0-Perl" license="GPL-2.0-only OR Artistic-1.0-Perl"
cpandepends="" depends="perl"
cpanmakedepends="perl-json perl-test-leaktrace" makedepends="perl-dev perl-json perl-test-leaktrace"
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc" subpackages="$pkgname-doc"
source="https://search.cpan.org/CPAN/authors/id/R/RU/RURBAN/$_pkgreal-$pkgver.tar.gz" source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver" builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
cd "$builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() { build() {
cd "$builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make make
} }
check() { check() {
cd "$builddir"
make test make test
} }
package() { package() {
cd "$builddir"
make DESTDIR="$pkgdir" install make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
} }
......
# Contributor: Jeff Bilyk <jbilyk at gmail> # Contributor: Jeff Bilyk <jbilyk at gmail>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> # Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-dbd-sqlite pkgname=perl-dbd-sqlite
_pkgname=DBD-SQLite _pkgreal=DBD-SQLite
_author=ISHIGAKI
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=1.64 pkgver=1.64
pkgrel=0 pkgrel=0
pkgdesc="Perl DBI SQLite module" pkgdesc="Perl DBI SQLite module"
...@@ -9,12 +12,12 @@ url="https://metacpan.org/release/DBD-SQLite" ...@@ -9,12 +12,12 @@ url="https://metacpan.org/release/DBD-SQLite"
arch="all" arch="all"
license="GPL-2.0-only OR Artistic-1.0-Perl" license="GPL-2.0-only OR Artistic-1.0-Perl"
depends="perl-dbi" depends="perl-dbi"
makedepends="perl perl-dev sqlite-dev" makedepends="perl-dev sqlite-dev"
source="https://search.cpan.org/CPAN/authors/id/I/IS/ISHIGAKI/${_pkgname}-$pkgver.tar.gz source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz
perl-DBD-SQLite-bz543982.patch perl-DBD-SQLite-bz543982.patch
" "
subpackages="$pkgname-dev $pkgname-doc" subpackages="$pkgname-dev $pkgname-doc"
builddir="$srcdir"/${_pkgname}-$pkgver builddir="$srcdir/$_pkgreal-$pkgver"
prepare() { prepare() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
......
# Contributor: Jeff Bilyk <jbilyk at gmail> # Contributor: Jeff Bilyk <jbilyk at gmail>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> # Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-dbi pkgname=perl-dbi
_realpkgname=DBI _pkgreal=DBI
_author=TIMB
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=1.642 pkgver=1.642
pkgrel=0 pkgrel=0
pkgdesc="Database independent interface for Perl" pkgdesc="Database independent interface for Perl"
url="https://metacpan.org/release/DBI" url="https://metacpan.org/release/DBI"
arch="all" arch="all"
license="GPL-2.0-only OR Artistic-1.0-Perl" license="GPL-2.0-only OR Artistic-1.0-Perl"
depends= depends="perl"
makedepends="perl perl-dev" makedepends="perl-dev"
subpackages="$pkgname-doc" subpackages="$pkgname-doc"
source="https://www.cpan.org/authors/id/T/TI/TIMB/${_realpkgname}-$pkgver.tar.gz" source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir"/${_realpkgname}-$pkgver builddir="$srcdir/$_pkgreal-$pkgver"
build() { build() {
cd "$builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make make
} }
check () { check () {
cd "$builddir"
make test make test
} }
package() { package() {
cd "$builddir"
make DESTDIR="$pkgdir" install make DESTDIR="$pkgdir" install
# creates file collision among perl modules # creates file collision among perl modules
find "$pkgdir" -name perllocal.pod -delete find "$pkgdir" -name perllocal.pod -delete
......
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> # Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-digest-hmac pkgname=perl-digest-hmac
_realname=Digest-HMAC _pkgreal=Digest-HMAC
_author=GAAS
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=1.03 pkgver=1.03
pkgrel=1 pkgrel=1
pkgdesc="Keyed-Hashing for Message Authentication Perl module" pkgdesc="Keyed-Hashing for Message Authentication Perl module"
url="https://metacpan.org/release/Digest-HMAC" url="https://metacpan.org/release/Digest-HMAC"
arch="noarch" arch="noarch"
license="GPL-2.0-only OR Artistic-1.0-Perl" license="GPL-2.0-only OR Artistic-1.0-Perl"
depends="perl perl-digest-sha1" depends="perl-digest-sha1"
makedepends="perl-dev" makedepends=""
install=
subpackages="$pkgname-doc" subpackages="$pkgname-doc"
source="https://search.cpan.org/CPAN/authors/id/G/GA/GAAS/$_realname-$pkgver.tar.gz" source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir"/$_realname-$pkgver builddir="$srcdir/$_pkgreal-$pkgver"
build() { build() {
cd "$builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make make
} }
check() { check() {
cd "$builddir"
make test make test
} }
package() { package() {
cd "$builddir"
make DESTDIR="$pkgdir" install make DESTDIR="$pkgdir" install
# creates file collision among perl modules # creates file collision among perl modules
find "$pkgdir" -name perllocal.pod -delete find "$pkgdir" -name perllocal.pod -delete
......
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org> # Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> # Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-digest-sha1 pkgname=perl-digest-sha1
_realname=Digest-SHA1 _pkgreal=Digest-SHA1
_author=GAAS
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=2.13 pkgver=2.13
pkgrel=11 pkgrel=11
pkgdesc="Perl interface to the SHA-1 algorithm" pkgdesc="Perl interface to the SHA-1 algorithm"
...@@ -10,32 +13,23 @@ arch="all" ...@@ -10,32 +13,23 @@ arch="all"
license="GPL-2.0-only OR Artistic-1.0-Perl" license="GPL-2.0-only OR Artistic-1.0-Perl"
depends="perl" depends="perl"
makedepends="perl-dev" makedepends="perl-dev"
install=
subpackages="$pkgname-doc" subpackages="$pkgname-doc"
source="https://search.cpan.org/CPAN/authors/id/G/GA/GAAS/$_realname-$pkgver.tar.gz source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz
perl-digest-sha1-check-object.patch perl-digest-sha1-check-object.patch
" "
builddir="$srcdir/$_realname-$pkgver" builddir="$srcdir/$_pkgreal-$pkgver"
prepare() { build() {
cd "$builddir"
default_prepare
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor \ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor \
OPTIMIZE="$CFLAGS" OPTIMIZE="$CFLAGS"
}
build() {
cd "$builddir"
make make
} }
check() { check() {
cd "$builddir"
make test make test
} }
package() { package() {
cd "$builddir"
make DESTDIR="$pkgdir" install make DESTDIR="$pkgdir" install
# creates file collision among perl modules # creates file collision among perl modules
find "$pkgdir" -name perllocal.pod -delete find "$pkgdir" -name perllocal.pod -delete
......
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> # Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> # Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-encode-eucjpascii pkgname=perl-encode-eucjpascii
_pkgreal=Encode-EUCJPASCII
_author=NEZUMI
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.03 pkgver=0.03
pkgrel=0 pkgrel=0
pkgdesc="Perl mapping of EUC-JP to ASCII" pkgdesc="Perl mapping of EUC-JP to ASCII"
...@@ -9,22 +13,19 @@ arch="all" ...@@ -9,22 +13,19 @@ arch="all"
license="Artistic-1.0-Perl AND GPL-2.0+" license="Artistic-1.0-Perl AND GPL-2.0+"
depends="perl" depends="perl"
makedepends="perl-dev" makedepends="perl-dev"
source="https://cpan.metacpan.org/authors/id/N/NE/NEZUMI/Encode-EUCJPASCII-0.03.tar.gz" source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-0.03.tar.gz"
builddir="$srcdir/Encode-EUCJPASCII-$pkgver" builddir="$srcdir/$_pkgreal-$pkgver"
build() { build() {
cd "$builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make make
} }
check() { check() {
cd "$builddir"
make test make test
} }
package() { package() {
cd "$builddir"
make DESTDIR="$pkgdir" install make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
} }
......
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> # Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> # Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-encode-hanextra pkgname=perl-encode-hanextra
_pkgreal=Encode-HanExtra
_author=AUDREYT
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.23 pkgver=0.23
pkgrel=0 pkgrel=0
pkgdesc="Perl support for more Chinese encodings" pkgdesc="Perl support for more Chinese encodings"
...@@ -10,22 +14,19 @@ license="Artistic-1.0-Perl AND GPL-2.0+" ...@@ -10,22 +14,19 @@ license="Artistic-1.0-Perl AND GPL-2.0+"
depends="perl" depends="perl"
makedepends="perl-module-install perl-dev" makedepends="perl-module-install perl-dev"
subpackages="$pkgname-doc" subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/A/AU/AUDREYT/Encode-HanExtra-$pkgver.tar.gz" source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/Encode-HanExtra-$pkgver" builddir="$srcdir/$_pkgreal-$pkgver"
build() { build() {
cd "$builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make make
} }
check() { check() {
cd "$builddir"
make test make test
} }
package() { package() {
cd "$builddir"
make DESTDIR="$pkgdir" install make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
} }
......
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> # Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> # Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-encode-iso2022 pkgname=perl-encode-iso2022
_pkgreal=Encode-ISO2022
_author=NEZUMI
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.04 pkgver=0.04
pkgrel=0 pkgrel=0
pkgdesc="Perl support for ISO-2022 encodings" pkgdesc="Perl support for ISO-2022 encodings"
...@@ -10,22 +14,19 @@ license="Artistic-1.0-Perl AND GPL-2.0+" ...@@ -10,22 +14,19 @@ license="Artistic-1.0-Perl AND GPL-2.0+"
depends="perl" depends="perl"
makedepends="perl-dev" makedepends="perl-dev"
subpackages="$pkgname-doc" subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/N/NE/NEZUMI/Encode-ISO2022-$pkgver.tar.gz" source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/Encode-ISO2022-$pkgver" builddir="$srcdir/$_pkgreal-$pkgver"
build() { build() {
cd "$builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make make
} }
check() { check() {
cd "$builddir"
make test make test
} }
package() { package() {
cd "$builddir"
make DESTDIR="$pkgdir" install make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
} }
......
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> # Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> # Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-encode-jisx0213 pkgname=perl-encode-jisx0213
_pkgreal=Encode-JISX0213
_author=NEZUMI
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.04 pkgver=0.04
pkgrel=0 pkgrel=0
pkgdesc="Perl support for JIS X 0213 encodings" pkgdesc="Perl support for JIS X 0213 encodings"
url="https://metacpan.org/pod/Encode::JISX0213" url="https://metacpan.org/pod/Encode::JISX0213"
arch="all" arch="all"
license="Artistic-1.0-Perl AND GPL-2.0+" license="Artistic-1.0-Perl AND GPL-2.0+"
depends="perl perl-encode-iso2022" depends="perl-encode-iso2022"
makedepends="perl-dev" makedepends="perl-dev"
subpackages="$pkgname-doc" subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/N/NE/NEZUMI/Encode-JISX0213-$pkgver.tar.gz" source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/Encode-JISX0213-$pkgver" builddir="$srcdir/$_pkgreal-$pkgver"
build() { build() {
cd "$builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make make
} }
check() { check() {
cd "$builddir"
make test make test
} }
package() { package() {
cd "$builddir"
make DESTDIR="$pkgdir" install make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
} }
......
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org> # Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> # Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-encode-locale pkgname=perl-encode-locale
_realname=Encode-Locale _pkgreal=Encode-Locale
_author=GAAS
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=1.05 pkgver=1.05
pkgrel=2 pkgrel=2
pkgdesc="Perl module - Determine locale encoding" pkgdesc="Perl module - Determine locale encoding"
...@@ -9,28 +12,22 @@ url="https://metacpan.org/release/Encode-Locale" ...@@ -9,28 +12,22 @@ url="https://metacpan.org/release/Encode-Locale"
arch="noarch" arch="noarch"
license="GPL-2.0-only Artistic-1.0-Perl" license="GPL-2.0-only Artistic-1.0-Perl"
depends="perl" depends="perl"
makedepends="perl-dev" makedepends=""
install=
subpackages="$pkgname-doc" subpackages="$pkgname-doc"
source="https://search.cpan.org/CPAN/authors/id/G/GA/GAAS/$_realname-$pkgver.tar.gz" source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
builddir="$srcdir/$_realname-$pkgver"
build() { build() {
cd "$builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL