gentoo-overlay/dev-libs/libsignal-ffi-bin/libsignal-ffi-bin-0.42.0.ebuild
Manuel Friedli 9eb79d94db
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
Fix pkgcheck style issues.
Signed-off-by: Manuel Friedli <manuel@fritteli.ch>
2024-06-12 00:56:18 +02:00

38 lines
682 B
Bash

# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="libsignal-ffi prebuilt binary package"
HOMEPAGE="https://github.com/signalapp/libsignal"
SRC_URI="https://gentoo-overlay.friedli.info/libsignal_ffi-${PV}.a -> ${P}.a"
S="${WORKDIR}"
LICENSE="AGPL-3"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="${DEPEND}"
RESTRICT="mirror"
MY_TARGET_NAME="libsignal_ffi-${PV}.a"
src_unpack() {
cp "${DISTDIR}/${P}.a" "${S}/"
}
src_prepare() {
mv "${P}.a" "${MY_TARGET_NAME}"
eapply_user
}
src_compile() {
:
}
src_install() {
dolib.a "${MY_TARGET_NAME}"
dosym -r /usr/lib64/"${MY_TARGET_NAME}" /usr/lib64/libsignal_ffi.a
}