dev-lang/dzaima-bqn: drop old 0.2.1

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć
2026-08-14 12:02:23 +02:00
parent 697610ac42
commit 5af7230897
2 changed files with 0 additions and 62 deletions

View File

@@ -1,2 +1 @@
DIST dzaima-bqn-0.2.1.tar.gz 315654 BLAKE2B 1b11ad6901ec2fbb6b10a87d7e46e098cceb2ffdfd351d82a3709df3370f30e0aaee1b2e270c4d228f305ed573f1e1a979238fcbc6ca8ac690f26048a30bff2c SHA512 92ab33ed64ace127ece76526ea298f131d720e7deaa917551e16c0eb0e626b1b0074668260fcc652e18b1c90603149f8631a574b0e98d2b715bd73dbc3340d8e
DIST dzaima-bqn-0.2.2.gh.tar.gz 316625 BLAKE2B 44f0f9f6eccece0c3a567bcc2bd4f6d27fddbed843658f20807f04c992f9a53ce39b02ce763b656e7d177bed9624550f499d33de4a364da8c7f53379ceac082e SHA512 1e06441bda2fedd5a66ac9dd389e44458599dc6acb2c7126356c400ffd875dac67bd96adc11b430468c5c5c26b28d2a44a68535403b9f6e25fefd563827b3054

View File

@@ -1,61 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit edo java-pkg-2
DESCRIPTION="A BQN language implementation written in Java, also know as dbqn"
HOMEPAGE="https://github.com/dzaima/BQN/"
if [[ ${PV} == *9999* ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/dzaima/BQN.git"
else
SRC_URI="https://github.com/dzaima/BQN/archive/v${PV}.tar.gz
-> ${P}.tar.gz"
S="${WORKDIR}/BQN-${PV}"
KEYWORDS="amd64 ~x86"
fi
LICENSE="MIT"
SLOT="0"
RDEPEND=">=virtual/jre-1.8"
DEPEND=">=virtual/jdk-1.8"
BUILD_DIR="${WORKDIR}/${P}_BuildDir"
BUILD_JAR="${BUILD_DIR}/dbqn.jar"
DOCS=( readme.md )
src_prepare() {
default
java-pkg-2_src_prepare
mkdir -p "${BUILD_DIR}" || die
}
src_compile() {
# This is the "build8" (or "build") script rewritten for our purposes.
ejavac -d "${BUILD_DIR}" $(find ./src -name "*.java")
cd "${BUILD_DIR}" || die
edob jar cvfe "${BUILD_JAR}" BQN.Main BQN
}
src_test() {
edo java -jar "${BUILD_JAR}" -f "${S}"/test/test
}
src_install() {
java-pkg_dojar "${BUILD_JAR}"
java-pkg_dolauncher dbqn --jar dbqn.jar
einstalldocs
}
pkg_postinst() {
einfo "The ${CATEGORY}/${PN} installs the main executable under the name \"dbqn\"."
}