Commit e926ca50 authored by Nigel Kukard's avatar Nigel Kukard
Browse files

Merge branch 'nkupdates' into 'master'

Updated and migrated

See merge request !1
parents 44a2190b 686afc72
Pipeline #496 passed with stage
in 40 seconds
include:
- project: 'idms-linux-rolling/projects/idms-linux-ci'
- project: 'gitlab/gitlab-ci-package-template'
ref: master
file: '/packages.yml'
# Maintainer: Nigel Kukard <nkukard@lbsd.net>
# Contributor: John D Jones III AKA jnbek <jnbek1972 -_AT_- g m a i l -_Dot_- com>
# Generator : CPANPLUS::Dist::Arch 1.32
pkgname='perl-want'
pkgver='0.29'
pkgrel='1'
pkgname=perl-want
pkgver=0.29
pkgrel=1
pkgdesc="A generalisation of wantarray"
arch=('i686' 'x86_64')
license=('PerlArtistic' 'GPL')
......@@ -18,23 +17,21 @@ sha512sums=('08df985de16b5e9dd67d6ed38d319da2511e92098f95a861a5a695eed8d77eaf412
_distdir="Want-0.29"
build() {
( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
PERL_AUTOINSTALL=--skipdeps \
PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
MODULEBUILDRC=/dev/null
export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
PERL_AUTOINSTALL=--skipdeps \
PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
MODULEBUILDRC=/dev/null
cd "$srcdir/$_distdir"
/usr/bin/perl Makefile.PL
make
)
cd "$srcdir/$_distdir"
/usr/bin/perl Makefile.PL
make
}
check() {
cd "$srcdir/$_distdir"
( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
make test
)
export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
make test
}
package() {
......@@ -44,8 +41,4 @@ package() {
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:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment