From f6ea16a6add0f58acb334e5a40ebe522491b8fc1 Mon Sep 17 00:00:00 2001 From: xhaa123 Date: Tue, 30 Apr 2024 18:52:45 +0800 Subject: [PATCH] perl-module-build 0.4234-1 --- PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 PKGBUILD diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..cd50976 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# This is an example PKGBUILD file. Use this as a start to creating your own, +# and remove these comments. For more information, see 'man PKGBUILD'. +# NOTE: Please fill out the license field for your package! If it is unknown, +# then please put 'unknown'. + +# Maintainer: Future Linux Team +pkgname=perl-module-build +pkgver=0.4234 +pkgrel=1 +pkgdesc="Build, test, and install Perl modules" +arch=('x86_64') +url="https://search.cpan.org/dist/Module-Build" +license=('PerlArtistic' 'GPL') +depends=('perl' 'perl-inc-latest') +options=('!emptydirs') +source=(https://cpan.metacpan.org/authors/id/L/LE/LEONT/Module-Build-${pkgver}.tar.gz) +sha256sums=(66aeac6127418be5e471ead3744648c766bd01482825c5b66652675f2bc86a8f) + +build() { + cd Module-Build-${pkgver} + + perl Build.PL installdirs=vendor + + perl Build +} + +package() { + cd Module-Build-${pkgver} + + perl Build install destdir=${pkgdir} +}