summaryrefslogtreecommitdiff
path: root/pcr/perl-mediawiki-api
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-12-17 20:52:59 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-12-17 20:52:59 -0500
commit2ae18ab33a078f690593def4751997ca432153d7 (patch)
treea6a97a6dd6f0d8ff33608a2b30d31543f09b06da /pcr/perl-mediawiki-api
parentf01b81c5ee10b5fc0bf22db32507b62bddabb86d (diff)
downloadabslibre-2ae18ab33a078f690593def4751997ca432153d7.tar.gz
abslibre-2ae18ab33a078f690593def4751997ca432153d7.tar.bz2
abslibre-2ae18ab33a078f690593def4751997ca432153d7.zip
add pcr/git-remote-mediawiki and dependencies
Diffstat (limited to 'pcr/perl-mediawiki-api')
-rw-r--r--pcr/perl-mediawiki-api/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/pcr/perl-mediawiki-api/PKGBUILD b/pcr/perl-mediawiki-api/PKGBUILD
new file mode 100644
index 000000000..7aa1fb64b
--- /dev/null
+++ b/pcr/perl-mediawiki-api/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
+# Contributor (AUR): ryooichi <ryooichi+arch AT gmail DOT com>
+# Contributor (AUR): Uwe <keksvernichter AT gmail DOT com>
+
+_author=EXOBUZZ
+_perlmod=MediaWiki-API
+pkgname=perl-mediawiki-api
+pkgver=0.39
+pkgdesc="Perl interface to the MediaWiki API"
+license=('GPL3') # GPLv3+
+url="http://search.cpan.org/perldoc?MediaWiki::API"
+
+pkgrel=1
+
+depends=('perl-json-xs' 'perl-json')
+arch=('any')
+options=('!emptydirs')
+source=(http://search.cpan.org/CPAN/authors/id/${_author:0:1}/${_author:0:2}/${_author}/${_perlmod}-${pkgver}.tar.gz)
+md5sums=('266b8f336241fd608b7094c830a30a55')
+
+build() {
+ cd "$srcdir/$_perlmod-$pkgver"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+package() {
+ cd "$srcdir/$_perlmod-$pkgver"
+ make install DESTDIR="$pkgdir/"
+}