desktop/perl-ipc-system-simple/PKGBUILD
2011-04-03 12:41:32 +02:00

32 lines
803 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-system-simple
_realname=IPC-System-Simple
pkgver=1.21
pkgrel=1
pkgdesc="Run commands simply, with detailed diagnostics"
arch=(any)
license=(PerlArtistic GPL)
depends=(perl)
url='http://search.cpan.org/dist/$_realname'
options=('!emptydirs')
source=("http://search.cpan.org/CPAN/authors/id/P/PJ/PJF/$_realname-$pkgver.tar.gz")
md5sums=('8215b62fe1b8447b99e17861e2255288')
build() {
cd $srcdir/$_realname-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
package() {
cd $srcdir/$_realname-$pkgver
make DESTDIR="$pkgdir" install
}