mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 22:07:19 +02:00
community/nfpm: upgrade to 2.39.0
add -doc subpackage for MIT license
This commit is contained in:
parent
46a3384e46
commit
5e26a7dc4e
@ -1,13 +1,15 @@
|
|||||||
# Contributor: Kevin Daudt <kdaudt@alpinelinux.org>
|
# Contributor: Kevin Daudt <kdaudt@alpinelinux.org>
|
||||||
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
|
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
|
||||||
pkgname=nfpm
|
pkgname=nfpm
|
||||||
pkgver=2.38.0
|
pkgver=2.39.0
|
||||||
pkgrel=0
|
pkgrel=0
|
||||||
pkgdesc="a simple apk, Deb and RPM packager without external dependencies"
|
pkgdesc="a simple apk, Deb and RPM packager without external dependencies"
|
||||||
url="https://nfpm.goreleaser.com/"
|
url="https://nfpm.goreleaser.com/"
|
||||||
arch="all !riscv64"
|
arch="all !riscv64"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
|
options="net" # net for go
|
||||||
makedepends="go"
|
makedepends="go"
|
||||||
|
subpackages="$pkgname-doc"
|
||||||
source="$pkgname-$pkgver.tar.gz::https://github.com/goreleaser/nfpm/archive/v$pkgver.tar.gz"
|
source="$pkgname-$pkgver.tar.gz::https://github.com/goreleaser/nfpm/archive/v$pkgver.tar.gz"
|
||||||
|
|
||||||
# secfixes:
|
# secfixes:
|
||||||
@ -28,9 +30,10 @@ check() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
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="
|
sha512sums="
|
||||||
4791259f8dadd2ac42741b74e79cfeb342f0c76c0051c63097d73f4da2fc8d2dfa9b1981330fefe3615911906d5ffc6c9d5a2c46d2ac9cb7d025f2a4d55af3e1 nfpm-2.38.0.tar.gz
|
bac36520ee44ace628b6a04f11d1cb3b2033042cfdb1aa888b02a7dab0a3ea34c4889dcb5795d6971e9268dc62b7e40852ff7e40472e787b695737e6b06bd284 nfpm-2.39.0.tar.gz
|
||||||
"
|
"
|
||||||
|
Loading…
Reference in New Issue
Block a user