Package Details: ansible-collection-kewlfft-aur 0.11.1-1

Git Clone URL: https://aur.archlinux.org/ansible-collection-kewlfft-aur.git (read-only, click to copy)
Package Base: ansible-collection-kewlfft-aur
Description: Ansible collection that contains an Ansible module to manage packages from the AUR
Upstream URL: https://galaxy.ansible.com/kewlfft/aur
Keywords: ansible ansible-aur ansible-collection aur kewlfft.aur
Licenses: GPL3
Submitter: gotmax23
Maintainer: mortzu
Last Packager: mortzu
Votes: 2
Popularity: 0.000198
First Submitted: 2021-09-03 20:53 (UTC)
Last Updated: 2023-07-10 14:27 (UTC)

Latest Comments

gotmax23 commented on 2022-01-16 20:30 (UTC)

@gardar,

The project's README links here, but I added the keyword as you requested. The plan was to deprecate the other AUR packages, but we never got around to it.

gardar commented on 2022-01-16 10:42 (UTC)

This package doesn't come up when searching for ansible-aur, both on the site and with yay... Stumbled across a PR on github which led me here.

Perhaps mentioning ansible-aur in the description and/or keywords would help people finding this package.

dplusplus commented on 2021-11-29 02:26 (UTC)

@gotmax23 So it was a bug at Github after all. Yes, it is better to use the tarball for the checksum verification.

gotmax23 commented on 2021-11-29 01:13 (UTC) (edited on 2021-11-29 01:14 (UTC) by gotmax23)

@dplusplus,

Github has fixed the issue1. I prefer to use the Github source tarball and check the checksum.

Thanks,

Maxwell

dplusplus commented on 2021-11-27 07:19 (UTC) (edited on 2021-11-27 07:20 (UTC) by dplusplus)

The archive source file link is broken, probably due to changes at Github.

Luckily, the PKGBUILD file can be easily re-factored to pull directly from the source code, such as with this unified patch:

--- PKGBUILD
+++ PKGBUILD
@@ -13,16 +13,16 @@
 url="https://galaxy.ansible.com/${_collection_namespace}/${_collection_name}"
 license=("GPL3")
 depends=("ansible-core")
-source=("${_github_url}/archive/v${pkgver}/${_repo_name}-${pkgver}.tar.gz")
-sha256sums=('cc998ea38814ae1a50fdf57ae325a8359ac4cff223768d56e41038b5fc45ff9c')
+source=("git+${_github_url}#tag=v${pkgver}")
+sha256sums=('SKIP')

 build() {
-    cd "${_repo_name}-${pkgver}"
+    cd "${_repo_name}"
     ansible-galaxy collection build
 }

 package() {
-    cd "${_repo_name}-${pkgver}"
+    cd "${_repo_name}"
     ansible-galaxy collection install -n -p \
         "${pkgdir}/usr/share/ansible/collections" \
         "${_collection_namespace}-${_collection_name}-${pkgver}.tar.gz"