makedeb


libipc-bash-perl 0.0.2-1


Library for interracting with bash session

Viewing /PKGBUILD.

View raw.

Click here to go back to the Git tree for libipc-bash-perl.

# Maintainer: huakim-tyk <zuhhaga@gmail.com>
pkgname='libipc-bash-perl'
pkgver='0.0.2'
pkgrel='1'
pkgdesc="Library for interracting with bash session"
arch=('all')
license=('PerlArtistic' 'GPL')
depends=(
'libbytes-random-secure-perl'
'libfile-util-tempdir-perl'
'libmoose-perl'
'libmoosex-privacy-perl'
'libmutex-perl'
'perl'
)
makedepends=(
'coreutils'
'findutils'
'make'
)

checkdepends=()
_distdir='IPC-Bash'
url='https://github.com/huakim-tyk/${_distdir}'
source=("git+https://github.com/huakim-tyk/${_distdir}.git")
sha512sums=('SKIP')

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

  cd "$srcdir/$_distdir"
  /usr/bin/perl Makefile.PL
  make
}

package() {
  cd "$srcdir/$_distdir"
  make install

  find "$pkgdir" \( -name .packlist -o -name perllocal.pod \) -delete
}