community/nfpm: upgrade to 2.39.0

add -doc subpackage for MIT license
This commit is contained in:
Fabricio Silva 2024-08-20 09:15:56 +00:00
parent 46a3384e46
commit 5e26a7dc4e
No known key found for this signature in database
GPG Key ID: 3B87DB678484A9B0

View File

@ -1,13 +1,15 @@
# Contributor: Kevin Daudt <kdaudt@alpinelinux.org>
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
pkgname=nfpm
pkgver=2.38.0
pkgver=2.39.0
pkgrel=0
pkgdesc="a simple apk, Deb and RPM packager without external dependencies"
url="https://nfpm.goreleaser.com/"
arch="all !riscv64"
license="MIT"
options="net" # net for go
makedepends="go"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/goreleaser/nfpm/archive/v$pkgver.tar.gz"
# secfixes:
@ -28,9 +30,10 @@ check() {
}
package() {
install -Dm0755 nfpm "$pkgdir/usr/bin/nfpm"
install -Dm0755 nfpm "$pkgdir"/usr/bin/nfpm
install -Dm0644 LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
sha512sums="
4791259f8dadd2ac42741b74e79cfeb342f0c76c0051c63097d73f4da2fc8d2dfa9b1981330fefe3615911906d5ffc6c9d5a2c46d2ac9cb7d025f2a4d55af3e1 nfpm-2.38.0.tar.gz
bac36520ee44ace628b6a04f11d1cb3b2033042cfdb1aa888b02a7dab0a3ea34c4889dcb5795d6971e9268dc62b7e40852ff7e40472e787b695737e6b06bd284 nfpm-2.39.0.tar.gz
"