mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 06:32:59 -04:00
dev-libs/kobweb-bin: new package, add 0.9.21
Signed-off-by: AshyPinguin <pinguinlars1105+gentoo@gmail.com>
This commit is contained in:
1
dev-libs/kobweb-bin/Manifest
Normal file
1
dev-libs/kobweb-bin/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST kobweb-bin-0.9.21.tar 12871168 BLAKE2B 5ba44b7d707735c15acb67b86f61407b68a656399ce42ef49014f3ebaaac21caa72a5dfa1fe16444ece6ca9ad32ce388a09a1a6dc8518cbb83692c6d31aa57ff SHA512 0341dcc344d5dc1b5622845db41266101c52a97f21d1365fb8ad28942a1fe62f124781c808125ed6156ba175b32a7626a66aaff5fe9cc44d026886bcf0eea43f
|
||||
34
dev-libs/kobweb-bin/kobweb-bin-0.9.21.ebuild
Normal file
34
dev-libs/kobweb-bin/kobweb-bin-0.9.21.ebuild
Normal file
@@ -0,0 +1,34 @@
|
||||
# Copyright 2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="CLI utility for the kobweb web framework"
|
||||
HOMEPAGE="https://kobweb.varabyte.com"
|
||||
SRC_URI="https://github.com/varabyte/kobweb-cli/releases/download/v${PV}/kobweb-${PV}.tar -> ${P}.tar"
|
||||
|
||||
S="${WORKDIR}/kobweb-${PV}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND="dev-lang/kotlin-bin"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# update classpath to use the java filesystem layout
|
||||
sed -i \
|
||||
-e "s/CLASSPATH=\\\$APP_HOME\\/lib\\/kobweb-${PV}-all.jar/CLASSPATH=\\\$APP_HOME\\/..\\/opt\\/${PN}\\/lib\\/kobweb-${PV}-all.jar/g" \
|
||||
bin/kobweb || die "Sed failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/kobweb
|
||||
|
||||
mkdir "${ED}/opt/${PN}/lib" -p || die "Couldn't make destination directory"
|
||||
cp "lib/kobweb-${PV}-all.jar" "${ED}/opt/${PN}/lib/kobweb-${PV}-all.jar" \
|
||||
|| die "Couldn't install to destination directory"
|
||||
}
|
||||
11
dev-libs/kobweb-bin/metadata.xml
Normal file
11
dev-libs/kobweb-bin/metadata.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>pinguinlars1105+gentoo@gmail.com</email>
|
||||
<name>AshyPinguin</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">varabyte/kobweb-cli</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user