Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

PKGBUILD for AUR package (athas-git) #222

niceEli started this conversation in Ideas
Discussion options

this would allow the athas editor to be on arch

ive made basically a base but cant get it to work in wsl, if anyone wants to use it go ahead

# Maintainers: Athas Industries (https://github.com/athasdev)
pkgname=athas-git
pkgver=r24.604efa4
pkgrel=1
pkgdesc="A lightweight code editor built with React, TypeScript, and Tauri."
arch=('any')
url="https://github.com/athasdev/athas"
license=('AGPL')
depends=('cairo' 'desktop-file-utils' 'gdk-pixbuf2' 'glib2' 'gtk3' 'hicolor-icon-theme' 'libsoup' 'pango' 'webkit2gtk-4.1')
makedepends=('git' 'rust' 'bun-bin' 'pandoc')
source=("git+$url.git")
sha256sums=('SKIP')
options=('!strip' '!emptydirs')
conflicts=(athas)
provides=(athas)
pkgver() {
 cd "$srcdir/athas"
 printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
 cd "$srcdir/athas"
 bun install
 bun run tauri build
}
package() {
 cd "$srcdir/athas"
 # binary
 install -Dm755 "target/release/athas-code" \
 "$pkgdir/usr/bin/athas"
 install -Dm755 "target/release/libathas_text_lib.so" \
 "$pkgdir/usr/lib/libathas_text_lib.so"
 
 # license
 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 # man page (section 1 - applications)
 pandoc README.md -s -t man -o "$pkgname.1"
 install -Dm644 "$pkgname.1" "$pkgdir/usr/share/man/man1/$pkgname.1"
}
You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /