Published: 1.3.0

This commit is contained in:
Rafael Baboni Dominiquini 2025-11-14 23:42:56 -03:00
commit fbb13616fc
4 changed files with 69 additions and 0 deletions

22
.SRCINFO Normal file
View file

@ -0,0 +1,22 @@
pkgbase = fnox-bin
pkgdesc = Fort Knox for your secrets
pkgver = 1.3.0
pkgrel = 1
url = https://github.com/jdx/fnox
arch = x86_64
arch = aarch64
license = MIT
depends = glibc
depends = gcc-libs
provides = fnox
conflicts = fnox
source = LICENSE-1.3.0::https://raw.githubusercontent.com/jdx/fnox/v1.3.0/LICENSE
source = README-1.3.0.md::https://raw.githubusercontent.com/jdx/fnox/v1.3.0/README.md
sha256sums = a978dbd843845fb958044bc384c1826bd9cb5e64ea540c392fa410a288de9df4
sha256sums = 0d5ef5ff4819a64042a6ac97db0be7d351d8932675c2aa56345b53efaa804565
source_x86_64 = fnox-x86_64-1.3.0.tar.gz::https://github.com/jdx/fnox/releases/download/v1.3.0/fnox-x86_64-unknown-linux-gnu.tar.gz
sha256sums_x86_64 = 06edf4a7bdd1a6d7606b68cd761ec4006614b2c3eef4c1fa4d104d52e84cfd78
source_aarch64 = fnox-aarch64-1.3.0.tar.gz::https://github.com/jdx/fnox/releases/download/v1.3.0/fnox-aarch64-unknown-linux-gnu.tar.gz
sha256sums_aarch64 = b5cea1e1618f0e5259a7457e24ab93ad16891f952e5bc4798b3459192c43e01b
pkgname = fnox-bin

5
.gitignore vendored Normal file
View file

@ -0,0 +1,5 @@
*
!.gitignore
!.nvchecker.toml
!PKGBUILD
!.SRCINFO

4
.nvchecker.toml Normal file
View file

@ -0,0 +1,4 @@
[fnox-bin]
source = "git"
git = "https://github.com/jdx/fnox.git"
prefix = "v"

38
PKGBUILD Normal file
View file

@ -0,0 +1,38 @@
# Maintainer: Rafael Dominiquini <rafaeldominiquini at gmail dot com>
_pkgauthor=jdx
_pkgname=fnox
pkgname=${_pkgname}-bin
pkgver=1.3.0
_pkgvername=v${pkgver}
pkgrel=1
pkgdesc="Fort Knox for your secrets"
arch=('x86_64' 'aarch64')
_barch=('x86_64' 'aarch64')
url="https://github.com/${_pkgauthor}/${_pkgname}"
_urlraw="https://raw.githubusercontent.com/${_pkgauthor}/${_pkgname}/${_pkgvername}"
license=('MIT')
provides=("${_pkgname}")
conflicts=("${_pkgname}")
depends=('glibc' 'gcc-libs')
source=("LICENSE-${pkgver}::${_urlraw}/LICENSE"
"README-${pkgver}.md::${_urlraw}/README.md")
source_x86_64=("${_pkgname}-${arch[0]}-${pkgver}.tar.gz::${url}/releases/download/${_pkgvername}/${_pkgname}-${_barch[0]}-unknown-linux-gnu.tar.gz")
source_aarch64=("${_pkgname}-${arch[1]}-${pkgver}.tar.gz::${url}/releases/download/${_pkgvername}/${_pkgname}-${_barch[1]}-unknown-linux-gnu.tar.gz")
sha256sums=('a978dbd843845fb958044bc384c1826bd9cb5e64ea540c392fa410a288de9df4'
'0d5ef5ff4819a64042a6ac97db0be7d351d8932675c2aa56345b53efaa804565')
sha256sums_x86_64=('06edf4a7bdd1a6d7606b68cd761ec4006614b2c3eef4c1fa4d104d52e84cfd78')
sha256sums_aarch64=('b5cea1e1618f0e5259a7457e24ab93ad16891f952e5bc4798b3459192c43e01b')
package() {
cd "${srcdir}/" || exit
install -Dm755 "${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
install -Dm644 "README-${pkgver}.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
install -Dm644 "LICENSE-${pkgver}" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}