diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2023-04-25 02:08:58 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2023-04-25 03:20:10 +0200 |
commit | 183f62d73b68c294aeea5ec453fb19a7c3caed27 (patch) | |
tree | 9e29614ba3f46e6bcd2217127c8d7ceca1ec0ed5 /arch/tde-deps/perl-file-slurper/PKGBUILD | |
parent | fefef1b0cb5b95684809e7b3f24e67fbe25ce718 (diff) | |
download | tde-packaging-183f62d73b68c294aeea5ec453fb19a7c3caed27.tar.gz tde-packaging-183f62d73b68c294aeea5ec453fb19a7c3caed27.zip |
ArchLinux: Update for final R14.1.0.
Add pkgbuilds for several applications.
Add pkgbuilds for dependencies that
are not available on archlinuxpower.org.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'arch/tde-deps/perl-file-slurper/PKGBUILD')
-rw-r--r-- | arch/tde-deps/perl-file-slurper/PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/arch/tde-deps/perl-file-slurper/PKGBUILD b/arch/tde-deps/perl-file-slurper/PKGBUILD new file mode 100644 index 000000000..6729ac806 --- /dev/null +++ b/arch/tde-deps/perl-file-slurper/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Rémy Oudompheng <remy@archlinux.org> + +pkgname=perl-file-slurper +_dist=File-Slurper +pkgver=0.013 +pkgrel=1 +pkgdesc="A simple, sane and efficient module to slurp a file" +arch=('any') +url="https://metacpan.org/release/${_dist}" +license=('PerlArtistic' 'GPL') +depends=('perl') +checkdepends=('perl-test-warnings') +options=('!emptydirs') +source=(https://search.cpan.org/CPAN/authors/id/L/LE/LEONT/${_dist}-${pkgver}.tar.gz) +sha256sums=('e2f6a4029a6a242d50054044f1fb86770b9b5cc4daeb1a967f91ffb42716a8c5') + +build() { + cd "${srcdir}/${_dist}-${pkgver}" + unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT + export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps + perl Makefile.PL + make +} + +check() { + cd "${srcdir}/${_dist}-${pkgver}" + unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT + export PERL_MM_USE_DEFAULT=1 + make test +} + +package() { + cd "${srcdir}/${_dist}-${pkgver}" + unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT + make install INSTALLDIRS=vendor DESTDIR="$pkgdir" +} |