Package Details: ai-robots-txt 1.46-2

Git Clone URL: https://aur.archlinux.org/ai-robots-txt.git (read-only, click to copy)
Package Base: ai-robots-txt
Description: List of AI crawler user agents.
Upstream URL: https://github.com/ai-robots-txt/ai.robots.txt
Licenses: MIT
Submitter: clarfonthey
Maintainer: clarfonthey
Last Packager: clarfonthey
Votes: 0
Popularity: 0.000000
First Submitted: 2026-02-17 16:55 (UTC)
Last Updated: 2026-06-13 06:01 (UTC)

Latest Comments

tazz4843 commented on 2026-06-13 04:28 (UTC)

Looks like upstream modified the package format and this now fails to build. I believe the source would just need to be changed to "${srcdir}/ai.robots.txt-${pkgver}". This patch builds for me:

diff --git a/PKGBUILD b/PKGBUILD
index e79d8cb..4b84c88 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,11 +14,12 @@ source=("https://github.com/ai-robots-txt/ai.robots.txt/archive/refs/tags/v$pkgv
 sha256sums=('f4024344146fc00ef641fdab28ba6a91c6bb765586725e521c375f0336989253')

 package() {
-  install -m644 -D "$srcdir"/ai.robots.txt/robots.txt -T "$pkgdir"/usr/share/ai-robots-txt/robots.txt
-  install -m644 -D "$srcdir"/ai.robots.txt/robots.json -T "$pkgdir"/usr/share/ai-robots-txt/robots.json
-  install -m644 -D "$srcdir"/ai.robots.txt/nginx-block-ai-bots.conf -T "$pkgdir"/usr/share/ai-robots-txt/nginx-block-ai-bots.conf
-  install -m644 -D "$srcdir"/ai.robots.txt/haproxy-block-ai-bots.txt -T "$pkgdir"/usr/share/ai-robots-txt/haproxy-block-ai-bots.txt
-  install -m644 -D "$srcdir"/ai.robots.txt/.htaccess -T "$pkgdir"/usr/share/ai-robots-txt/htaccess
-  install -m644 -D "$srcdir"/ai.robots.txt/Caddyfile -T "$pkgdir"/usr/share/ai-robots-txt/Caddyfile
-  install -m644 -D "$srcdir"/ai.robots.txt/LICENSE -T "$pkgdir"/usr/share/licenses/ai.robots.txt/LICENSE
+  cd "${srcdir}/ai.robots.txt-${pkgver}"
+  install -m644 -D robots.txt                  -T "$pkgdir"/usr/share/ai-robots-txt/robots.txt
+  install -m644 -D robots.json                 -T "$pkgdir"/usr/share/ai-robots-txt/robots.json
+  install -m644 -D nginx-block-ai-bots.conf    -T "$pkgdir"/usr/share/ai-robots-txt/nginx-block-ai-bots.conf
+  install -m644 -D haproxy-block-ai-bots.txt   -T "$pkgdir"/usr/share/ai-robots-txt/haproxy-block-ai-bots.txt
+  install -m644 -D .htaccess                   -T "$pkgdir"/usr/share/ai-robots-txt/htaccess
+  install -m644 -D Caddyfile                   -T "$pkgdir"/usr/share/ai-robots-txt/Caddyfile
+  install -m644 -D LICENSE                     -T "$pkgdir"/usr/share/licenses/ai.robots.txt/LICENSE
 }