[arch-commits] Commit in perl-x11-protocol-other/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Mon May 24 11:28:56 UTC 2021


    Date: Monday, May 24, 2021 @ 11:28:56
  Author: foutrelis
Revision: 944511

archrelease: copy trunk to community-staging-any

Added:
  perl-x11-protocol-other/repos/community-staging-any/
  perl-x11-protocol-other/repos/community-staging-any/PKGBUILD
    (from rev 944506, perl-x11-protocol-other/trunk/PKGBUILD)

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

Copied: perl-x11-protocol-other/repos/community-staging-any/PKGBUILD (from rev 944506, perl-x11-protocol-other/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-05-24 11:28:56 UTC (rev 944511)
@@ -0,0 +1,39 @@
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Contributor: 3ED <krzysztof1987 at gmail dot com>
+
+pkgname=perl-x11-protocol-other
+pkgver=30
+pkgrel=7
+pkgdesc="Extra extransions for perl-x11-protocol"
+arch=('any')
+url=https://search.cpan.org/dist/X11-Protocol-Other/
+license=('GPL')
+depends=('perl-x11-protocol')
+makedepends=('perl-extutils-makemaker')
+options=('!emptydirs')
+source=(https://search.cpan.org/CPAN/authors/id/K/KR/KRYDE/X11-Protocol-Other-${pkgver}.tar.gz)
+sha256sums=('323fe7736e20480a8b0940ab5695c6c028709cf088061eb9407236764a5c55d5')
+
+build() {
+  cd "${srcdir}"/X11-Protocol-Other-${pkgver}
+
+  export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL="--skipdeps" \
+    PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
+    PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
+    MODULEBUILDRC=/dev/null
+
+  perl Makefile.PL
+  make
+}
+
+check() {
+  cd "${srcdir}"/X11-Protocol-Other-${pkgver}
+
+  make test
+}
+
+package() {
+  cd "${srcdir}"/X11-Protocol-Other-${pkgver}
+
+  make install
+}



More information about the arch-commits mailing list