Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packagelist
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ abdownloadmanager
adapta-gtk-theme-git
adw-gtk-theme
adw-gtk3
age-plugin-yubikey
alacritty
amf-headers
amfora-bin
Expand Down
20 changes: 20 additions & 0 deletions packages/age-plugin-yubikey/.SRCINFO
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
pkgbase = age-plugin-yubikey
pkgver = 0.5.1
pkgrel = 1
pkgdesc = YubiKey plugin for age clients
url = https://github.com/str4d/age-plugin-yubikey
arch = amd64
arch = arm64
depends = pcscd
depends = libpcsclite1
makedepends = cargo
makedepends = libpcsclite-dev
makedepends = pkg-config
license = Apache-2.0
license = MIT
maintainer = Abhinandan <dev@nmabhinandan.xyz>
repology = project: age-plugin-yubikey
source = age-plugin-yubikey-0.5.1.tar.gz::https://github.com/str4d/age-plugin-yubikey/archive/refs/tags/v0.5.1.tar.gz
sha256sums = SKIP

pkgname = age-plugin-yubikey
45 changes: 45 additions & 0 deletions packages/age-plugin-yubikey/age-plugin-yubikey.pacscript
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
pkgname="age-plugin-yubikey"
pkgver="0.5.1"
pkgrel="1"
pkgdesc="YubiKey plugin for age clients"
arch=("amd64" "arm64")
url="https://github.com/str4d/age-plugin-yubikey"
license=("Apache-2.0" "MIT")
maintainer=("Abhinandan <dev@nmabhinandan.xyz>")
repology=("project: age-plugin-yubikey")
external_connection=true

depends=(
"pcscd"
"libpcsclite1"
)

makedepends=(
"cargo"
"libpcsclite-dev"
"pkg-config"
)

source=("${pkgname}-${pkgver}.tar.gz::https://github.com/str4d/age-plugin-yubikey/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=("SKIP")

build() {
cd "${pkgname}-${pkgver}"
cargo build -j"${NCPU}" --release --locked
}

package() {
cd "${pkgname}-${pkgver}"

install -Dm755 "target/release/age-plugin-yubikey" \
"${pkgdir}/usr/bin/age-plugin-yubikey"

install -Dm644 "LICENSE-APACHE" \
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-APACHE"

install -Dm644 "LICENSE-MIT" \
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-MIT"

install -Dm644 "README.md" \
"${pkgdir}/usr/share/doc/${pkgname}/README.md"
}
21 changes: 21 additions & 0 deletions srclist
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,27 @@ pkgbase = adw-gtk3

pkgname = adw-gtk3
---
pkgbase = age-plugin-yubikey
pkgver = 0.5.1
pkgrel = 1
pkgdesc = YubiKey plugin for age clients
url = https://github.com/str4d/age-plugin-yubikey
arch = amd64
arch = arm64
depends = pcscd
depends = libpcsclite1
makedepends = cargo
makedepends = libpcsclite-dev
makedepends = pkg-config
license = Apache-2.0
license = MIT
maintainer = Abhinandan <dev@nmabhinandan.xyz>
repology = project: age-plugin-yubikey
source = age-plugin-yubikey-0.5.1.tar.gz::https://github.com/str4d/age-plugin-yubikey/archive/refs/tags/v0.5.1.tar.gz
sha256sums = SKIP

pkgname = age-plugin-yubikey
---
pkgbase = alacritty
pkgver = 0.17.0
pkgdesc = A fast, cross-platform, OpenGL terminal emulator
Expand Down