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

Evangelos Foutras foutrelis at archlinux.org
Sat May 25 11:48:18 UTC 2019


    Date: Saturday, May 25, 2019 @ 11:48:17
  Author: foutrelis
Revision: 470494

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 470492, 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 470492, perl-x11-protocol-other/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-05-25 11:48:17 UTC (rev 470494)
@@ -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=5
+pkgdesc="Extra extransions for perl-x11-protocol"
+arch=('any')
+url=http://search.cpan.org/dist/X11-Protocol-Other/
+license=('GPL')
+depends=('perl-x11-protocol')
+makedepends=('perl-extutils-makemaker')
+options=('!emptydirs')
+source=(http://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