summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archlinux-ignore/.SRCINFO13
-rw-r--r--archlinux-ignore/PKGBUILD20
-rw-r--r--archlinux-ignore/archlinux-ignore.install13
-rw-r--r--archlinux-ignore/ignore-trusted1
-rw-r--r--archlinux-ignore/ignorelist1
5 files changed, 48 insertions, 0 deletions
diff --git a/archlinux-ignore/.SRCINFO b/archlinux-ignore/.SRCINFO
new file mode 100644
index 0000000..1393ea6
--- /dev/null
+++ b/archlinux-ignore/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = archlinux-ignore
+ pkgdesc = ignore.pl Arch Linux pacman configuration and keys
+ pkgver = 20230611
+ pkgrel = 1
+ install = archlinux-ignore.install
+ arch = any
+ license = None
+ source = ignore-trusted
+ source = ignorelist
+ sha256sums = SKIP
+ sha256sums = SKIP
+
+pkgname = archlinux-ignore
diff --git a/archlinux-ignore/PKGBUILD b/archlinux-ignore/PKGBUILD
new file mode 100644
index 0000000..30ba01e
--- /dev/null
+++ b/archlinux-ignore/PKGBUILD
@@ -0,0 +1,20 @@
+# Maintainer: Aki <please at ignore pl>
+pkgname=archlinux-ignore
+pkgver=20230611
+pkgrel=1
+license=(None)
+pkgdesc='ignore.pl Arch Linux pacman configuration and keys'
+arch=(any)
+install=$pkgname.install
+source=(
+ 'ignore-trusted'
+ 'ignorelist')
+sha256sums=(
+ 'SKIP'
+ 'SKIP')
+
+
+package() {
+ install -Dm644 -t "$pkgdir/etc/pacman.d" ignorelist
+ install -Dm644 -t "$pkgdir/share/pacman/keyrings" ignore-trusted
+}
diff --git a/archlinux-ignore/archlinux-ignore.install b/archlinux-ignore/archlinux-ignore.install
new file mode 100644
index 0000000..012201e
--- /dev/null
+++ b/archlinux-ignore/archlinux-ignore.install
@@ -0,0 +1,13 @@
+post_upgrade() {
+ if usr/bin/pacman-key -l >/dev/null 2>&1; then
+ usr/bin/pacman-key --populate ignore
+ usr/bin/pacman-key --updatedb
+ fi
+}
+
+
+post_install() {
+ if [ -x usr/bin/pacman-key ]; then
+ post_upgrade
+ fi
+}
diff --git a/archlinux-ignore/ignore-trusted b/archlinux-ignore/ignore-trusted
new file mode 100644
index 0000000..aa37e58
--- /dev/null
+++ b/archlinux-ignore/ignore-trusted
@@ -0,0 +1 @@
+E4CA8487EDD0C757273330BD689F26A2F234129A:6:
diff --git a/archlinux-ignore/ignorelist b/archlinux-ignore/ignorelist
new file mode 100644
index 0000000..82f7b57
--- /dev/null
+++ b/archlinux-ignore/ignorelist
@@ -0,0 +1 @@
+Server = https://ftp.ignore.pl/$arch