Updated: 0.16.1

This commit is contained in:
Rafael Baboni Dominiquini 2026-03-02 20:44:20 -03:00
parent e353fce8e1
commit fd3f232ed8
4 changed files with 59 additions and 15 deletions

View file

@ -1,13 +1,22 @@
pkgbase = cljfmt-bin
pkgdesc = A formatter for Clojure code
pkgver = 0.16.0
pkgver = 0.16.1
pkgrel = 1
url = https://github.com/weavejester/cljfmt
arch = x86_64
arch = aarch64
license = EPL-1.0
depends = glibc
depends = zlib
provides = cljfmt
conflicts = cljfmt
source = https://github.com/weavejester/cljfmt/releases/download/0.16.0/cljfmt-0.16.0-linux-amd64-static.tar.gz
sha256sums = 2e71751011505dda6d2735464f50bf64f11f47a01f353309666fd7a3d8fd15fd
source = README-0.16.1.md::https://raw.githubusercontent.com/weavejester/cljfmt/0.16.1/README.md
source = LICENSE-0.16.1::https://raw.githubusercontent.com/weavejester/cljfmt/0.16.1/LICENSE.txt
sha256sums = 13c5d3505e7ecd58feb0e185e67767e671a96a37711ddd508c7baf067cdedd38
sha256sums = ba4c1321665d624f1739b1e739b8688064a13526662c054602a787d5ab0a8d5a
source_x86_64 = cljfmt-x86_64-0.16.1.tgz::https://github.com/weavejester/cljfmt/releases/download/0.16.1/cljfmt-0.16.1-linux-amd64.tar.gz
sha256sums_x86_64 = 81ab93a98eaa360ddceaf05c42571620da26171c9be643b14f9130273af1e196
source_aarch64 = cljfmt-aarch64-0.16.1.tgz::https://github.com/weavejester/cljfmt/releases/download/0.16.1/cljfmt-0.16.1-linux-aarch64.tar.gz
sha256sums_aarch64 = 51b4b56a03e8d0a9c8bb2c5edad39f3a9b7a290233a8d264244cfb90ed6e4699
pkgname = cljfmt-bin

5
.gitignore vendored Normal file
View file

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

4
.nvchecker.toml Normal file
View file

@ -0,0 +1,4 @@
[cljfmt-bin]
source = "github"
github = "weavejester/cljfmt"
use_latest_release = true

View file

@ -1,17 +1,43 @@
# Maintainer: Colin Woodbury <colin@fosskers.ca>
# Maintainer: Rafael Dominiquini <rafaeldominiquini at gmail dot com>
# Contributor: Colin Woodbury <colin@fosskers.ca>
pkgname=cljfmt-bin
pkgver=0.16.0
pkgrel=1
_pkgauthor=weavejester
_pkgname=cljfmt
pkgname=${_pkgname}-bin
pkgdesc="A formatter for Clojure code"
arch=('x86_64')
url="https://github.com/weavejester/cljfmt"
license=("EPL-1.0")
provides=("cljfmt")
conflicts=("cljfmt")
source=("https://github.com/weavejester/cljfmt/releases/download/${pkgver}/cljfmt-${pkgver}-linux-amd64-static.tar.gz")
sha256sums=('2e71751011505dda6d2735464f50bf64f11f47a01f353309666fd7a3d8fd15fd')
pkgver=0.16.1
pkgrel=1
_pkgvername=${pkgver}
arch=('x86_64' 'aarch64')
_barch=('linux-amd64' 'linux-aarch64')
url="https://github.com/${_pkgauthor}/${_pkgname}"
_urlraw="https://raw.githubusercontent.com/${_pkgauthor}/${_pkgname}/${_pkgvername}"
license=('EPL-1.0')
depends=('glibc' 'zlib')
provides=("${_pkgname}")
conflicts=("${_pkgname}")
source=("README-${pkgver}.md::${_urlraw}/README.md"
"LICENSE-${pkgver}::${_urlraw}/LICENSE.txt")
source_x86_64=("${_pkgname}-${arch[0]}-${pkgver}.tgz::${url}/releases/download/${_pkgvername}/${_pkgname}-${_pkgvername}-${_barch[0]}.tar.gz")
source_aarch64=("${_pkgname}-${arch[1]}-${pkgver}.tgz::${url}/releases/download/${_pkgvername}/${_pkgname}-${_pkgvername}-${_barch[1]}.tar.gz")
sha256sums=('13c5d3505e7ecd58feb0e185e67767e671a96a37711ddd508c7baf067cdedd38'
'ba4c1321665d624f1739b1e739b8688064a13526662c054602a787d5ab0a8d5a')
sha256sums_x86_64=('81ab93a98eaa360ddceaf05c42571620da26171c9be643b14f9130273af1e196')
sha256sums_aarch64=('51b4b56a03e8d0a9c8bb2c5edad39f3a9b7a290233a8d264244cfb90ed6e4699')
package() {
install -Dm0755 -t "$pkgdir/usr/bin/" "${pkgname%-bin}"
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"
}