feat: init commit
This commit is contained in:
parent
4042a39f54
commit
1a77bd3560
7
.gitignore
vendored
Normal file
7
.gitignore
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
.chroot
|
||||
*.db
|
||||
*.files
|
||||
*.gz
|
||||
*.log
|
||||
*.old
|
||||
*.zst
|
3
add
Executable file
3
add
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/fish
|
||||
set PACKAGE $argv[1]
|
||||
git submodule add https://aur.archlinux.org/$PACKAGE.git
|
50
base/PKGBUILD
Normal file
50
base/PKGBUILD
Normal file
@ -0,0 +1,50 @@
|
||||
# Maintainer: OnTake <ontake@ontake.dev>
|
||||
pkgname=ontake-base
|
||||
pkgver=1
|
||||
pkgrel=1
|
||||
pkgdesc="Base system configuration"
|
||||
arch=('any')
|
||||
url="https://git.ontake.dev/sys/arch"
|
||||
license=('MIT')
|
||||
provides=(
|
||||
'vim'
|
||||
'vi'
|
||||
)
|
||||
conflicts=(
|
||||
'vim'
|
||||
'vi'
|
||||
)
|
||||
depends=(
|
||||
'base'
|
||||
'btop'
|
||||
'cpupower'
|
||||
'curl'
|
||||
'exa'
|
||||
'fastfetch'
|
||||
'fd'
|
||||
'fish'
|
||||
'git'
|
||||
'less'
|
||||
'lsof'
|
||||
'neovim'
|
||||
'openssh'
|
||||
'pacman-contrib'
|
||||
'ripgrep'
|
||||
'rsync'
|
||||
'sudo'
|
||||
'tldr'
|
||||
'tmux'
|
||||
'tree'
|
||||
'ufw'
|
||||
'which'
|
||||
)
|
||||
source=(
|
||||
'fishbinsh.hook'
|
||||
)
|
||||
md5sums=(
|
||||
'ed23a29fab3d5bf38f5a7ac68259cceb'
|
||||
)
|
||||
|
||||
package() {
|
||||
install -Dm 0644 fishbinsh.hook "$pkgdir/etc/pacman.d/hooks/fishbinsh.hook"
|
||||
}
|
11
base/fishbinsh.hook
Normal file
11
base/fishbinsh.hook
Normal file
@ -0,0 +1,11 @@
|
||||
[Trigger]
|
||||
Type = Package
|
||||
Operation = Install
|
||||
Operation = Upgrade
|
||||
Target = bash
|
||||
|
||||
[Action]
|
||||
Description = Re-pointing /bin/sh symlink to fish...
|
||||
When = PostTransaction
|
||||
Exec = /usr/bin/ln -sfT fish /usr/bin/sh
|
||||
Depends = fish
|
32
build
Executable file
32
build
Executable file
@ -0,0 +1,32 @@
|
||||
#!/bin/fish
|
||||
set REPO ontake
|
||||
set CHROOT $PWD/.chroot
|
||||
|
||||
if not command -q mkarchroot
|
||||
echo "Please install devtools:"
|
||||
echo "sudo pacman -S devtools"
|
||||
exit 1
|
||||
end
|
||||
|
||||
if not test -d $CHROOT/root
|
||||
mkdir -p $CHROOT
|
||||
mkarchroot $CHROOT/root base-devel
|
||||
end
|
||||
|
||||
if set -q argv[1]
|
||||
cd $argv[1]
|
||||
makechrootpkg -cur $CHROOT
|
||||
mv *.pkg.tar.zst ../
|
||||
cd -
|
||||
else
|
||||
rm -f *.pkg.tar.zst
|
||||
|
||||
for file in **/PKGBUILD
|
||||
cd (dirname $file)
|
||||
makechrootpkg -cur $CHROOT
|
||||
mv *.pkg.tar.zst ../
|
||||
cd -
|
||||
end
|
||||
end
|
||||
|
||||
repo-add --remove $REPO.db.tar.gz *.pkg.tar.zst
|
96
desktop/PKGBUILD
Normal file
96
desktop/PKGBUILD
Normal file
@ -0,0 +1,96 @@
|
||||
# Maintainer: OnTake <ontake@ontake.dev>
|
||||
pkgname=ontake-desktop
|
||||
pkgver=1
|
||||
pkgrel=1
|
||||
pkgdesc="Desktop packages"
|
||||
arch=('any')
|
||||
url="https://git.ontake.dev/sys/arch"
|
||||
license=('MIT')
|
||||
depends=(
|
||||
# Audio
|
||||
'tenacity'
|
||||
'pipewire'
|
||||
'pipewire-alsa'
|
||||
'pipewire-jack'
|
||||
'pipewire-pulse'
|
||||
'wireplumber'
|
||||
|
||||
# Browser: see gitmodules (using Chrome)
|
||||
|
||||
# Editor: see gitmodules (using VSCodium)
|
||||
|
||||
# Email
|
||||
'thunderbird'
|
||||
|
||||
# Files
|
||||
'ffmpegthumbnailer'
|
||||
'file-roller'
|
||||
'ghex'
|
||||
'meld'
|
||||
'nautilus'
|
||||
|
||||
# Images
|
||||
'eog'
|
||||
'gimp'
|
||||
|
||||
# Kernel
|
||||
'linux-zen'
|
||||
'linux-zen-headers'
|
||||
|
||||
# Keys
|
||||
'gnome-keyring'
|
||||
'seahorse'
|
||||
|
||||
# Fonts
|
||||
'noto-fonts'
|
||||
'noto-fonts-cjk'
|
||||
'noto-fonts-emoji'
|
||||
'ttf-ubuntu-mono-nerd'
|
||||
'ttf-ubuntu-nerd'
|
||||
|
||||
# Creative
|
||||
'blender'
|
||||
'godot'
|
||||
'mangohud'
|
||||
'vulkan-tools'
|
||||
|
||||
# Terminal
|
||||
'alacritty'
|
||||
'gnome-console'
|
||||
'kitty'
|
||||
|
||||
# Torrents
|
||||
'deluge-gtk'
|
||||
|
||||
# Utilities
|
||||
'nvtop'
|
||||
'nwg-look'
|
||||
|
||||
# Videos
|
||||
'ffmpeg'
|
||||
'mpv'
|
||||
'obs-studio'
|
||||
'yt-dlp'
|
||||
|
||||
# Virtualization
|
||||
'dmidecode'
|
||||
'dnsmasq'
|
||||
'gnome-boxes'
|
||||
'qemu-desktop'
|
||||
'virt-manager'
|
||||
|
||||
# Wayland
|
||||
'cliphist'
|
||||
'fuzzel'
|
||||
'grim'
|
||||
'greetd'
|
||||
'mako'
|
||||
'slurp'
|
||||
'waybar'
|
||||
'wtype'
|
||||
|
||||
# DEs
|
||||
'gnome'
|
||||
'gnome-extra'
|
||||
'hyprland'
|
||||
)
|
31
devel/PKGBUILD
Normal file
31
devel/PKGBUILD
Normal file
@ -0,0 +1,31 @@
|
||||
# Maintainer: OnTake <ontake@ontake.dev>
|
||||
pkgname=ontake-devel
|
||||
pkgver=1
|
||||
pkgrel=1
|
||||
pkgdesc="Development packages"
|
||||
arch=('any')
|
||||
url="https://git.ontake.dev/sys/arch"
|
||||
license=('MIT')
|
||||
depends=(
|
||||
'base-devel'
|
||||
|
||||
# C/C++
|
||||
'clang'
|
||||
'lld'
|
||||
|
||||
# Go
|
||||
'go'
|
||||
'gopls'
|
||||
|
||||
# Godot
|
||||
'pkgconf'
|
||||
'scons'
|
||||
|
||||
# Lua
|
||||
'lua'
|
||||
'lua-language-server'
|
||||
|
||||
# Rust
|
||||
'rust-analyzer'
|
||||
'rustup'
|
||||
)
|
29
extra/PKGBUILD
Normal file
29
extra/PKGBUILD
Normal file
@ -0,0 +1,29 @@
|
||||
# Maintainer: OnTake <ontake@ontake.dev>
|
||||
pkgname=ontake-extra
|
||||
pkgver=1
|
||||
pkgrel=5
|
||||
pkgdesc="Extra packages"
|
||||
arch=('any')
|
||||
url="https://git.ontake.dev/sys/arch"
|
||||
license=('MIT')
|
||||
depends=(
|
||||
# Benchmarks
|
||||
'hyperfine'
|
||||
|
||||
# Debugging
|
||||
'strace'
|
||||
|
||||
# File system
|
||||
'fdupes'
|
||||
'lostfiles'
|
||||
|
||||
# Git
|
||||
'git-lfs'
|
||||
|
||||
# HTTP
|
||||
'ali'
|
||||
'httpie'
|
||||
|
||||
# Network
|
||||
'nethogs'
|
||||
)
|
Loading…
Reference in New Issue
Block a user