mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 05:47:13 +02:00
testing/plakar: new aport
This commit is contained in:
parent
f77f78b886
commit
f632b100b2
34
testing/plakar/APKBUILD
Normal file
34
testing/plakar/APKBUILD
Normal file
@ -0,0 +1,34 @@
|
||||
# Contributor: Guy Godfroy <guy.godfroy@gugod.fr>
|
||||
# Maintainer: Guy Godfroy <guy.godfroy@gugod.fr>
|
||||
pkgname=plakar
|
||||
pkgver=1.0.2
|
||||
pkgrel=0
|
||||
pkgdesc="backup solution powered by Kloset and ptar"
|
||||
url="https://plakar.io/"
|
||||
# aarch64 and riskv64: build fails (undefined syscall.Dup2)
|
||||
# loongarch64: build fails (undefined _C_uint abd _C_int)
|
||||
arch="all !aarch64 !riscv64 !loongarch64"
|
||||
license="ISC"
|
||||
makedepends="go"
|
||||
subpackages="$pkgname-doc"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/PlakarKorp/plakar/archive/refs/tags/v$pkgver.tar.gz"
|
||||
options="net" #go deps
|
||||
|
||||
build() {
|
||||
go build -v .
|
||||
}
|
||||
|
||||
check() {
|
||||
# TestExecuteCmdMountDefault needs fuse kernel module
|
||||
go test -skip TestExecuteCmdMountDefault ./...
|
||||
}
|
||||
|
||||
package() {
|
||||
install -m755 -D plakar "$pkgdir"/usr/bin/plakar
|
||||
find cmd/plakar -iname "*.1" -exec install -m644 -D {} -t "$pkgdir"/usr/share/man/man1/ \;
|
||||
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
8c7f7f044fa9d10c03dd8905f5311ee5c2a9e5378fac376c86b704ebe1b4bd864918f8236418ef16ab6eb331dede682931873f6645b096eda804e9de3ff21c7f plakar-1.0.2.tar.gz
|
||||
"
|
Loading…
Reference in New Issue
Block a user