summaryrefslogtreecommitdiff
path: root/dev-db/sqlcmd/sqlcmd-1.8.3.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-db/sqlcmd/sqlcmd-1.8.3.ebuild')
-rw-r--r--dev-db/sqlcmd/sqlcmd-1.8.3.ebuild41
1 files changed, 0 insertions, 41 deletions
diff --git a/dev-db/sqlcmd/sqlcmd-1.8.3.ebuild b/dev-db/sqlcmd/sqlcmd-1.8.3.ebuild
deleted file mode 100644
index a4c470c82a0a..000000000000
--- a/dev-db/sqlcmd/sqlcmd-1.8.3.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 2023-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit go-module shell-completion
-
-DESCRIPTION="The MSSQL SQLCMD CLI tool"
-HOMEPAGE="https://learn.microsoft.com/sql/tools/sqlcmd/go-sqlcmd-utility"
-SRC_URI="https://github.com/microsoft/go-${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
-DEPS_URI="https://github.com/freijon/go-${PN}/releases/download/v${PV}/${P}-deps.tar.xz"
-SRC_URI+=" ${DEPS_URI}"
-
-S="${WORKDIR}/go-${P}"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-
-src_compile() {
- ego build -o "${PN}" -ldflags="-X main.version=${PV}" ./cmd/modern
-}
-
-src_install() {
- dobin "${PN}"
- mkdir "completions" || die
-
- ./sqlcmd completion bash > "completions/${PN}" || die
- ./sqlcmd completion fish > "completions/${PN}.fish" || die
- ./sqlcmd completion zsh > "completions/_${PN}" || die
- dobashcomp "completions/${PN}"
- dofishcomp "completions/${PN}.fish"
- dozshcomp "completions/_${PN}"
-
- local DOCS=(
- "README.md"
- "SECURITY.md"
- )
-
- einstalldocs
-}