[arch-commits] Commit in perl-appconfig/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Thu Nov 8 12:43:27 UTC 2018


    Date: Thursday, November 8, 2018 @ 12:43:26
  Author: felixonmars
Revision: 338367

update source and format

Modified:
  perl-appconfig/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-08 12:42:17 UTC (rev 338366)
+++ PKGBUILD	2018-11-08 12:43:26 UTC (rev 338367)
@@ -3,30 +3,29 @@
 # Contributor: Eric Johnson <eric at coding-zone.com>
 
 pkgname=perl-appconfig
-_realname=AppConfig
 pkgver=1.71
 pkgrel=4
 pkgdesc="Perl/CPAN AppConfig module - Read configuration files and parse command line arguments"
 arch=('any')
 license=('PerlArtistic' 'GPL')
-url="http://search.cpan.org/dist/${_realname}/"
+url="http://search.cpan.org/dist/AppConfig/"
 depends=('perl')
 options=('!emptydirs')
-source=("http://www.cpan.org/authors/id/N/NE/NEILB/${_realname}-${pkgver}.tar.gz")
+source=("https://www.cpan.org/authors/id/N/NE/NEILB/AppConfig-$pkgver.tar.gz")
 md5sums=('7747d9241561ed5567d5e134b8648707')
 
 build() {
-  cd "${srcdir}/${_realname}-${pkgver}"
+  cd AppConfig-$pkgver
   perl Makefile.PL INSTALLDIRS=vendor
   make
 }
 
 check() {
-  cd "${srcdir}/${_realname}-${pkgver}"
+  cd AppConfig-$pkgver
   make test
 }
 
 package() {
-  cd "${srcdir}/${_realname}-${pkgver}"
-  make install DESTDIR="${pkgdir}"
+  cd AppConfig-$pkgver
+  make install DESTDIR="$pkgdir"
 }



More information about the arch-commits mailing list