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

Evangelos Foutras foutrelis at archlinux.org
Sat May 25 10:55:15 UTC 2019


    Date: Saturday, May 25, 2019 @ 10:55:14
  Author: foutrelis
Revision: 354210

archrelease: copy trunk to staging-any

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

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

Copied: perl-file-basedir/repos/staging-any/PKGBUILD (from rev 354209, perl-file-basedir/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2019-05-25 10:55:14 UTC (rev 354210)
@@ -0,0 +1,35 @@
+# 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=3
+pkgdesc='Use the Freedesktop.org base directory specification'
+arch=('any')
+license=('GPL' 'PerlArtistic')
+url="https://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=("https://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