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

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


    Date: Thursday, November 8, 2018 @ 12:50:43
  Author: felixonmars
Revision: 338375

update source and format

Modified:
  perl-text-iconv/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-08 12:49:49 UTC (rev 338374)
+++ PKGBUILD	2018-11-08 12:50:43 UTC (rev 338375)
@@ -2,30 +2,29 @@
 # Contributor: Francois Charette <firmicus at gmx.net>
 
 pkgname=perl-text-iconv
-_realname=Text-Iconv
 pkgver=1.7
 pkgrel=15
 pkgdesc="Interface to iconv codeset conversion"
 arch=('x86_64')
-url="http://search.cpan.org/dist/${_realname}/"
+url="http://search.cpan.org/dist/Text-Iconv/"
 license=('GPL' 'PerlArtistic')
 depends=('perl')
 options=('!emptydirs')
-source=(http://www.cpan.org/authors/id/M/MP/MPIOTR/${_realname}-${pkgver}.tar.gz) 
+source=("https://www.cpan.org/authors/id/M/MP/MPIOTR/Text-Iconv-$pkgver.tar.gz") 
 md5sums=('81b26e069eaebb084e91ea3c009b67ae')
 
 build() {
-  cd "${srcdir}/${_realname}-${pkgver}"
+  cd Text-Iconv-$pkgver
   perl Makefile.PL INSTALLDIRS=vendor
   make
 }
 
 check() {
-  cd "${srcdir}/${_realname}-${pkgver}"
+  cd Text-Iconv-$pkgver
   make test
 }
 
 package() {
-  cd "${srcdir}/${_realname}-${pkgver}"
-  make DESTDIR="${pkgdir}" install
+  cd Text-Iconv-$pkgver
+  make DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list