[arch-commits] Commit in perl-data-uniqid/repos (staging-any staging-any/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Mon May 24 08:34:03 UTC 2021


    Date: Monday, May 24, 2021 @ 08:34:03
  Author: felixonmars
Revision: 415988

archrelease: copy trunk to staging-any

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

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

Copied: perl-data-uniqid/repos/staging-any/PKGBUILD (from rev 415987, perl-data-uniqid/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2021-05-24 08:34:03 UTC (rev 415988)
@@ -0,0 +1,39 @@
+# Maintainer: Rémy Oudompheng <remy at 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=9
+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"
+}



More information about the arch-commits mailing list