Date: Tuesday, May 19, 2020 @ 08:21:40
  Author: felixonmars
Revision: 386257

archrelease: copy trunk to staging-any

Added:
  perl-data-uniqid/repos/staging-any/
  perl-data-uniqid/repos/staging-any/PKGBUILD
    (from rev 386255, perl-data-uniqid/trunk/PKGBUILD)

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

Copied: perl-data-uniqid/repos/staging-any/PKGBUILD (from rev 386255, 
perl-data-uniqid/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD                                (rev 0)
+++ staging-any/PKGBUILD        2020-05-19 08:21:40 UTC (rev 386257)
@@ -0,0 +1,39 @@
+# Maintainer: Rémy Oudompheng <r...@archlinux.org>
+# Contributor: John D Jones III 
<j[nospace]n[nospace]b[nospace]e[nospace]k[nospace]1972 -_AT_- the domain name 
google offers a mail service at ending in dot com>
+# Generator  : CPANPLUS::Dist::Arch 1.25
+
+pkgname='perl-data-uniqid'
+_dist="Data-Uniqid"
+pkgver='0.12'
+pkgrel=7
+pkgdesc="Perl extension for simple generation of unique IDs"
+arch=('any')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl')
+makedepends=()
+url='https://search.cpan.org/dist/Data-Uniqid'
+source=('https://search.cpan.org/CPAN/authors/id/M/MW/MWX/Data-Uniqid-0.12.tar.gz')
+md5sums=('6bab3b5da09fedfdf60ce2629a7367db')
+sha512sums=('fd12aae4a810fda88dd0f8296e73760d8d62357cb5ebc675a4b2804d9eee93ebfa01942c7057ad9092e80331504f2a38a3c8a576ccb630de10f5e563752ed6e3')
+
+build() {
+    cd "${srcdir}/${_dist}-${pkgver}"
+    unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+    export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+    perl Makefile.PL
+    make
+}
+
+check() {
+    cd "${srcdir}/${_dist}-${pkgver}"
+    unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+    export PERL_MM_USE_DEFAULT=1
+    make test
+}
+
+package() {
+    cd "${srcdir}/${_dist}-${pkgver}"
+    unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+    make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
+}

Reply via email to