Date: Sunday, April 1, 2018 @ 01:23:47
  Author: muflone
Revision: 313677

archrelease: copy trunk to community-testing-x86_64

Added:
  perl-data-uuid/repos/community-testing-x86_64/
  perl-data-uuid/repos/community-testing-x86_64/PKGBUILD
    (from rev 313676, perl-data-uuid/trunk/PKGBUILD)

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

Copied: perl-data-uuid/repos/community-testing-x86_64/PKGBUILD (from rev 
313676, perl-data-uuid/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD                           (rev 0)
+++ community-testing-x86_64/PKGBUILD   2018-04-01 01:23:47 UTC (rev 313677)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Muflone http://www.muflone.com/contacts/english/
+
+pkgname=perl-data-uuid
+_perl_module=Data-UUID
+pkgver=1.221
+pkgrel=2
+pkgdesc="Globally/Universally Unique Identifiers (GUIDs/UUIDs)"
+arch=('x86_64')
+url="https://metacpan.org/release/${_perl_module}";
+license=('BSD')
+depends=('perl')
+source=("http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/${_perl_module}-${pkgver}.tar.gz";)
+sha256sums=('3cc7b2a3a7b74b45a059e013f7fd878078500ea4b7269036f84556b022078667')
+options=('!emptydirs')
+
+build() {
+  cd "${_perl_module}-${pkgver}"
+  perl Makefile.PL
+  make
+}
+
+check() {
+  cd "${_perl_module}-${pkgver}"
+  make test
+}
+
+package() {
+  cd "${_perl_module}-${pkgver}"
+  make pure_install DESTDIR="${pkgdir}"
+  # Install license file
+  install -m 755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -m 644 -t "${pkgdir}/usr/share/licenses/${pkgname}" "LICENSE"
+}

Reply via email to