blob: 7aa1fb64b201ac10a58638751fe7f508c1e3e4af (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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/"
}
|