From 183f62d73b68c294aeea5ec453fb19a7c3caed27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Tue, 25 Apr 2023 02:08:58 +0200 Subject: ArchLinux: Update for final R14.1.0. Add pkgbuilds for several applications. Add pkgbuilds for dependencies that are not available on archlinuxpower.org. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- arch/tde-deps/perl-file-slurper/PKGBUILD | 36 ++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 arch/tde-deps/perl-file-slurper/PKGBUILD (limited to 'arch/tde-deps/perl-file-slurper/PKGBUILD') 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 + +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" +} -- cgit v1.2.1