Compare commits
5 changed files with 9 additions and 9 deletions
|
|
@ -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://astar76.com/git/astar76/Damson/releases) (Linux x86_64); check them against `SHA256SUMS-<version>`. The Linux builds
|
||||
Downloads are on the [Releases page](https://archlinux.tail7c4f5e.ts.net/git/astar76/Damson/releases) (Linux x86_64); check them against `SHA256SUMS-<version>`. 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-<version>-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-<version>-amd64.deb`.
|
||||
- **Nix:** `nix profile install git+https://astar76.com/git/astar76/Damson` (this repo is a flake), or `callPackage ./packaging/nix { }`.
|
||||
- **Nix:** `nix profile install git+https://archlinux.tail7c4f5e.ts.net/git/astar76/Damson` (this repo is a flake), or `callPackage ./packaging/nix { }`.
|
||||
- **Any distribution:** unpack `Damson-<version>-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.
|
||||
|
|
|
|||
|
|
@ -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://astar76.com/git/astar76/Damson
|
||||
url = https://archlinux.tail7c4f5e.ts.net/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://astar76.com/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://archlinux.tail7c4f5e.ts.net/git/astar76/Damson/releases/download/v0.1.1/Damson-0.1.1-Linux-x86_64.tar.gz
|
||||
sha256sums = 735e34e69160620da8cc9e930401d677eb938a68d7ffe4c505fa9d99b3af5d39
|
||||
|
||||
pkgname = damson-bin
|
||||
|
|
|
|||
|
|
@ -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://astar76.com/git/astar76/Damson'
|
||||
url='https://archlinux.tail7c4f5e.ts.net/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')
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ stdenv.mkDerivation rec {
|
|||
pname = "damson";
|
||||
version = "0.1.1";
|
||||
src = fetchurl {
|
||||
url = "https://astar76.com/git/astar76/Damson/releases/download/v${version}/Damson-${version}-Linux-x86_64.tar.gz";
|
||||
url = "https://archlinux.tail7c4f5e.ts.net/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://astar76.com/git/astar76/Damson";
|
||||
homepage = "https://archlinux.tail7c4f5e.ts.net/git/astar76/Damson";
|
||||
license = lib.licenses.mit;
|
||||
platforms = [ "x86_64-linux" ];
|
||||
mainProgram = "damson";
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
set -euo pipefail
|
||||
root=$(cd "$(dirname "$0")/.." && pwd)
|
||||
APP=damson NAME=Damson DESKTOP=damson.desktop
|
||||
URL=https://astar76.com/git/astar76/Damson
|
||||
URL=https://archlinux.tail7c4f5e.ts.net/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" <<CTL
|
|||
Package: $APP
|
||||
Version: $ver
|
||||
Architecture: amd64
|
||||
Maintainer: astar76 <[email protected]star76.com>
|
||||
Maintainer: astar76 <[email protected]rchlinux.tail7c4f5e.ts.net>
|
||||
Installed-Size: $size
|
||||
Depends: libc6 (>= $glibc)${DEB_DEPENDS:+, $DEB_DEPENDS}
|
||||
${DEB_RECOMMENDS:+Recommends: $DEB_RECOMMENDS
|
||||
|
|
|
|||
Loading…
Reference in a new issue