mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-25 02:52:13 +08:00
39 lines
994 B
Bash
39 lines
994 B
Bash
#
|
|
# Games Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=perl-ipc-run3
|
|
_pkgname=IPC-Run3
|
|
pkgver=0.044
|
|
pkgrel=2
|
|
pkgdesc="Perl module to run a subprocess and redirect stdin, stdout, and/or stderr to files and perl data structures."
|
|
arch=('i686' 'x86_64')
|
|
license=('PerlArtistic' 'GPL')
|
|
options=('!emptydirs')
|
|
depends=('perl')
|
|
url='http://search.cpan.org/~rjbs/IPC-Run3/'
|
|
source=("http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/$_pkgname-$pkgver.tar.gz")
|
|
md5sums=('7df73a65d9efc7b9e7eb04075ff1fd8f')
|
|
|
|
build() {
|
|
cd $srcdir/$_pkgname-$pkgver
|
|
|
|
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
|
make
|
|
|
|
}
|
|
|
|
package() {
|
|
cd $srcdir/$_pkgname-$pkgver
|
|
|
|
make install DESTDIR="$pkgdir/"
|
|
|
|
# Remove perllocal.pod and .packlist:
|
|
find "$pkgdir" -name perllocal.pod -delete
|
|
find "$pkgdir" -name .packlist -delete
|
|
}
|