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

Evangelos Foutras foutrelis at archlinux.org
Sat Aug 26 13:31:59 UTC 2017


    Date: Saturday, August 26, 2017 @ 13:31:58
  Author: foutrelis
Revision: 254001

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 254000, perl-x11-protocol-other/trunk/PKGBUILD)

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

Copied: perl-x11-protocol-other/repos/community-staging-any/PKGBUILD (from rev 254000, perl-x11-protocol-other/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2017-08-26 13:31:58 UTC (rev 254001)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Contributor: 3ED <krzysztof1987 at gmail dot com>
+
+pkgname=perl-x11-protocol-other
+pkgver=30
+pkgrel=3
+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