summaryrefslogtreecommitdiffstats
path: root/arch/tde-deps/perl-extutils-libbuilder/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'arch/tde-deps/perl-extutils-libbuilder/PKGBUILD')
-rw-r--r--arch/tde-deps/perl-extutils-libbuilder/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/arch/tde-deps/perl-extutils-libbuilder/PKGBUILD b/arch/tde-deps/perl-extutils-libbuilder/PKGBUILD
new file mode 100644
index 000000000..ef80ce3b7
--- /dev/null
+++ b/arch/tde-deps/perl-extutils-libbuilder/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Rémy Oudompheng <remy@archlinux.org>
+
+pkgname='perl-extutils-libbuilder'
+_dist="ExtUtils-LibBuilder"
+pkgver=0.08
+pkgrel=10
+pkgdesc="A tools to build C libraries"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl')
+makedepends=('perl-module-build')
+url="https://metacpan.org/release/${_dist}"
+source=("https://search.cpan.org/CPAN/authors/id/A/AM/AMBS/${_dist}-${pkgver}.tar.gz")
+sha256sums=('c51171e06de53039f0bca1d97a6471ec37941ff59e8a3d1cb170ebdd2573b5d2')
+
+build() {
+ cd "${srcdir}/${_dist}-${pkgver}"
+ unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+ perl Build.PL
+ ./Build
+}
+
+check() {
+ cd "${srcdir}/${_dist}-${pkgver}"
+ unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+ ./Build test
+}
+
+package() {
+ cd "${srcdir}/${_dist}-${pkgver}"
+ unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+ ./Build install installdirs=vendor destdir="$pkgdir"
+}