• R/O
  • HTTP
  • SSH
  • HTTPS

alterlinux-keyring: 提交

GitHubのミラーです
https://github.com/FascodeNet/alterlinux-keyring


Commit MetaInfo

修订版316212fff50e7fbbdc9ecad6e4866b8728225603 (tree)
时间2020-03-07 21:28:12
作者hayao <shun819.mail@gmai...>
Commiterhayao

Log Message

[add] : Added files.

更改概述

差异

--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,17 @@
1+# Maintainer : Yamada Hayao <development@fascode.net>
2+# Maintainer : lap1sid <development@fascode.net>
3+
4+pkgname=alterlinux-keyring
5+pkgver=20200307
6+pkgrel=1
7+pkgdesc='AlterLinux PGP keyring'
8+arch=('any')
9+url='https:/fascode.net'
10+license=('GPL')
11+install="${pkgname}.install"
12+source=("git:https://github.com/SereneTeam/alterlinux-keyring.git")
13+sha256sums=('SKIP')
14+package() {
15+ cd "${srcdir}"
16+ make PREFIX=/usr DESTDIR=${pkgdir} install
17+}
\ No newline at end of file
--- /dev/null
+++ b/alterlinux-keyring.install
@@ -0,0 +1,14 @@
1+post_upgrade() {
2+ if usr/bin/pacman-key -l >/dev/null 2>&1; then
3+ usr/bin/pacman-key --populate alterlinux
4+ else
5+ echo " >>> Run \`pacman-key --init\` to set up your pacman keyring."
6+ echo " >>> Then run \`pacman-key --populate alterlinux\` to install the alterlinux keyring."
7+ fi
8+}
9+
10+post_install() {
11+ if [ -x usr/bin/pacman-key ]; then
12+ post_upgrade
13+ fi
14+}
Show on old repository browser