blob: 06d5f66a0150c65d46817b682e75b334bb23b989 (
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
|
# Maintainer: Charles Leclerc <charles@la-mouette.net>
_collection_namespace=community
_collection_name=general
_repo_name="${_collection_namespace}.${_collection_name}"
_github_url="https://github.com/ansible-collections/${_repo_name}"
pkgname="ansible-collection-${_collection_namespace}-${_collection_name}"
pkgver=10.1.0
pkgrel=1
pkgdesc="Ansible Galaxy Community General Collection"
arch=("any")
url="https://github.com/ansible-collections/${_collection_namespace}.${_collection_name}"
license=("GPL3")
depends=("ansible-core")
source=("${_github_url}/archive/${pkgver}/${_repo_name}-${pkgver}.tar.gz")
sha256sums=('3af125ec0327357eceec12afa34c2984f4233d4c26154591216c3fbaa9ae3c28')
build() {
cd "${_repo_name}-${pkgver}"
ansible-galaxy collection build
}
package() {
cd "${_repo_name}-${pkgver}"
ansible-galaxy collection install -n -p \
"${pkgdir}/usr/share/ansible/collections" \
"${_collection_namespace}-${_collection_name}-${pkgver}.tar.gz"
}
|