mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
aur -> community/perl-config-general to 2.63-3
This commit is contained in:
parent
7e7b29ae59
commit
99d484ed70
2 changed files with 43 additions and 30 deletions
|
@ -1,30 +0,0 @@
|
|||
# Maintainer: Brian Bidulock <bidulock@openss7.org>
|
||||
# Contributor: Jason St. John <jstjohn .. purdue . edu>
|
||||
_perlmod=Config-General
|
||||
_modnamespace=Config
|
||||
pkgname=perl-config-general
|
||||
pkgver=2.63
|
||||
pkgrel=2
|
||||
pkgdesc="Config::General - Generic Config Module"
|
||||
arch=('any')
|
||||
url="http://search.cpan.org/dist/${_perlmod}"
|
||||
license=('GPL' 'PerlArtistic')
|
||||
options=('!emptydirs')
|
||||
source=("http://cpan.org/modules/by-module/${_modnamespace}/${_perlmod}-${pkgver}.tar.gz")
|
||||
sha512sums=('ba9fdbf992049936ea288a90d8f8360821fc96f8d42df0298888b25543d2ac43e2958c5f7a8bbbae7cad1e2151ea00528756a3bc0cfbe408e5ee82bf309615f3')
|
||||
|
||||
build() {
|
||||
cd "${_perlmod}-${pkgver}"
|
||||
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "${_perlmod}-${pkgver}"
|
||||
make test
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${_perlmod}-${pkgver}"
|
||||
make install DESTDIR="${pkgdir}"
|
||||
}
|
43
community/perl-config-general/PKGBUILD
Normal file
43
community/perl-config-general/PKGBUILD
Normal file
|
@ -0,0 +1,43 @@
|
|||
# $Id$
|
||||
# Maintainer: Muflone http://www.muflone.com/contacts/english/
|
||||
# Contributor: Brian Bidulock <bidulock@openss7.org>
|
||||
# Contributor: Jason St. John <jstjohn .. purdue . edu>
|
||||
|
||||
# remove when bumped upstream
|
||||
|
||||
pkgname=perl-config-general
|
||||
_perl_namespace=Config
|
||||
_perl_module=General
|
||||
pkgver=2.63
|
||||
pkgrel=3
|
||||
pkgdesc="Generic Config Module"
|
||||
arch=('any')
|
||||
url="https://metacpan.org/release/${_perl_namespace}-${_perl_module}"
|
||||
license=('PerlArtistic' 'GPL')
|
||||
depends=('perl')
|
||||
source=("https://www.cpan.org/modules/by-module/${_perl_namespace}/${_perl_namespace}-${_perl_module}-${pkgver}.tar.gz")
|
||||
sha256sums=('0a9bf977b8aabe76343e88095d2296c8a422410fd2a05a1901f2b20e2e1f6fad')
|
||||
options=('!emptydirs')
|
||||
|
||||
build() {
|
||||
cd "${_perl_namespace}-${_perl_module}-${pkgver}"
|
||||
unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
|
||||
export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
|
||||
perl Makefile.PL
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "${_perl_namespace}-${_perl_module}-${pkgver}"
|
||||
unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
|
||||
export PERL_MM_USE_DEFAULT=1
|
||||
make test
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${_perl_namespace}-${_perl_module}-${pkgver}"
|
||||
unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
|
||||
make pure_install INSTALLDIRS=vendor DESTDIR="${pkgdir}"
|
||||
# Delete unuseful files
|
||||
find "${pkgdir}" -name '.packlist' -delete
|
||||
}
|
Loading…
Reference in a new issue