diff --git a/README.md b/README.md index 5659074..33e7b73 100644 --- a/README.md +++ b/README.md @@ -80,14 +80,14 @@ Vi mode, spell checking, snippets, and reopening a file with a chosen encoding. ## Install a release -Downloads are on the [Releases page](https://archlinux.tail7c4f5e.ts.net/git/astar76/Damson/releases) (Linux x86_64); check them against `SHA256SUMS-`. The Linux builds +Downloads are on the [Releases page](https://astar76.com/git/astar76/Damson/releases) (Linux x86_64); check them against `SHA256SUMS-`. The Linux builds are made on Arch Linux and need a recent glibc (the version is named in the packages and checked by the installer), so they run on Arch and other up-to-date distributions; on older ones, build from source. - **Arch Linux:** `sudo pacman -U Damson--arch-x86_64.pkg.tar.zst` (package `damson-bin`; remove it with `sudo pacman -R damson-bin`). `packaging/arch/PKGBUILD` builds the same package from the release. - **Debian, Ubuntu and other apt systems:** `sudo apt install ./Damson--amd64.deb`. -- **Nix:** `nix profile install git+https://archlinux.tail7c4f5e.ts.net/git/astar76/Damson` (this repo is a flake), or `callPackage ./packaging/nix { }`. +- **Nix:** `nix profile install git+https://astar76.com/git/astar76/Damson` (this repo is a flake), or `callPackage ./packaging/nix { }`. - **Any distribution:** unpack `Damson--Linux-x86_64.tar.gz` and run `sh install.sh` inside (your home, `~/.local`, no root) or `sh install.sh --system` (`/usr/local`). `sh uninstall.sh` removes it; `--purge` also deletes settings and data. `installer.sh` from this repo does the same next to a downloaded tar.gz or AppImage. diff --git a/packaging/arch/.SRCINFO b/packaging/arch/.SRCINFO index 6a99449..7b94810 100644 --- a/packaging/arch/.SRCINFO +++ b/packaging/arch/.SRCINFO @@ -2,7 +2,7 @@ pkgbase = damson-bin pkgdesc = Material You code editor with 462 languages built in pkgver = 0.1.1 pkgrel = 1 - url = https://archlinux.tail7c4f5e.ts.net/git/astar76/Damson + url = https://astar76.com/git/astar76/Damson arch = x86_64 license = MIT depends = glibc>=2.35 @@ -33,7 +33,7 @@ pkgbase = damson-bin conflicts = damson options = !strip options = !debug - source = Damson-0.1.1-Linux-x86_64.tar.gz::https://archlinux.tail7c4f5e.ts.net/git/astar76/Damson/releases/download/v0.1.1/Damson-0.1.1-Linux-x86_64.tar.gz + source = Damson-0.1.1-Linux-x86_64.tar.gz::https://astar76.com/git/astar76/Damson/releases/download/v0.1.1/Damson-0.1.1-Linux-x86_64.tar.gz sha256sums = 735e34e69160620da8cc9e930401d677eb938a68d7ffe4c505fa9d99b3af5d39 pkgname = damson-bin diff --git a/packaging/arch/PKGBUILD b/packaging/arch/PKGBUILD index 42a5624..2de2520 100644 --- a/packaging/arch/PKGBUILD +++ b/packaging/arch/PKGBUILD @@ -6,7 +6,7 @@ pkgver=0.1.1 pkgrel=1 pkgdesc='Material You code editor with 462 languages built in' arch=('x86_64') -url='https://archlinux.tail7c4f5e.ts.net/git/astar76/Damson' +url='https://astar76.com/git/astar76/Damson' license=('MIT') # Linked: libc, libm, libgcc_s. dlopened (strings of the binary): libEGL/libGL (libglvnd), libwayland-client/-egl, libxkbcommon(-x11), libX11, libX11-xcb, libxcb, libXcursor, libXi, libXrender, libfontconfig, libdbus-1. Runs fc-match (fontconfig); git only for the git panel. depends=('glibc>=2.35' 'gcc-libs' 'dbus' 'fontconfig' 'libglvnd' 'wayland' 'libxkbcommon' 'libxkbcommon-x11' 'libx11' 'libxcb' 'libxcursor' 'libxi' 'libxrender' 'hicolor-icon-theme') diff --git a/packaging/nix/default.nix b/packaging/nix/default.nix index b87d5aa..6da20e4 100644 --- a/packaging/nix/default.nix +++ b/packaging/nix/default.nix @@ -6,7 +6,7 @@ stdenv.mkDerivation rec { pname = "damson"; version = "0.1.1"; src = fetchurl { - url = "https://archlinux.tail7c4f5e.ts.net/git/astar76/Damson/releases/download/v${version}/Damson-${version}-Linux-x86_64.tar.gz"; + url = "https://astar76.com/git/astar76/Damson/releases/download/v${version}/Damson-${version}-Linux-x86_64.tar.gz"; hash = "sha256-c1405pFgYg2ozJ6TBAHWd+uTimjX/+TFBfqdmbOvXTk="; }; nativeBuildInputs = [ autoPatchelfHook makeWrapper ]; @@ -24,7 +24,7 @@ stdenv.mkDerivation rec { meta = { description = "Material You code editor with 462 languages built in"; - homepage = "https://archlinux.tail7c4f5e.ts.net/git/astar76/Damson"; + homepage = "https://astar76.com/git/astar76/Damson"; license = lib.licenses.mit; platforms = [ "x86_64-linux" ]; mainProgram = "damson"; diff --git a/tools/package.sh b/tools/package.sh index cd5ed48..6f2ecdf 100755 --- a/tools/package.sh +++ b/tools/package.sh @@ -3,7 +3,7 @@ set -euo pipefail root=$(cd "$(dirname "$0")/.." && pwd) APP=damson NAME=Damson DESKTOP=damson.desktop -URL=https://archlinux.tail7c4f5e.ts.net/git/astar76/Damson +URL=https://astar76.com/git/astar76/Damson ver=$(sed -n 's/^version = "\(.*\)"/\1/p' "$root/Cargo.toml" | head -n 1) BINS=(damson) LICENSE=MIT NIX_LICENSE=mit SUMMARY='Material You code editor with 462 languages built in' @@ -145,7 +145,7 @@ cat > "$d/control/control" < +Maintainer: astar76 Installed-Size: $size Depends: libc6 (>= $glibc)${DEB_DEPENDS:+, $DEB_DEPENDS} ${DEB_RECOMMENDS:+Recommends: $DEB_RECOMMENDS