void-packages/srcpkgs/EternalTerminal/template
Đoàn Trần Công Danh 9978e00086 srcpkgs: remove patch_args=-Np1 en-mass
git grep -l '^patch_args=.*p1' 'srcpkgs/*/template'  |
	xargs -r sed -i '/^patch_args=/d'
2021-06-20 13:17:29 +07:00

33 lines
890 B
Bash

# Template file for 'EternalTerminal'
pkgname=EternalTerminal
version=6.0.13
revision=3
wrksrc="${pkgname}-et-v${version}"
build_style=cmake
hostmakedepends="protobuf"
makedepends="gflags-devel libsodium-devel protobuf-devel"
short_desc="Re-Connectable secure remote shell"
maintainer="Nathan Owens <ndowens@artixlinux.org>"
license="Apache-2.0"
homepage="https://eternalterminal.dev/"
distfiles="https://github.com/MisterTea/EternalTerminal/archive/et-v${version}.tar.gz"
checksum=728c3a444d666897c710e33fe473d8d289263a59574451b13aa53ec3c6ac88b3
system_accounts="_eternal"
LDFLAGS="-lgflags"
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" libexecinfo-devel"
fi
post_patch() {
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
# Use external libexecinfo
vsed -i CMakeLists.txt \
-e '/execinfo/!s/CORE_LIBRARIES util resolv/& execinfo/'
fi
}
post_install() {
vsv etserver
}