diff options
author | srv <enmanuel.saravia.externo@pandero.com.pe> | 2025-05-14 15:56:30 +0200 |
---|---|---|
committer | srv <enmanuel.saravia.externo@pandero.com.pe> | 2025-05-14 15:56:30 +0200 |
commit | 4b0128971611377651e4e4d8f4657fb26ec47456 (patch) | |
tree | 61e86b062c9e43a9b58fe47843e42f3330291910 | |
parent | b9446bfb1fd77dd8043640deea5b8785b81649fb (diff) |
UPD emacs, ADD go and rust inital but need test
-rwxr-xr-x | README.md | 6 | ||||
-rw-r--r-- | emacs/README.md | 9 | ||||
-rw-r--r-- | emacs/easy-install.sh | 31 | ||||
-rw-r--r-- | go-bin/PKGBUILD | 34 | ||||
-rw-r--r-- | go-bin/go-1.20.3-1-x86_64-build.log | 0 | ||||
-rw-r--r-- | go-bin/go-1.20.3-1-x86_64-package.log | 0 | ||||
-rw-r--r-- | rust-bin/PKGBUILD | 21 |
7 files changed, 100 insertions, 1 deletions
@@ -27,4 +27,8 @@ Touch screen works by default # TLauncher -Is compatible with `lshw-git/README.md`
\ No newline at end of file +Is compatible with `lshw-git/README.md` + +# Emacs 30 + +For use `emacs/README.md`
\ No newline at end of file diff --git a/emacs/README.md b/emacs/README.md new file mode 100644 index 0000000..df72c81 --- /dev/null +++ b/emacs/README.md @@ -0,0 +1,9 @@ +# Hack + +Requirement + +- Libremakepkg available + +If is available you can use easy install + + dash ~/unofficial/emacs/easy-install.sh
\ No newline at end of file diff --git a/emacs/easy-install.sh b/emacs/easy-install.sh new file mode 100644 index 0000000..e8971ea --- /dev/null +++ b/emacs/easy-install.sh @@ -0,0 +1,31 @@ +#!/bin/dash + +cd ~/unofficial/m17n-db/ +updpkgsums +doas libremakepkg +doas pacman -U --noconfirm *.pkg.* + +cd ~/unofficial/libotf/ +updpkgsums +doas libremakepkg +doas pacman -U --noconfirm *.pkg.* + +cd ~/unofficial/m17n-lib/ +updpkgsums +doas libremakepkg +doas pacman -U --noconfirm *.pkg.* + +cd ~/unofficial/libisl-bin +updpkgsums +doas libremakepkg +doas pacman -U --noconfirm *.pkg.* + +cd ~/unofficial/gcc/ +updpkgsums +doas libremakepkg +doas pacman -U --noconfirm gcc-libs-8.4.0-6-x86_64.pkg.tar.lz libgccjit-8.4.0-6-x86_64.pkg.tar.lz + +cd ~/unofficial/emacs +updpkgsums +doas libremakepkg +doas pacman -U --noconfirm *.pkg.* diff --git a/go-bin/PKGBUILD b/go-bin/PKGBUILD new file mode 100644 index 0000000..56efb82 --- /dev/null +++ b/go-bin/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Saravia +pkgname=go +pkgver=1.20.3 # Cambia a la versión que necesites +pkgrel=1 +pkgdesc="Go programming language" +arch=('x86_64') +url="https://golang.org/" +license=('BSD') +depends=('bash' 'tar') +source=("https://golang.org/dl/go$pkgver.linux-amd64.tar.gz") +sha512sums=('b6e74b9b0bf03371e746b1b579235665a692425847b685f1a862345a5858329ec24e184db4ddbd2fd617e22df4c48d3e95fe7ba79b19d737c6d6afa63a129773') + +# Preparar el paquete +prepare() { + mkdir -p "$srcdir"/go + tar -C "$srcdir"/go -xzf "$srcdir"/go$pkgver.linux-amd64.tar.gz +} + +# Construir el paquete +build() { + # No necesitamos una construcción adicional porque es solo una extracción de archivos. + return 0 +} + +package() { + # Crear los directorios necesarios + install -d "$pkgdir/usr/local/go" + cp -r "$srcdir/go/"* "$pkgdir/usr/local/go/" + + # Crear enlaces simbólicos + install -d "$pkgdir/usr/bin" + ln -s /usr/local/go/bin/go "$pkgdir/usr/bin/go" + ln -s /usr/local/go/bin/gofmt "$pkgdir/usr/bin/gofmt" +} diff --git a/go-bin/go-1.20.3-1-x86_64-build.log b/go-bin/go-1.20.3-1-x86_64-build.log new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/go-bin/go-1.20.3-1-x86_64-build.log diff --git a/go-bin/go-1.20.3-1-x86_64-package.log b/go-bin/go-1.20.3-1-x86_64-package.log new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/go-bin/go-1.20.3-1-x86_64-package.log diff --git a/rust-bin/PKGBUILD b/rust-bin/PKGBUILD new file mode 100644 index 0000000..ee1d81c --- /dev/null +++ b/rust-bin/PKGBUILD @@ -0,0 +1,21 @@ +# Maintainer: Tu Nombre <tu-email> +pkgname=rust-bin +pkgver=1.78.0 # Cambia a la versión deseada +pkgrel=1 +pkgdesc="Systems programming language focused on safety, speed and concurrency" +arch=('x86_64') +url="https://www.rust-lang.org/" +license=('MIT' 'Apache') +depends=('gcc' 'libffi') +source=("https://static.rust-lang.org/dist/rust-${pkgver}-x86_64-unknown-linux-gnu.tar.gz") +sha512sums=('551f6c672918ef43b9ca7654085488f40b7722062129fc2fdc850c0f92473279cc4229a17ffbcbd605d5a4d24c6207a6d4ab2334b4d9a988abdef4e0b7e0d824') + +build() { + cd "$srcdir/rust-${pkgver}-x86_64-unknown-linux-gnu" + ./install.sh --destdir="$pkgdir" --prefix=/usr +} + +package() { + # Nada que hacer aquí porque `install.sh` ya instaló en $pkgdir/usr + return 0 +} |