[arch-commits] Commit in perl-mediawiki-api/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Thu Jun 1 17:36:51 UTC 2017
Date: Thursday, June 1, 2017 @ 17:36:51
Author: foutrelis
Revision: 232405
archrelease: copy trunk to community-staging-any
Added:
perl-mediawiki-api/repos/community-staging-any/
perl-mediawiki-api/repos/community-staging-any/PKGBUILD
(from rev 232404, perl-mediawiki-api/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: perl-mediawiki-api/repos/community-staging-any/PKGBUILD (from rev 232404, perl-mediawiki-api/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2017-06-01 17:36:51 UTC (rev 232405)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: ryooichi <ryooichi+arch AT gmail DOT com>
+# Contributor: Uwe <keksvernichter AT gmail DOT com>
+
+pkgname=perl-mediawiki-api
+pkgver=0.41
+pkgrel=2
+pkgdesc="Perl interface to the MediaWiki API"
+url="http://search.cpan.org/dist/MediaWiki-API/"
+depends=('perl-json-xs' 'perl-json')
+license=('GPL3')
+options=('!emptydirs')
+arch=('any')
+source=(http://search.cpan.org/CPAN/authors/id/E/EX/EXOBUZZ/MediaWiki-API-$pkgver.tar.gz)
+md5sums=('1b1630f42450ad1d8c986b4fec99e360')
+
+build() {
+ cd "$srcdir"/MediaWiki-API-$pkgver
+ eval `perl -V:archname`
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+package() {
+ cd "$srcdir"/MediaWiki-API-$pkgver
+ make DESTDIR="$pkgdir" install
+ find "$pkgdir" -name '.packlist' -delete
+ find "$pkgdir" -name '*.pod' -delete
+}
More information about the arch-commits
mailing list