[arch-commits] Commit in perl-sys-hostname-long/trunk (PKGBUILD)
Felix Yan
fyan at archlinux.org
Thu Jan 15 04:59:31 UTC 2015
Date: Thursday, January 15, 2015 @ 05:59:30
Author: fyan
Revision: 229008
upgpkg: perl-sys-hostname-long 1.5-1
upstream new release
Modified:
perl-sys-hostname-long/trunk/PKGBUILD
----------+
PKGBUILD | 22 ++++++++++++++--------
1 file changed, 14 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-01-15 04:37:17 UTC (rev 229007)
+++ PKGBUILD 2015-01-15 04:59:30 UTC (rev 229008)
@@ -1,28 +1,34 @@
# $Id$
-# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
# Contributor: Dale Blount <dale at archlinux.org>
pkgname=perl-sys-hostname-long
_realname=Sys-Hostname-Long
-pkgver=1.4
-pkgrel=6
+pkgver=1.5
+pkgrel=1
pkgdesc="Perl module getting a full hostname"
arch=('any')
license=('PerlArtistic')
url="http://search.cpan.org/dist/${_realname}/"
depends=('perl')
-options=(!emptydirs)
+checkdepends=('inetutils')
+options=('!emptydirs')
source=(http://search.cpan.org/CPAN/authors/id/S/SC/SCOTT/${_realname}-${pkgver}.tar.gz)
-md5sums=('a5b3c23754cbcff10e283d16c42ec3d3')
+md5sums=('a7d7a36fa6905bded4f6b7da94e37532')
build() {
- cd ${srcdir}/${_realname}-${pkgver}
+ cd "${srcdir}/${_realname}-${pkgver}"
# install module in vendor directories.
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
+check() {
+ cd "${srcdir}/${_realname}-${pkgver}"
+ make test
+}
+
package() {
- cd ${srcdir}/${_realname}-${pkgver}
- make install DESTDIR=${pkgdir}
+ cd "${srcdir}/${_realname}-${pkgver}"
+ make install DESTDIR="${pkgdir}"
}
More information about the arch-commits
mailing list