[arch-commits] Commit in perl-file-basedir/repos (staging-any staging-any/PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Wed Aug 1 11:16:31 UTC 2018


    Date: Wednesday, August 1, 2018 @ 11:16:30
  Author: foutrelis
Revision: 330177

archrelease: copy trunk to staging-any

Added:
  perl-file-basedir/repos/staging-any/
  perl-file-basedir/repos/staging-any/PKGBUILD
    (from rev 330176, perl-file-basedir/trunk/PKGBUILD)

----------+
 PKGBUILD |   36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

Copied: perl-file-basedir/repos/staging-any/PKGBUILD (from rev 330176, perl-file-basedir/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2018-08-01 11:16:30 UTC (rev 330177)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: kevin <kevin at archlinux.org>
+# Contributor: K. Piche <kpiche at rogers.com>
+
+pkgname=perl-file-basedir
+_realname=File-BaseDir
+pkgver=0.08
+pkgrel=2
+pkgdesc='Use the Freedesktop.org base directory specification'
+arch=('any')
+license=('GPL' 'PerlArtistic')
+url="http://search.cpan.org/dist/${_realname}/"
+depends=('perl-ipc-system-simple')
+makedepends=('perl-module-build>0.4205')
+checkdepends=('perl-test-pod' 'perl-test-pod-coverage' 'perl-file-which' 'xdg-user-dirs')
+options=('!emptydirs')
+source=("http://search.cpan.org/CPAN/authors/id/K/KI/KIMRYAN/${_realname}-$pkgver.tar.gz")
+sha512sums=('6b44edca34906c34d574933c21c0e3a1a236a431a3ac12caeabcc2638688dfe1c02efc9a1e75a2c2cd522de0dca00df0620cd262c184ec938cc97766d1121f99')
+
+build() {
+  cd "${srcdir}/${_realname}-${pkgver}"
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  mkdir .config
+  cd "${srcdir}/${_realname}-${pkgver}"
+  HOME="$srcdir" make test
+}
+
+package() {
+  cd ${srcdir}/${_realname}-${pkgver}
+  make install DESTDIR=${pkgdir}
+}



More information about the arch-commits mailing list