moved perl-zabbix2-api to AUR4 and submodule
This commit is contained in:
parent
ec7b9684c8
commit
06ac4bc39a
3 changed files with 5 additions and 39 deletions
4
.gitmodules
vendored
Normal file
4
.gitmodules
vendored
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
[submodule "pkgbuild/perl-zabbix2-api"]
|
||||||
|
path = pkgbuild/perl-zabbix2-api
|
||||||
|
url = https://aur@aur4.archlinux.org/perl-zabbix2-api.git
|
||||||
|
pushurl = ssh+git://aur@aur4.archlinux.org/perl-zabbix2-api.git
|
1
pkgbuild/perl-zabbix2-api
Submodule
1
pkgbuild/perl-zabbix2-api
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit ded67be8d55c350618546f3d13f584d04f0a1a5e
|
|
@ -1,39 +0,0 @@
|
||||||
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
|
|
||||||
_author=FGA
|
|
||||||
_perlmod=Zabbix2-API
|
|
||||||
pkgname=perl-zabbix2-api
|
|
||||||
pkgver=0.013
|
|
||||||
pkgrel=1
|
|
||||||
pkgdesc="Access the JSON-RPC API of a Zabbix server"
|
|
||||||
arch=('any')
|
|
||||||
url="https://metacpan.org/release/$_perlmod"
|
|
||||||
license=('GPL' 'PerlArtistic')
|
|
||||||
depends=(
|
|
||||||
'perl>=5.10.0'
|
|
||||||
'perl-json'
|
|
||||||
'perl-log-any'
|
|
||||||
'perl-libwww'
|
|
||||||
'perl-moo>=1.001000'
|
|
||||||
'perl-params-validate'
|
|
||||||
'perl-uri'
|
|
||||||
)
|
|
||||||
options=(!emptydirs)
|
|
||||||
source=(http://cpan.metacpan.org/authors/id/${_author:0:1}/${_author:0:2}/$_author/$_perlmod-$pkgver.tar.gz)
|
|
||||||
md5sums=('92a983f611847af6487e2fea161c6606')
|
|
||||||
|
|
||||||
build() {
|
|
||||||
cd "$srcdir/$_perlmod-$pkgver"
|
|
||||||
|
|
||||||
# Install module in vendor directories.
|
|
||||||
perl Build.PL installdirs=vendor destdir="$pkgdir/"
|
|
||||||
perl Build
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
package() {
|
|
||||||
cd "$srcdir/$_perlmod-$pkgver"
|
|
||||||
perl Build install
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
# vim:set ts=2 sw=2 et:
|
|
Loading…
Reference in a new issue