[arch-commits] Commit in perl-mediawiki-api/repos (2 files)

Sergej Pupykin spupykin at nymeria.archlinux.org
Wed Jan 15 09:49:21 UTC 2014


    Date: Wednesday, January 15, 2014 @ 10:49:21
  Author: spupykin
Revision: 104072

archrelease: copy trunk to community-any

Added:
  perl-mediawiki-api/repos/community-any/
  perl-mediawiki-api/repos/community-any/PKGBUILD
    (from rev 104071, perl-mediawiki-api/trunk/PKGBUILD)

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

Copied: perl-mediawiki-api/repos/community-any/PKGBUILD (from rev 104071, perl-mediawiki-api/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2014-01-15 09:49:21 UTC (rev 104072)
@@ -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.39
+pkgrel=1
+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=('266b8f336241fd608b7094c830a30a55')
+
+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