dev-db/limbo; dev-db/turso: prepare pkgmove

Signed-off-by: Jonas Frei <freijon@pm.me>
This commit is contained in:
Jonas Frei
2025-07-02 20:39:16 +02:00
parent 697d33cc53
commit b3e4f5a071

View File

@@ -7,15 +7,18 @@ CRATES=""
inherit cargo linux-info
OLD_PN="limbo"
OLD_P="${OLD_PN}-${PV}"
DESCRIPTION="The Limbo interactive SQL shell"
HOMEPAGE="https://github.com/tursodatabase/limbo"
SRC_URI="
https://github.com/tursodatabase/${PN}/releases/download/v${PV}/source.tar.gz -> ${P}.tar.gz
https://github.com/tursodatabase/${PN}/releases/download/v${PV}/source.tar.gz -> ${OLD_P}.tar.gz
"
DEPS_URI="https://github.com/freijon/${PN}/releases/download/v${PV}/${P}-crates.tar.xz"
DEPS_URI="https://github.com/freijon/${PN}/releases/download/v${PV}/${OLD_P}-crates.tar.xz"
SRC_URI+=" ${DEPS_URI}"
S="${WORKDIR}/${PN}_cli-${PV}"
S="${WORKDIR}/${OLD_PN}_cli-${PV}"
LICENSE="MIT"
# Dependent crate licenses
@@ -54,7 +57,7 @@ src_configure() {
}
src_compile() {
cargo_src_compile --package "${PN}_cli" --bin "${PN}"
cargo_src_compile --package "${OLD_PN}_cli" --bin "${OLD_PN}"
}
src_install() {