[arch-commits] Commit in perl-x11-protocol-other/repos (2 files)
Jaroslav Lichtblau
jlichtblau at archlinux.org
Sun Dec 18 11:30:57 UTC 2016
Date: Sunday, December 18, 2016 @ 11:30:56
Author: jlichtblau
Revision: 200109
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 200108, 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 200108, perl-x11-protocol-other/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2016-12-18 11:30:56 UTC (rev 200109)
@@ -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=29
+pkgrel=1
+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=('04e96a3f068eca498b7e91fe0abe24173b4152c91b556e21d84d4a802cffbd5f')
+
+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