Skip to content

Commit

Permalink
* move perl stuff into a folder
Browse files Browse the repository at this point in the history
  • Loading branch information
kth5 committed Apr 26, 2019
1 parent bb65316 commit 0c0c6f1
Show file tree
Hide file tree
Showing 43 changed files with 1,568 additions and 0 deletions.
35 changes: 35 additions & 0 deletions perl/perl-archive-cpio/PKGBUILD
@@ -0,0 +1,35 @@
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>

pkgname=perl-archive-cpio
_cpanname=Archive-Cpio
pkgver=0.10
pkgrel=3
pkgdesc='module for manipulations of cpio archives'
url='https://metacpan.org/pod/Archive::Cpio'
arch=('any')
license=('unknown')
depends=('perl>=5.10.0')
options=('!emptydirs')
source=(${pkgname}-${pkgver}.tar.gz::https://cpan.metacpan.org/authors/id/P/PI/PIXEL/${_cpanname}-${pkgver}.tar.gz)
sha256sums=('246fb31669764e78336b2191134122e07c44f2d82dc4f37d552ab28f8668bed3')
sha512sums=('c828f6f199de0efd7c7fbe2c3d4c5304df3c714720d91dd9a7d76e2c8d16bab1b92fc93a0b8afe78bd89b043ce7684c31d54b13c4e840f68ee040ca7bff43c3d')

build() {
cd ${_cpanname}-${pkgver}
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}

check() {
cd ${_cpanname}-${pkgver}
make test
}

package() {
cd ${_cpanname}-${pkgver}
make DESTDIR="${pkgdir}" install
install -Dm 644 Changes -t "${pkgdir}/usr/share/doc/${pkgname}"
}

# vim: ts=2 sw=2 et:
34 changes: 34 additions & 0 deletions perl/perl-archive-zip/PKGBUILD
@@ -0,0 +1,34 @@
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: Allan McRae <allan@archlinux.org>
# Contributor: Andrew Simmons <andrew.simmons@gmail.com>

pkgname=perl-archive-zip
pkgver=1.64
pkgrel=1
pkgdesc="Provide a perl interface to ZIP archive files"
arch=('any')
license=('GPL' 'PerlArtistic')
url="http://search.cpan.org/dist/Archive-Zip/"
depends=('perl')
checkdepends=('perl-test-mockmodule')
options=('!emptydirs')
source=(http://search.cpan.org/CPAN/authors/id/P/PH/PHRED/Archive-Zip-${pkgver}.tar.gz)
sha512sums=('7ae4c87ad50b30e764a79ada8f39ea2d698cfba957294d28dc15a2f3b2497923266a00574c5e43ddd59d6ec76d911f39007851920e0f09bfe3f466d46e17d6fc')

build() {
cd Archive-Zip-${pkgver}
perl Makefile.PL INSTALLDIRS=vendor
make
}

check() {
cd Archive-Zip-${pkgver}
make test
}


package() {
cd Archive-Zip-${pkgver}
make DESTDIR="${pkgdir}" install
}
44 changes: 44 additions & 0 deletions perl/perl-cpan-meta/PKGBUILD
@@ -0,0 +1,44 @@
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer: Felix Yan <felixonmars@archlinux.org>

pkgname=perl-cpan-meta
pkgver=2.150010
pkgrel=6
pkgdesc='the distribution metadata for a CPAN dist'
arch=('any')
license=('PerlArtistic' 'GPL')
options=('!emptydirs')
depends=('perl>=5.8' 'perl-cpan-meta-requirements>=2.121'
'perl-cpan-meta-yaml>=0.008' 'perl-cpan-meta>=2.150008')
url='https://metacpan.org/release/CPAN-Meta'
source=("http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/CPAN-Meta-$pkgver.tar.gz")
sha512sums=('b5513c411de33e10da6751460e373a67c6c0245a98409fc525383feb1f9b913e9fcd23e6cc2e0faa93eab3ecb932e3ea31788d46e490ef67151c8842a096d700')

_ddir="CPAN-Meta-$pkgver"

build() (
cd "$srcdir/$_ddir"
export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
unset PERL5LIB PERL_MM_OPT
/usr/bin/perl Makefile.PL
make
)

check() (
cd "$srcdir/$_ddir"
export PERL_MM_USE_DEFAULT=1
unset PERL5LIB
make test
)

package() (
cd "$srcdir/$_ddir"
make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
)

# Local Variables:
# mode: shell-script
# sh-basic-offset: 2
# End:
# vim:set ts=2 sw=2 et:
31 changes: 31 additions & 0 deletions perl/perl-encode-locale/PKGBUILD
@@ -0,0 +1,31 @@
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# $Id$
# Maintainer: Felix Yan <felixonmars@archlinux.org>

pkgname=perl-encode-locale
pkgver=1.05
pkgrel=4
pkgdesc="Determine the locale encoding"
arch=('any')
url="http://search.cpan.org/dist/Encode-Locale"
license=('PerlArtistic' 'GPL')
depends=('perl')
options=('!emptydirs')
source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Encode-Locale-$pkgver.tar.gz)
sha1sums=('1e1632e869cb76e3fdbda0a83a192190ed178d60')

build() {
cd Encode-Locale-$pkgver
perl Makefile.PL INSTALLDIRS=vendor
make
}

check() {
cd Encode-Locale-$pkgver
make test
}

package() {
cd Encode-Locale-$pkgver
make DESTDIR="$pkgdir" install
}
32 changes: 32 additions & 0 deletions perl/perl-error/PKGBUILD
@@ -0,0 +1,32 @@
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer: Felix Yan <felixonmars@archlinux.org>

pkgname=perl-error
pkgver=0.17027
pkgrel=1
pkgdesc="Perl/CPAN Error module - Error/exception handling in an OO-ish way"
url="http://search.cpan.org/dist/Error/"
arch=('any')
license=('PerlArtistic' 'GPL')
depends=('perl')
checkdepends=('perl-test-pod' 'perl-test-pod-coverage')
options=('!emptydirs')
source=(http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/Error-${pkgver}.tar.gz)
sha512sums=('f7a649254bd2a5228a0baaa7bb286872dcbcf373134446176ff63a5ec0159e7472e0ea930aaff78f7f7961f797ae0a8e5c8725bdc06d2bab177ce469a4ede4b9')

build() {
cd Error-${pkgver}
perl Makefile.PL INSTALLDIRS=vendor
make
}

check() {
cd Error-${pkgver}
make test
}

package() {
cd Error-${pkgver}
make DESTDIR="${pkgdir}" install
}

29 changes: 29 additions & 0 deletions perl/perl-file-which/PKGBUILD
@@ -0,0 +1,29 @@
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com
# Contributor: Charles Mauch <cmauch@gmail.com>

pkgname=perl-file-which
_realname=File-Which
pkgver=1.23
pkgrel=1
pkgdesc="Portable implementation of which"
arch=(any)
url="https://metacpan.org/release/$_realname"
license=(GPL PerlArtistic)
depends=(perl)
options=('!emptydirs')
source=("https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/$_realname-$pkgver.tar.gz")
sha256sums=('b79dc2244b2d97b6f27167fc3b7799ef61a179040f3abd76ce1e0a3b0bc4e078')

build() {
cd $_realname-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}

package() {
cd $_realname-$pkgver
make DESTDIR="$pkgdir" install
}

# vim:set sw=2 et:

0 comments on commit 0c0c6f1

Please sign in to comment.