-
-
Notifications
You must be signed in to change notification settings - Fork 239
-
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" }
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment