-pkgname=mcl-launcher-bin
-pkgver=0.2.0
-pkgrel=2
-pkgdesc="Minecraft launcher TUI"
-arch=('x86_64' 'aarch64')
-url="https://github.com/objz/mcl"
-license=('GPL-3.0-only')
-depends=()
-provides=('mcl-launcher')
-conflicts=('mcl-launcher' 'mcl-launcher-git')
-source=("LICENSE-${pkgver}::${url}/raw/v${pkgver}/LICENSE" "README-${pkgver}::${url}/raw/v${pkgver}/README.md")
-source_x86_64=("mcl-launcher-${pkgver}-x86_64-unknown-linux-gnu.tar.xz::${url}/releases/download/v${pkgver}/mcl-launcher-x86_64-unknown-linux-gnu.tar.xz")
-source_aarch64=("mcl-launcher-${pkgver}-aarch64-unknown-linux-gnu.tar.xz::${url}/releases/download/v${pkgver}/mcl-launcher-aarch64-unknown-linux-gnu.tar.xz")
-sha256sums=('SKIP' 'SKIP')
-sha256sums_x86_64=('SKIP')
-sha256sums_aarch64=('SKIP')
-
-package() {
- local _dir="mcl-launcher-${CARCH}-unknown-linux-gnu"
- install -Dm755 "$_dir/mcl" "$pkgdir/usr/bin/mcl"
- install -Dm644 "LICENSE-${pkgver}" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
- install -Dm644 "README-${pkgver}" "$pkgdir/usr/share/doc/$pkgname/README.md"
-}
diff --git a/pkg/mcl-launcher-bin/README-0.1.0 b/pkg/mcl-launcher-bin/README-0.1.0
deleted file mode 100644
index 16b9994..0000000
--- a/pkg/mcl-launcher-bin/README-0.1.0
+++ /dev/null
@@ -1,129 +0,0 @@
-
-
-# mcl
-
-[![Contributors][contributors-shield]][contributors-url]
-[![Forks][forks-shield]][forks-url]
-[![Stargazers][stars-shield]][stars-url]
-[![Issues][issues-shield]][issues-url]
-[![GPL-3.0 License][license-shield]][license-url]
-
-**MineCraft Launcher. or MineCraft cLi. pick whichever sounds better to you.**
-
-
-
-[Report Bug](https://github.com/objz/mcl/issues) · [Request Feature](https://github.com/objz/mcl/issues)
-
-
-
----
-
-## about
-
-we all love TUIs. and we all know the official Minecraft launcher is not exactly a joy to use. so here's mcl, a fully featured Minecraft launcher that lives in your terminal. written in Rust because if you're replacing something bloated you might as well go all the way.
-
-it does everything you'd expect from a launcher. multiple instances, mod loaders, modpack imports, Microsoft auth, content management, launching. all from a TUI or from the command line. the TUI is the main thing though, the CLI is there for scripting and automation.
-
-## features
-
-| | |
-|---|---|
-| **instances** | create and manage multiple instances, each with their own version, loader, mods, and settings |
-| **mod loaders** | vanilla, Fabric, Quilt, Forge, NeoForge. more might show up later |
-| **content** | browse and toggle mods, shaders, resource packs. view worlds, screenshots, and logs |
-| **modpack import** | import from Modrinth via `.mrpack` file, URL, or slug |
-| **accounts** | multiple Microsoft accounts and offline players, switch between them |
-| **launching** | launch directly from the TUI or generate a desktop shortcut for any instance |
-| **desktop shortcuts** | click it and Minecraft starts, no need to open mcl or type anything |
-| **CLI** | every feature the TUI has is also available as a subcommand |
-| **theming** | 10 built-in themes, custom themes, color overrides |
-
----
-
-## installation
-
-### Arch Linux
-
-[](https://aur.archlinux.org/packages/mcl-launcher)
-[](https://aur.archlinux.org/packages/mcl-launcher-bin)
-[](https://aur.archlinux.org/packages/mcl-launcher-git)
-
-```sh
-# from source (release tarball)
-paru -S mcl-launcher
-
-# prebuilt binary
-paru -S mcl-launcher-bin
-
-# latest git
-paru -S mcl-launcher-git
-```
-
-### from source
-
-requires a Rust toolchain and OpenSSL.
-
-```sh
-git clone https://github.com/objz/mcl.git
-cd mcl
-cargo build --release
-```
-
-### other platforms
-
-mcl can be compiled for Linux, macOS, and Windows. right now it's only packaged for Arch Linux (AUR) but official packages for other platforms and package managers will be added continuously.
-
----
-
-## where things live
-
-| path | what |
-|---|---|
-| `~/.config/mcl/config.toml` | general config (paths, memory defaults, UI settings) |
-| `~/.config/mcl/theme.toml` | theme, border style, color overrides |
-| `~/.config/mcl/accounts.json` | accounts |
-| `~/.local/share/mcl/instances/` | instances, each in its own directory |
-| `~/.local/share/mcl/meta/` | cached game metadata, libraries, assets, loader profiles |
-
-each instance has an `instance.json` for its config and a `.minecraft/` directory with the actual game files. standard layout, nothing weird.
-
----
-
-## configuration
-
-everything is configured through TOML files. `config.toml` for paths, default memory allocation, and UI behavior. `theme.toml` for theme selection and border style. you can also override individual colors without making a full custom theme.
-
----
-
-## themes
-
-mcl ships with 10 built-in themes:
-
-`catppuccin` · `dracula` · `nord` · `gruvbox` · `one-dark` · `solarized` · `tailwind` · `tokyo-night` · `rose-pine` · `terminal`
-
-you can create your own by dropping a TOML file in `~/.config/mcl/theme/` and referencing it by name, or point to an absolute path.
-
----
-
-## contributing
-
-contributions are welcome. fork it, branch it, PR it. make sure `cargo clippy` and `cargo test` pass before opening a PR.
-
----
-
-## license
-
-GPL-3.0. see [LICENSE](LICENSE).
-
----
-
-[contributors-shield]: https://img.shields.io/github/contributors/objz/mcl.svg?style=for-the-badge
-[contributors-url]: https://github.com/objz/mcl/graphs/contributors
-[forks-shield]: https://img.shields.io/github/forks/objz/mcl.svg?style=for-the-badge
-[forks-url]: https://github.com/objz/mcl/network/members
-[stars-shield]: https://img.shields.io/github/stars/objz/mcl.svg?style=for-the-badge
-[stars-url]: https://github.com/objz/mcl/stargazers
-[issues-shield]: https://img.shields.io/github/issues/objz/mcl.svg?style=for-the-badge
-[issues-url]: https://github.com/objz/mcl/issues
-[license-shield]: https://img.shields.io/github/license/objz/mcl.svg?style=for-the-badge
-[license-url]: https://github.com/objz/mcl/blob/master/LICENSE
diff --git a/pkg/mcl-launcher-bin/mcl-aarch64-unknown-linux-gnu.tar.gz b/pkg/mcl-launcher-bin/mcl-aarch64-unknown-linux-gnu.tar.gz
deleted file mode 100644
index 2574520..0000000
Binary files a/pkg/mcl-launcher-bin/mcl-aarch64-unknown-linux-gnu.tar.gz and /dev/null differ
diff --git a/pkg/mcl-launcher-bin/mcl-x86_64-unknown-linux-gnu.tar.gz b/pkg/mcl-launcher-bin/mcl-x86_64-unknown-linux-gnu.tar.gz
deleted file mode 100644
index 98ef5f3..0000000
Binary files a/pkg/mcl-launcher-bin/mcl-x86_64-unknown-linux-gnu.tar.gz and /dev/null differ
diff --git a/pkg/rmcl-bin/PKGBUILD b/pkg/rmcl-bin/PKGBUILD
new file mode 100644
index 0000000..f8ce80f
--- /dev/null
+++ b/pkg/rmcl-bin/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: objz
+pkgname=rmcl-bin
+pkgver=0.3.0
+pkgrel=1
+pkgdesc="Minecraft launcher TUI"
+arch=('x86_64' 'aarch64')
+url="https://github.com/objz/rmcl"
+license=('GPL-3.0-only')
+depends=()
+provides=('rmcl')
+conflicts=('rmcl' 'rmcl-git' 'mcl-launcher' 'mcl-launcher-bin' 'mcl-launcher-git')
+replaces=('mcl-launcher' 'mcl-launcher-bin' 'mcl-launcher-git')
+source=("LICENSE-${pkgver}::${url}/raw/v${pkgver}/LICENSE" "README-${pkgver}::${url}/raw/v${pkgver}/README.md")
+source_x86_64=("rmcl-${pkgver}-x86_64-unknown-linux-gnu.tar.xz::${url}/releases/download/v${pkgver}/rmcl-x86_64-unknown-linux-gnu.tar.xz")
+source_aarch64=("rmcl-${pkgver}-aarch64-unknown-linux-gnu.tar.xz::${url}/releases/download/v${pkgver}/rmcl-aarch64-unknown-linux-gnu.tar.xz")
+sha256sums=('SKIP' 'SKIP')
+sha256sums_x86_64=('SKIP')
+sha256sums_aarch64=('SKIP')
+
+package() {
+ local _dir="rmcl-${CARCH}-unknown-linux-gnu"
+ install -Dm755 "$_dir/rmcl" "$pkgdir/usr/bin/rmcl"
+ install -Dm644 "LICENSE-${pkgver}" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -Dm644 "README-${pkgver}" "$pkgdir/usr/share/doc/$pkgname/README.md"
+}
diff --git a/pkg/mcl-launcher-git/PKGBUILD b/pkg/rmcl-git/PKGBUILD
similarity index 62%
rename from pkg/mcl-launcher-git/PKGBUILD
rename to pkg/rmcl-git/PKGBUILD
index 115936d..f030f3b 100644
--- a/pkg/mcl-launcher-git/PKGBUILD
+++ b/pkg/rmcl-git/PKGBUILD
@@ -1,36 +1,37 @@
# Maintainer: objz
-pkgname=mcl-launcher-git
+pkgname=rmcl-git
pkgver=r116.ab9d9dd
pkgrel=1
pkgdesc="Minecraft launcher TUI"
arch=('x86_64' 'aarch64')
-url="https://github.com/objz/mcl"
+url="https://github.com/objz/rmcl"
license=('GPL-3.0-only')
depends=()
makedepends=('git' 'rust' 'cargo' 'jdk-openjdk')
-provides=('mcl-launcher')
-conflicts=('mcl-launcher' 'mcl-launcher-bin')
+provides=('rmcl')
+conflicts=('rmcl' 'rmcl-bin' 'mcl-launcher' 'mcl-launcher-bin' 'mcl-launcher-git')
+replaces=('mcl-launcher' 'mcl-launcher-bin' 'mcl-launcher-git')
source=("git+$url.git")
sha256sums=('SKIP')
pkgver() {
- cd "$srcdir/mcl"
+ cd "$srcdir/rmcl"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
- cd "$srcdir/mcl"
+ cd "$srcdir/rmcl"
cargo build --release --locked
}
check() {
- cd "$srcdir/mcl"
+ cd "$srcdir/rmcl"
cargo test --release --locked
}
package() {
- cd "$srcdir/mcl"
- install -Dm755 "target/release/mcl" "$pkgdir/usr/bin/mcl"
+ cd "$srcdir/rmcl"
+ install -Dm755 "target/release/rmcl" "$pkgdir/usr/bin/rmcl"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
}
diff --git a/pkg/mcl-launcher/PKGBUILD b/pkg/rmcl/PKGBUILD
similarity index 56%
rename from pkg/mcl-launcher/PKGBUILD
rename to pkg/rmcl/PKGBUILD
index 5777416..d6784d1 100644
--- a/pkg/mcl-launcher/PKGBUILD
+++ b/pkg/rmcl/PKGBUILD
@@ -1,31 +1,32 @@
# Maintainer: objz
-pkgname=mcl-launcher
-pkgver=0.1.0
+pkgname=rmcl
+pkgver=0.3.0
pkgrel=1
pkgdesc="Minecraft launcher TUI"
arch=('x86_64' 'aarch64')
-url="https://github.com/objz/mcl"
+url="https://github.com/objz/rmcl"
license=('GPL-3.0-only')
depends=()
makedepends=('rust' 'cargo' 'jdk-openjdk')
-provides=('mcl-launcher')
-conflicts=('mcl-launcher-bin' 'mcl-launcher-git')
+provides=('rmcl')
+conflicts=('rmcl-bin' 'rmcl-git' 'mcl-launcher' 'mcl-launcher-bin' 'mcl-launcher-git')
+replaces=('mcl-launcher' 'mcl-launcher-bin' 'mcl-launcher-git')
source=("${url}/archive/v${pkgver}.tar.gz")
sha256sums=('SKIP')
build() {
- cd "$srcdir/mcl-${pkgver}"
+ cd "$srcdir/rmcl-${pkgver}"
cargo build --release --locked
}
check() {
- cd "$srcdir/mcl-${pkgver}"
+ cd "$srcdir/rmcl-${pkgver}"
cargo test --release --locked
}
package() {
- cd "$srcdir/mcl-${pkgver}"
- install -Dm755 "target/release/mcl" "$pkgdir/usr/bin/mcl"
+ cd "$srcdir/rmcl-${pkgver}"
+ install -Dm755 "target/release/rmcl" "$pkgdir/usr/bin/rmcl"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
}