Last active
May 7, 2025 09:18
-
-
Save ParaN3xus/05c53078bb05ba85271bebe89347fac6 to your computer and use it in GitHub Desktop.
Arch TyX PKGBUILD
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pkgname=tyx | |
pkgver=0.1.6 | |
pkgrel=1 | |
pkgdesc="A LyX-like experience rewritten for Typst and the modern era" | |
arch=('x86_64') | |
url="https://github.com/tyx-editor/TyX" | |
license=('MIT') | |
depends=('typst' 'webkit2gtk' 'gtk3') | |
makedepends=('binutils') | |
provides=('tyx') | |
options=('!strip') | |
source=("https://github.com/tyx-editor/TyX/releases/download/v${pkgver}/TyX_${pkgver}_amd64.deb") | |
sha256sums=('e8cfe953afc270d11826835ee10248bcda048b4e26d202c0db172e52b982de4a') | |
package() { | |
cd "$srcdir" | |
ar x "TyX_${pkgver}_amd64.deb" | |
tar xf data.tar.gz -C "$pkgdir" | |
chmod 755 "$pkgdir/usr/bin/tyx" | |
rm -f "$pkgdir/usr/bin/typst" | |
chmod 644 "$pkgdir/usr/share/applications/TyX.desktop" | |
find "$pkgdir/usr/share/icons" -type f -exec chmod 644 {} \; | |
find "$pkgdir/usr/share/icons" -type d -exec chmod 755 {} \; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment