aports/testing/spiped/APKBUILD
Celeste b3d635d5e1 testing/spiped: improve
- run build()

  - workaround tests failing on the builders due to
    character limit for unix domain sockets (see
    https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/68497#note_417531)
2024-07-02 02:28:53 +00:00

38 lines
861 B
Plaintext

# Contributor: Elly <elly@elly.town>
# Maintainer: Elly <elly@elly.town>
pkgname=spiped
pkgver=1.6.2
pkgrel=0
pkgdesc="Encrypted network pipe utility"
url="https://www.tarsnap.com/spiped.html"
arch="all"
license="BSD-2-Clause"
makedepends="openssl-dev"
source="https://www.tarsnap.com/spiped/spiped-$pkgver.tgz"
build() {
make
}
check() {
# choose a shorter path to workaround the
# 107 char limit for unix domain sockets.
local testdir="$tmpdir/t"
# clear testdir to allow re-running of check().
rm -rf "$testdir"
mkdir -p "$testdir"
# symlinking prevents rebuild of spiped.
ln -s "$builddir"/* "$testdir"/
make -C "$testdir" test
}
package() {
make BINDIR="$pkgdir/bin" install
}
sha512sums="
d16262a3e8be876ca1ef1aac8bb38fae91f523a9af0d488eb0dfa23e0b9db795d2a021e55f31095d92f5b94e4516e30ea23f537c3b14a2f1b9871297e26cda76 spiped-1.6.2.tgz
"