[arch-commits] Commit in perl-filesys-df/trunk (PKGBUILD)
Fabio Castelli
muflone at archlinux.org
Sun Apr 1 01:41:11 UTC 2018
Date: Sunday, April 1, 2018 @ 01:41:10
Author: muflone
Revision: 313680
upgpkg: perl-filesys-df 0.92-6
Modified:
perl-filesys-df/trunk/PKGBUILD
----------+
PKGBUILD | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-04-01 01:24:50 UTC (rev 313679)
+++ PKGBUILD 2018-04-01 01:41:10 UTC (rev 313680)
@@ -4,30 +4,31 @@
# Contributor: der_FeniX <derfenix [at] gmail [dot] com>
pkgname=perl-filesys-df
-_perl_module=Filesys-Df
+_perl_namespace=Filesys
+_perl_module=Df
pkgver=0.92
-pkgrel=5
+pkgrel=6
pkgdesc="Perl extension for filesystem disk space information"
arch=('x86_64')
url="https://metacpan.org/release/${_perl_module}"
license=('PerlArtistic' 'GPL')
depends=('perl')
-source=("https://cpan.metacpan.org/authors/id/I/IG/IGUTHRIE/${_perl_module}-${pkgver}.tar.gz")
+source=("https://www.cpan.org/modules/by-module/${_perl_namespace}/${_perl_namespace}-${_perl_module}-${pkgver}.tar.gz")
sha256sums=('fe89cbb427e0e05f1cd97c2dd6d3866ac6b21bc7a85734ede159bdc35479552a')
options=('!emptydirs')
build() {
- cd "${_perl_module}-${pkgver}"
+ cd "${_perl_namespace}-${_perl_module}-${pkgver}"
perl Makefile.PL
make
}
check() {
- cd "${_perl_module}-${pkgver}"
+ cd "${_perl_namespace}-${_perl_module}-${pkgver}"
make test
}
package() {
- cd "${_perl_module}-${pkgver}"
+ cd "${_perl_namespace}-${_perl_module}-${pkgver}"
make pure_install DESTDIR="${pkgdir}"
}
More information about the arch-commits
mailing list