From 788c64fb8923ac8e71de9684ff33e9e2f40695a6 Mon Sep 17 00:00:00 2001 From: oklopfer <104327997+oklopfer@users.noreply.github.com> Date: Wed, 1 May 2024 23:26:39 +0000 Subject: [PATCH] refactor(*)!: convert pacscripts to `5.0.0` format --- .../1password-cli-bin.pacscript | 16 +-- .../adapta-gtk-theme-git.pacscript | 14 +-- packages/adw-gtk3/adw-gtk3.pacscript | 22 ++-- packages/alacritty/alacritty.pacscript | 32 +++--- packages/amfora-bin/amfora-bin.pacscript | 43 ++++---- .../an-anime-game-launcher-bin.pacscript | 29 +++-- packages/ananicy-cpp/ananicy-cpp.pacscript | 12 +- .../android-studio-canary.pacscript | 35 +++--- .../android-studio/android-studio.pacscript | 37 ++++--- packages/ani-cli-bin/ani-cli-bin.pacscript | 27 +++-- packages/anydesk-bin/anydesk-bin.pacscript | 29 ++--- packages/anydesk-deb/anydesk-deb.pacscript | 8 +- packages/anytype-deb/anytype-deb.pacscript | 8 +- .../appimagelauncher-deb.pacscript | 8 +- packages/apx-git/apx-git.pacscript | 18 +-- packages/ardour-git/ardour-git.pacscript | 20 ++-- .../arduino-cli-bin/arduino-cli-bin.pacscript | 17 +-- .../arduino-ide-bin/arduino-ide-bin.pacscript | 42 ++++--- packages/armcord-deb/armcord-deb.pacscript | 13 +-- packages/aseprite/aseprite.pacscript | 43 ++++---- packages/awesome-git/awesome-git.pacscript | 23 ++-- .../aws-cli-v2-bin/aws-cli-v2-bin.pacscript | 17 +-- .../balena-etcher-deb.pacscript | 8 +- packages/bat-deb/bat-deb.pacscript | 10 +- packages/bat/bat.pacscript | 24 ++-- packages/batsignal/batsignal.pacscript | 16 +-- packages/bazecor-app/bazecor-app.pacscript | 26 +++-- packages/bemenu-git/bemenu-git.pacscript | 25 ++--- .../bes2600-firmware-git.pacscript | 29 +++-- .../bitwarden-cli-bin.pacscript | 20 ++-- .../bitwarden-deb/bitwarden-deb.pacscript | 10 +- .../bitwig-studio-3-deb.pacscript | 8 +- .../bitwig-studio-4-deb.pacscript | 8 +- .../bitwig-studio-deb.pacscript | 8 +- packages/blender-bin/blender-bin.pacscript | 22 ++-- .../bluegriffon-deb/bluegriffon-deb.pacscript | 8 +- packages/bpytop-git/bpytop-git.pacscript | 23 ++-- .../brave-browser-beta-deb.pacscript | 8 +- .../brave-browser-deb.pacscript | 8 +- .../brave-browser-nightly-deb.pacscript | 10 +- .../brave-keyring-deb.pacscript | 8 +- packages/btop-bin/btop-bin.pacscript | 18 +-- packages/btrfs-du-bin/btrfs-du-bin.pacscript | 7 +- .../cachy-browser-bin.pacscript | 19 ++-- .../cachyos-ananicy-rules-git.pacscript | 16 ++- packages/cantata/cantata.pacscript | 15 ++- packages/caprine-deb/caprine-deb.pacscript | 8 +- packages/celeste-bin/celeste-bin.pacscript | 23 ++-- packages/cheat/cheat.pacscript | 15 +-- packages/chezmoi-deb/chezmoi-deb.pacscript | 8 +- packages/chwp-deb/chwp-deb.pacscript | 10 +- packages/cider-deb/cider-deb.pacscript | 8 +- .../circle-flags-svg-deb.pacscript | 8 +- packages/clib/clib.pacscript | 16 +-- .../clipboard-bin/clipboard-bin.pacscript | 41 +++---- .../cmake-data-deb/cmake-data-deb.pacscript | 12 +- packages/cmake-deb/cmake-deb.pacscript | 12 +- packages/cmatrix/cmatrix.pacscript | 20 ++-- ....github.mirkobrombin.bottles-deb.pacscript | 8 +- .../conky-manager-zcot-git.pacscript | 11 +- packages/cortile-bin/cortile-bin.pacscript | 18 ++- packages/couture/couture.pacscript | 21 ++-- .../cutefish-calculator-git.pacscript | 12 +- .../cutefish-core-git.pacscript | 12 +- .../cutefish-dock-git.pacscript | 12 +- .../cutefish-filemanager-git.pacscript | 12 +- .../cutefish-icons-git.pacscript | 12 +- .../cutefish-kwin-plugins-git.pacscript | 12 +- .../cutefish-launcher-git.pacscript | 12 +- .../cutefish-qt-plugins-git.pacscript | 12 +- .../cutefish-settings-git.pacscript | 12 +- .../cutefish-statusbar-git.pacscript | 12 +- .../cutefish-wallpapers-git.pacscript | 12 +- .../dbeaver-ce-deb/dbeaver-ce-deb.pacscript | 8 +- packages/deadbeef-deb/deadbeef-deb.pacscript | 12 +- packages/deskcut-deb/deskcut-deb.pacscript | 10 +- packages/dino-git/dino-git.pacscript | 16 ++- .../discord-canary/discord-canary.pacscript | 21 ++-- packages/discord-deb/discord-deb.pacscript | 8 +- .../discord-ptb-deb/discord-ptb-deb.pacscript | 6 +- packages/discord/discord.pacscript | 23 ++-- packages/distrobox/distrobox.pacscript | 15 +-- .../dmenu-distrotube-git.pacscript | 11 +- packages/dmenu/dmenu.pacscript | 14 ++- packages/doas-git/doas-git.pacscript | 58 ++++------ packages/docker-bin/docker-bin.pacscript | 26 +++-- .../docker-buildx-plugin-bin.pacscript | 22 ++-- .../docker-compose-plugin-bin.pacscript | 25 +++-- packages/dotdrop/dotdrop.pacscript | 19 ++-- .../drawio-desktop-deb.pacscript | 8 +- packages/dropbox-deb/dropbox-deb.pacscript | 8 +- packages/duf-deb/duf-deb.pacscript | 10 +- packages/dunst/dunst.pacscript | 14 ++- packages/dust-bin/dust-bin.pacscript | 24 ++-- .../easy-zsh-config-git.pacscript | 24 ++-- packages/eddie-ui-deb/eddie-ui-deb.pacscript | 8 +- packages/electerm-deb/electerm-deb.pacscript | 8 +- .../electronmail-deb.pacscript | 8 +- packages/electrum-git/electrum-git.pacscript | 15 ++- .../element-desktop-deb.pacscript | 10 +- packages/emacs-git/emacs-git.pacscript | 37 +++---- packages/emacs/emacs.pacscript | 35 +++--- .../emby-server-deb/emby-server-deb.pacscript | 8 +- packages/endlessh-git/endlessh-git.pacscript | 40 +++---- packages/enpass-deb/enpass-deb.pacscript | 9 +- ...-printer-stylus-nx110-series-deb.pacscript | 8 +- .../epson-printer-utility-deb.pacscript | 15 ++- packages/exa-git/exa-git.pacscript | 13 +-- .../exercism-cli-bin.pacscript | 13 ++- .../exploitdb-git/exploitdb-git.pacscript | 26 ++--- .../expressvpn-deb/expressvpn-deb.pacscript | 6 +- packages/eza-git/eza-git.pacscript | 28 ++--- .../f1multiviewer-deb.pacscript | 10 +- .../fake-ubuntu-advantage-tools-deb.pacscript | 8 +- packages/fast/fast.pacscript | 17 +-- .../fastfetch-git/fastfetch-git.pacscript | 33 +++--- packages/fblog-deb/fblog-deb.pacscript | 11 +- packages/fennel-bin/fennel-bin.pacscript | 15 +-- packages/fennel/fennel.pacscript | 13 ++- packages/ferdium-deb/ferdium-deb.pacscript | 8 +- packages/ferium-bin/ferium-bin.pacscript | 25 +++-- .../feroxbuster-bin/feroxbuster-bin.pacscript | 35 +++--- packages/ffsend-bin/ffsend-bin.pacscript | 38 ++++--- .../firefox-arm64-deb.pacscript | 8 +- packages/firefox-bin/firefox-bin.pacscript | 28 ++--- .../firefox-developer-edition-bin.pacscript | 33 +++--- packages/fishui-git/fishui-git.pacscript | 12 +- packages/floorp-bin/floorp-bin.pacscript | 51 +++++---- packages/flyctl-bin/flyctl-bin.pacscript | 15 +-- packages/fm6000-git/fm6000-git.pacscript | 15 ++- packages/fnlfmt/fnlfmt.pacscript | 15 +-- packages/foliate-deb/foliate-deb.pacscript | 12 +- .../font-downloader/font-downloader.pacscript | 12 +- .../forticlient-deb/forticlient-deb.pacscript | 10 +- packages/fpc-laz-deb/fpc-laz-deb.pacscript | 10 +- packages/fpc-src-deb/fpc-src-deb.pacscript | 8 +- packages/freetube-deb/freetube-deb.pacscript | 6 +- packages/fsearch-deb/fsearch-deb.pacscript | 20 ++-- packages/fsearch-git/fsearch-git.pacscript | 12 +- packages/fselect-git/fselect-git.pacscript | 13 +-- .../galaxybudsclient-bin.pacscript | 49 +++++---- .../geekbench-bin/geekbench-bin.pacscript | 17 +-- .../genymotion-bin/genymotion-bin.pacscript | 24 ++-- .../gfn-electron-bin.pacscript | 35 +++--- packages/ghcup-bin/ghcup-bin.pacscript | 35 +++--- .../gir1.2-xapp-1.0-deb.pacscript | 8 +- .../git-butler-deb/git-butler-deb.pacscript | 10 +- .../git-credential-manager-core-deb.pacscript | 13 +-- .../git-delta-deb/git-delta-deb.pacscript | 7 +- .../git-extras-git/git-extras-git.pacscript | 19 ++-- packages/git/git.pacscript | 17 +-- packages/gitblade-deb/gitblade-deb.pacscript | 6 +- packages/gitfiend-deb/gitfiend-deb.pacscript | 8 +- .../github-cli-bin/github-cli-bin.pacscript | 24 ++-- .../github-cli-deb/github-cli-deb.pacscript | 15 +-- .../github-desktop-deb.pacscript | 22 +--- .../gitkraken-deb/gitkraken-deb.pacscript | 10 +- .../gldriver-test-deb.pacscript | 8 +- packages/glow-deb/glow-deb.pacscript | 20 ++-- ...me-shell-extension-installer-git.pacscript | 16 ++- packages/gnome-tweaks/gnome-tweaks.pacscript | 12 +- packages/go-bin/go-bin.pacscript | 30 ++--- packages/go-task-deb/go-task-deb.pacscript | 19 +--- packages/gomuks-deb/gomuks-deb.pacscript | 10 +- .../google-chrome-beta-deb.pacscript | 10 +- .../google-chrome-deb.pacscript | 10 +- .../google-chrome-unstable-deb.pacscript | 8 +- .../google-earth-pro-stable-deb.pacscript | 11 +- packages/goverlay-bin/goverlay-bin.pacscript | 29 +++-- packages/goverlay/goverlay.pacscript | 27 +++-- packages/graillon/graillon.pacscript | 21 ++-- .../grapejuice-git/grapejuice-git.pacscript | 14 +-- packages/grive2-git/grive2-git.pacscript | 21 ++-- packages/grive2/grive2.pacscript | 15 ++- .../grub-customizer-git.pacscript | 34 +++--- packages/gtkhash/gtkhash.pacscript | 20 ++-- packages/hakuneko-deb/hakuneko-deb.pacscript | 33 ++---- packages/hamclock/hamclock.pacscript | 25 +++-- .../harmonoid-deb/harmonoid-deb.pacscript | 8 +- packages/headset-deb/headset-deb.pacscript | 8 +- packages/helix/helix.pacscript | 26 +++-- packages/hello/hello.pacscript | 18 +-- .../heroic-games-launcher-deb.pacscript | 8 +- .../highlight-pointer-bin.pacscript | 16 +-- packages/htop/htop.pacscript | 15 ++- .../httptoolkit-deb/httptoolkit-deb.pacscript | 8 +- packages/hyper-deb/hyper-deb.pacscript | 8 +- .../hyperfine-bin/hyperfine-bin.pacscript | 33 +++--- packages/hypnotix-deb/hypnotix-deb.pacscript | 8 +- .../hyprcursor-bin/hyprcursor-bin.pacscript | 25 +++-- packages/hyprland-bin/hyprland-bin.pacscript | 19 ++-- packages/hyprland/hyprland.pacscript | 12 +- packages/hyprlang/hyprlang.pacscript | 16 +-- packages/hyprpaper/hyprpaper.pacscript | 14 ++- packages/hyprpicker/hyprpicker.pacscript | 14 ++- packages/i3blocks-git/i3blocks-git.pacscript | 18 +-- packages/i3lock-color/i3lock-color.pacscript | 14 ++- .../imwheel-exclude-patched-git.pacscript | 16 +-- packages/insomnia-deb/insomnia-deb.pacscript | 10 +- packages/insync-deb/insync-deb.pacscript | 11 +- .../intel-undervolt/intel-undervolt.pacscript | 13 ++- .../intellij-idea-community-bin.pacscript | 48 ++++---- packages/internxt-deb/internxt-deb.pacscript | 8 +- packages/ivpn-deb/ivpn-deb.pacscript | 8 +- packages/ivpn-ui-deb/ivpn-ui-deb.pacscript | 8 +- .../jellyfin-media-player-deb.pacscript | 22 ++-- .../jetbrains-toolbox-bin.pacscript | 20 ++-- .../joplin-desktop-app.pacscript | 24 ++-- packages/kakoune/kakoune.pacscript | 18 +-- packages/kalendar-git/kalendar-git.pacscript | 23 ++-- packages/keepassxc/keepassxc.pacscript | 14 ++- packages/keybase-deb/keybase-deb.pacscript | 10 +- packages/kirc/kirc.pacscript | 18 +-- .../komorebi-fork-deb.pacscript | 10 +- .../koodo-reader-deb.pacscript | 22 ++-- packages/krita-app/krita-app.pacscript | 29 +++-- packages/kvantum/kvantum.pacscript | 10 +- .../kxstudio-repos-deb.pacscript | 8 +- packages/lagrange/lagrange.pacscript | 11 +- .../latte-dock-git/latte-dock-git.pacscript | 17 ++- .../lazarus-project-deb.pacscript | 8 +- packages/lazygit/lazygit.pacscript | 13 ++- packages/lbry-deb/lbry-deb.pacscript | 8 +- .../lemonbar-xft-git.pacscript | 13 +-- packages/lens/lens.pacscript | 21 ++-- packages/lf-bin/lf-bin.pacscript | 44 ++------ .../libcamera-git/libcamera-git.pacscript | 17 ++- .../libcutefish-git/libcutefish-git.pacscript | 12 +- packages/libdrm/libdrm.pacscript | 20 ++-- .../libfdk-aac1-deb/libfdk-aac1-deb.pacscript | 10 +- packages/libicu-deb/libicu-deb.pacscript | 8 +- packages/liblcf/liblcf.pacscript | 16 +-- packages/libndi4-deb/libndi4-deb.pacscript | 6 +- .../libresprite-git/libresprite-git.pacscript | 18 +-- packages/libressl/libressl.pacscript | 15 ++- .../librewolf-app/librewolf-app.pacscript | 41 ++++--- .../librewolf-deb/librewolf-deb.pacscript | 16 +-- .../libspa-codec-bluez5-aac-bin.pacscript | 11 +- .../libssl1.1-deb/libssl1.1-deb.pacscript | 10 +- .../libtomlplusplus-header.pacscript | 11 +- packages/libxapp1-deb/libxapp1-deb.pacscript | 8 +- packages/lightpad-git/lightpad-git.pacscript | 19 ++-- packages/linked-deb/linked-deb.pacscript | 10 +- .../linux-headers-deb.pacscript | 8 +- .../linux-headers-generic-deb.pacscript | 13 +-- ...linux-headers-generic-stable-deb.pacscript | 13 +-- .../linux-headers-okpine-deb.pacscript | 8 +- .../linux-headers-stable-deb.pacscript | 8 +- .../linux-image-okpine-deb.pacscript | 8 +- .../linux-image-unsigned-deb.pacscript | 13 +-- .../linux-image-unsigned-stable-deb.pacscript | 13 +-- .../linux-kernel-stable.pacscript | 6 +- packages/linux-kernel/linux-kernel.pacscript | 6 +- .../linux-libc-dev-okpine-deb.pacscript | 10 +- .../linux-modules-deb.pacscript | 13 +-- .../linux-modules-stable-deb.pacscript | 13 +-- .../linux-wifi-hotspot-deb.pacscript | 8 +- .../lrz-syncshare-deb.pacscript | 8 +- packages/lsd-deb/lsd-deb.pacscript | 23 ++-- packages/lunacy-deb/lunacy-deb.pacscript | 8 +- .../lunarclient-app/lunarclient-app.pacscript | 63 +++++------ packages/lutris-deb/lutris-deb.pacscript | 8 +- packages/lyrebird-git/lyrebird-git.pacscript | 14 +-- packages/lyx/lyx.pacscript | 14 ++- .../mailspring-deb/mailspring-deb.pacscript | 10 +- packages/maitreya-deb/maitreya-deb.pacscript | 10 +- packages/makedeb-deb/makedeb-deb.pacscript | 8 +- packages/mangohud/mangohud.pacscript | 14 ++- packages/marktext-deb/marktext-deb.pacscript | 10 +- .../mcontrolcenter-bin.pacscript | 21 ++-- .../megabasterd-bin/megabasterd-bin.pacscript | 26 +++-- packages/megasync-deb/megasync-deb.pacscript | 18 +-- .../meson-focal-deb/meson-focal-deb.pacscript | 8 +- packages/micro/micro.pacscript | 21 ++-- .../microsoft-edge-beta-deb.pacscript | 10 +- .../microsoft-edge-dev-deb.pacscript | 10 +- .../microsoft-edge-stable-deb.pacscript | 10 +- .../microsoft-prod-repo-deb.pacscript | 8 +- .../minecraft-launcher-deb.pacscript | 13 +-- .../minecraft-launcher.pacscript | 32 ++++-- .../minecraft-pi-reborn-app.pacscript | 41 ++++--- packages/mint-themes/mint-themes.pacscript | 12 +- .../mobile-usb-networking-deb.pacscript | 8 +- .../moka-icon-theme/moka-icon-theme.pacscript | 12 +- packages/mold-bin/mold-bin.pacscript | 27 ++--- packages/ms-teams-deb/ms-teams-deb.pacscript | 8 +- .../mullvad-vpn-beta-deb.pacscript | 6 +- .../mullvad-vpn-deb/mullvad-vpn-deb.pacscript | 8 +- packages/muse-hub-deb/muse-hub-deb.pacscript | 11 +- packages/mutt-wizard/mutt-wizard.pacscript | 19 ++-- packages/mymonero-app/mymonero-app.pacscript | 25 +++-- packages/nala-deb/nala-deb.pacscript | 13 +-- packages/nano/nano.pacscript | 11 +- packages/naps2-deb/naps2-deb.pacscript | 15 +-- .../nautilus-open-in-blackbox-git.pacscript | 12 +- packages/neofetch/neofetch.pacscript | 11 +- packages/neovide-bin/neovide-bin.pacscript | 41 ++++--- packages/neovim-app/neovim-app.pacscript | 15 +-- packages/neovim-git/neovim-git.pacscript | 13 +-- packages/neovim/neovim.pacscript | 20 ++-- .../nerd-fonts-cascadia-code.pacscript | 15 +-- .../nerd-fonts-fira-code.pacscript | 15 +-- .../nerd-fonts-hack/nerd-fonts-hack.pacscript | 15 +-- .../nerd-fonts-jetbrains-mono.pacscript | 15 +-- .../nodejs-lts-deb/nodejs-lts-deb.pacscript | 15 ++- packages/nofetch/nofetch.pacscript | 11 +- .../noisetorch-bin/noisetorch-bin.pacscript | 34 +++--- .../nomachine-deb/nomachine-deb.pacscript | 10 +- .../nordlayer-deb/nordlayer-deb.pacscript | 8 +- packages/nordvpn-deb/nordvpn-deb.pacscript | 8 +- .../notion-app-deb/notion-app-deb.pacscript | 17 ++- .../notion-app-enhanced-deb.pacscript | 17 ++- packages/notion-git/notion-git.pacscript | 14 +-- packages/nowpm/nowpm.pacscript | 11 +- .../nu-tongues-bin/nu-tongues-bin.pacscript | 23 ++-- packages/nuclear-deb/nuclear-deb.pacscript | 8 +- packages/nuclei-bin/nuclei-bin.pacscript | 16 +-- packages/nushell-bin/nushell-bin.pacscript | 19 ++-- packages/obquit-git/obquit-git.pacscript | 16 ++- .../obs-backgroundremoval-deb.pacscript | 8 +- .../obs-backgroundremoval-git.pacscript | 22 ++-- .../obs-backgroundremoval.pacscript | 18 +-- packages/obs-ndi-deb/obs-ndi-deb.pacscript | 6 +- packages/obsidian-deb/obsidian-deb.pacscript | 8 +- .../oh-my-posh-git/oh-my-posh-git.pacscript | 28 +++-- packages/oil/oil.pacscript | 15 ++- packages/onefetch-bin/onefetch-bin.pacscript | 9 +- .../onlyoffice-desktopeditors-deb.pacscript | 10 +- .../onnxruntime-bin/onnxruntime-bin.pacscript | 23 ++-- .../onnxruntime-gpu-bin.pacscript | 25 ++--- packages/opendoas-git/opendoas-git.pacscript | 29 +++-- .../opensnitch-deb/opensnitch-deb.pacscript | 8 +- .../opensnitch-ui-deb.pacscript | 8 +- packages/opentoonz/opentoonz.pacscript | 37 ++++--- .../opera-beta-deb/opera-beta-deb.pacscript | 8 +- packages/opera-deb/opera-deb.pacscript | 10 +- .../opera-developer-deb.pacscript | 8 +- .../os-installer-git.pacscript | 21 ++-- packages/owofetch/owofetch.pacscript | 12 +- packages/pacget-git/pacget-git.pacscript | 18 ++- .../paconvert-git/paconvert-git.pacscript | 15 ++- .../pacstall-gui-git.pacscript | 19 ++-- .../pacstall-qa-git/pacstall-qa-git.pacscript | 17 ++- packages/pacup-bin/pacup-bin.pacscript | 14 +-- packages/panagement/panagement.pacscript | 21 ++-- packages/pap/pap.pacscript | 14 ++- .../paper-icon-theme.pacscript | 12 +- .../papirus-folders/papirus-folders.pacscript | 11 +- .../papirus-icon-theme.pacscript | 15 +-- packages/parsec-deb/parsec-deb.pacscript | 4 +- packages/pb-git/pb-git.pacscript | 12 +- .../pdf-mix-tool-git.pacscript | 14 +-- packages/pdfmm-git/pdfmm-git.pacscript | 16 ++- packages/pfetch-bin/pfetch-bin.pacscript | 19 ++-- packages/pgmigrate/pgmigrate.pacscript | 18 +-- packages/picom/picom.pacscript | 19 ++-- packages/pipes.sh-bin/pipes.sh-bin.pacscript | 21 ++-- packages/pipewire/pipewire.pacscript | 13 ++- packages/planner-git/planner-git.pacscript | 13 +-- .../plexmediaserver-deb.pacscript | 22 ++-- packages/polybar/polybar.pacscript | 12 +- packages/pomatez-deb/pomatez-deb.pacscript | 11 +- .../popcorn-time-deb.pacscript | 8 +- packages/popsicle/popsicle.pacscript | 11 +- packages/postman-bin/postman-bin.pacscript | 34 +++--- packages/powertop-git/powertop-git.pacscript | 16 +-- packages/prettier/prettier.pacscript | 23 ++-- .../prismlauncher-git.pacscript | 13 +-- .../proton-python-client.pacscript | 15 +-- .../protonmail-bridge-deb.pacscript | 8 +- .../protonup-qt-app/protonup-qt-app.pacscript | 35 +++--- .../protonvpn-cli/protonvpn-cli.pacscript | 17 +-- .../protonvpn-gui/protonvpn-gui.pacscript | 23 ++-- .../protonvpn-nm-lib.pacscript | 15 +-- packages/pulsar-deb/pulsar-deb.pacscript | 8 +- .../pycharm-community-bin.pacscript | 43 ++++---- .../python3-imdbpy-deb.pacscript | 8 +- .../python3-levenshtein-deb.pacscript | 13 +-- .../qogir-gtk-theme-bin.pacscript | 18 +-- .../qogir-icon-theme-bin.pacscript | 25 +++-- packages/qt6pas/qt6pas.pacscript | 14 +-- .../qtile-extras-git.pacscript | 15 ++- packages/qtile-git/qtile-git.pacscript | 24 ++-- packages/quarto-deb/quarto-deb.pacscript | 6 +- .../quintom-cursor-theme-git.pacscript | 16 ++- .../raspi-config-deb.pacscript | 10 +- .../realvnc-vnc-viewer-deb.pacscript | 8 +- packages/renegate/renegate.pacscript | 21 ++-- .../reshade-shaders-git.pacscript | 21 ++-- packages/rhino-core/rhino-core.pacscript | 31 +++--- .../rhino-docker-builder-git.pacscript | 16 ++- .../rhino-kvantum-theme-git.pacscript | 14 +-- .../rhino-lightdm-theme-git.pacscript | 14 +-- .../rhino-neofetch-git.pacscript | 14 +-- .../rhino-pine-core/rhino-pine-core.pacscript | 31 +++--- .../rhino-pkg-git/rhino-pkg-git.pacscript | 16 ++- .../rhino-plymouth-theme-git.pacscript | 12 +- .../rhino-server-core.pacscript | 31 +++--- .../rhino-setup-bin/rhino-setup-bin.pacscript | 27 +++-- .../rhino-setup-git/rhino-setup-git.pacscript | 19 ++-- .../rhino-system-git.pacscript | 17 ++- .../rhino-ubxi-core/rhino-ubxi-core.pacscript | 31 +++--- .../rio-wayland-deb/rio-wayland-deb.pacscript | 8 +- packages/rio-x11-deb/rio-x11-deb.pacscript | 8 +- packages/rpcs3-app/rpcs3-app.pacscript | 13 ++- packages/rstudio-deb/rstudio-deb.pacscript | 8 +- .../rust-motd-deb/rust-motd-deb.pacscript | 10 +- packages/rustdesk-deb/rustdesk-deb.pacscript | 8 +- .../schildichat-deb/schildichat-deb.pacscript | 10 +- packages/scrcpy/scrcpy.pacscript | 36 +++--- packages/sed/sed.pacscript | 12 +- .../shell-color-scripts.pacscript | 13 ++- .../shellcheck-bin/shellcheck-bin.pacscript | 15 +-- packages/shellharden/shellharden.pacscript | 17 +-- packages/shfmt-bin/shfmt-bin.pacscript | 18 +-- .../sidequest-bin/sidequest-bin.pacscript | 29 ++--- .../signal-desktop-beta-deb.pacscript | 15 ++- .../signal-desktop-deb.pacscript | 15 ++- packages/slack-deb/slack-deb.pacscript | 13 +-- packages/slop-git/slop-git.pacscript | 17 ++- packages/smartgit/smartgit.pacscript | 29 ++--- packages/smplayer-deb/smplayer-deb.pacscript | 6 +- packages/songrec-deb/songrec-deb.pacscript | 10 +- packages/soundux/soundux.pacscript | 20 ++-- .../spacecadetpinball-git.pacscript | 61 +++++----- .../spot-client-git/spot-client-git.pacscript | 15 ++- .../spotify-client-deb.pacscript | 13 +-- .../st-distrotube-git.pacscript | 13 +-- .../st-lukesmith-git.pacscript | 10 +- packages/starship-bin/starship-bin.pacscript | 18 +-- packages/steam-deb/steam-deb.pacscript | 8 +- .../steamtinkerlaunch-git.pacscript | 26 ++--- packages/stellarium/stellarium.pacscript | 12 +- .../stockfish-git/stockfish-git.pacscript | 12 +- packages/stremio-deb/stremio-deb.pacscript | 10 +- .../sublime-merge-deb.pacscript | 10 +- .../sublime-text-deb.pacscript | 10 +- .../surf-distrotube-git.pacscript | 24 ++-- packages/surf/surf.pacscript | 24 ++-- .../surfshark-gui-deb.pacscript | 8 +- .../suru-icon-theme-git.pacscript | 13 +-- packages/suyu-app/suyu-app.pacscript | 19 ++-- .../systemcoding-conky.pacscript | 14 +-- packages/tabby-deb/tabby-deb.pacscript | 8 +- packages/tailscale/tailscale.pacscript | 23 ++-- packages/taskwarrior/taskwarrior.pacscript | 28 ++--- packages/tdrop-git/tdrop-git.pacscript | 16 +-- .../teams-for-linux-deb.pacscript | 13 +-- .../teamviewer-deb/teamviewer-deb.pacscript | 21 ++-- .../tela-circle-icon-theme.pacscript | 24 ++-- packages/telegram-bin/telegram-bin.pacscript | 13 ++- packages/tenacity-git/tenacity-git.pacscript | 20 ++-- .../texstudio-app/texstudio-app.pacscript | 17 +-- packages/tgpt-bin/tgpt-bin.pacscript | 27 ++--- ...the-honkers-railway-launcher-bin.pacscript | 24 ++-- packages/thorium-deb/thorium-deb.pacscript | 15 +-- packages/thrive-deb/thrive-deb.pacscript | 8 +- packages/ticktick-deb/ticktick-deb.pacscript | 28 ++--- .../tidal-hifi-bin/tidal-hifi-bin.pacscript | 38 ++++--- packages/timeshift/timeshift.pacscript | 20 ++-- packages/tixati-deb/tixati-deb.pacscript | 11 +- packages/tmpmail-bin/tmpmail-bin.pacscript | 28 ++--- packages/tmux/tmux.pacscript | 20 ++-- packages/topgrade-bin/topgrade-bin.pacscript | 20 ++-- .../topgrade-musl-bin.pacscript | 18 +-- packages/tor/tor.pacscript | 16 +-- .../torbrowser-launcher-git.pacscript | 16 +-- packages/torguard-deb/torguard-deb.pacscript | 10 +- packages/touchegg-deb/touchegg-deb.pacscript | 8 +- packages/touchegg-git/touchegg-git.pacscript | 19 ++-- packages/tre-git/tre-git.pacscript | 14 +-- .../treefetch-bin/treefetch-bin.pacscript | 15 +-- .../truckersmp-cli/truckersmp-cli.pacscript | 19 ++-- .../ttf-fira-sans/ttf-fira-sans.pacscript | 21 ++-- packages/tuner-git/tuner-git.pacscript | 14 +-- packages/tuner/tuner.pacscript | 13 ++- packages/tutanota-app/tutanota-app.pacscript | 42 ++++--- .../u-boot-mobian-deb.pacscript | 10 +- .../ugee-tablet-driver-deb.pacscript | 8 +- .../ulauncher-deb/ulauncher-deb.pacscript | 8 +- .../unicorn-desktop-git.pacscript | 87 ++++++++------- .../unicorn-mobile-git.pacscript | 104 ++++++++---------- .../universal-ctags-git.pacscript | 16 +-- packages/upscayl-app/upscayl-app.pacscript | 30 +++-- packages/uwufetch/uwufetch.pacscript | 29 ++--- .../vega-strike-engine-git.pacscript | 19 ++-- .../vega-strike-git/vega-strike-git.pacscript | 13 +-- .../veracrypt-deb/veracrypt-deb.pacscript | 10 +- packages/viper4linux/viper4linux.pacscript | 27 +++-- .../virtualbox-deb/virtualbox-deb.pacscript | 8 +- packages/vivaldi-deb/vivaldi-deb.pacscript | 8 +- packages/vivarium/vivarium.pacscript | 12 +- packages/vscode-deb/vscode-deb.pacscript | 27 ++--- .../vscode-insiders-deb.pacscript | 27 ++--- packages/vscodium-deb/vscodium-deb.pacscript | 13 +-- packages/vyprvpn-deb/vyprvpn-deb.pacscript | 8 +- packages/waf/waf.pacscript | 12 +- packages/walc-app/walc-app.pacscript | 17 +-- packages/warp/warp.pacscript | 14 ++- .../warpinator-deb/warpinator-deb.pacscript | 8 +- .../watchexec-bin/watchexec-bin.pacscript | 17 +-- .../webapp-manager-deb.pacscript | 8 +- .../webapp-manager/webapp-manager.pacscript | 17 +-- packages/webcord-deb/webcord-deb.pacscript | 10 +- .../webtorrent-desktop-deb.pacscript | 10 +- packages/weechat-git/weechat-git.pacscript | 18 +-- packages/wezterm-app/wezterm-app.pacscript | 28 +++-- packages/wezterm-bin/wezterm-bin.pacscript | 28 ++--- packages/wgcf-bin/wgcf-bin.pacscript | 11 +- packages/whatsie-git/whatsie-git.pacscript | 15 ++- packages/whatsie/whatsie.pacscript | 14 ++- .../windscribe-beta-gui-deb.pacscript | 8 +- .../wine-staging-git.pacscript | 51 +++++---- packages/wsysmon-bin/wsysmon-bin.pacscript | 25 +++-- .../xapps-common-deb.pacscript | 8 +- .../xcb-util-errors/xcb-util-errors.pacscript | 16 +-- .../xdg-desktop-portal-hyprland.pacscript | 43 +++++--- packages/xfce4-deb/xfce4-deb.pacscript | 8 +- .../xfce4-hotcorner-plugin-git.pacscript | 13 +-- .../xfce4-settings-pine-git.pacscript | 20 ++-- .../xmind-vana-deb/xmind-vana-deb.pacscript | 6 +- packages/xonotic/xonotic.pacscript | 22 ++-- packages/yabridge/yabridge.pacscript | 19 ++-- packages/yad/yad.pacscript | 15 ++- packages/yafetch-git/yafetch-git.pacscript | 12 +- .../yandex-browser-beta-deb.pacscript | 8 +- .../yandex-browser-corporate-deb.pacscript | 8 +- .../yandex-browser-stable-deb.pacscript | 10 +- .../yandex-disk-deb/yandex-disk-deb.pacscript | 8 +- .../youtube-dl-git/youtube-dl-git.pacscript | 15 ++- .../youtube-music-deb.pacscript | 8 +- packages/yt-dlp/yt-dlp.pacscript | 15 +-- packages/zap/zap.pacscript | 15 +-- packages/zentile-bin/zentile-bin.pacscript | 16 +-- packages/zettlr-deb/zettlr-deb.pacscript | 9 +- packages/zig-bin/zig-bin.pacscript | 21 ++-- .../zoho-notebook-deb.pacscript | 10 +- packages/zoom-deb/zoom-deb.pacscript | 10 +- packages/zotero/zotero.pacscript | 18 +-- packages/zoxide-deb/zoxide-deb.pacscript | 17 +-- ...zsh-history-substring-search-git.pacscript | 21 ++-- 541 files changed, 4595 insertions(+), 4527 deletions(-) mode change 100755 => 100644 packages/apx-git/apx-git.pacscript mode change 100755 => 100644 packages/bemenu-git/bemenu-git.pacscript mode change 100755 => 100644 packages/cmake-data-deb/cmake-data-deb.pacscript mode change 100755 => 100644 packages/cmake-deb/cmake-deb.pacscript mode change 100755 => 100644 packages/easy-zsh-config-git/easy-zsh-config-git.pacscript mode change 100755 => 100644 packages/grive2-git/grive2-git.pacscript mode change 100755 => 100644 packages/imwheel-exclude-patched-git/imwheel-exclude-patched-git.pacscript mode change 100755 => 100644 packages/kalendar-git/kalendar-git.pacscript mode change 100755 => 100644 packages/latte-dock-git/latte-dock-git.pacscript mode change 100755 => 100644 packages/maitreya-deb/maitreya-deb.pacscript mode change 100755 => 100644 packages/megasync-deb/megasync-deb.pacscript mode change 100755 => 100644 packages/obs-backgroundremoval-git/obs-backgroundremoval-git.pacscript mode change 100755 => 100644 packages/obs-backgroundremoval/obs-backgroundremoval.pacscript mode change 100755 => 100644 packages/obs-ndi-deb/obs-ndi-deb.pacscript mode change 100755 => 100644 packages/oh-my-posh-git/oh-my-posh-git.pacscript mode change 100755 => 100644 packages/onnxruntime-bin/onnxruntime-bin.pacscript mode change 100755 => 100644 packages/onnxruntime-gpu-bin/onnxruntime-gpu-bin.pacscript mode change 100755 => 100644 packages/pacget-git/pacget-git.pacscript mode change 100755 => 100644 packages/the-honkers-railway-launcher-bin/the-honkers-railway-launcher-bin.pacscript mode change 100755 => 100644 packages/touchegg-git/touchegg-git.pacscript mode change 100755 => 100644 packages/zsh-history-substring-search-git/zsh-history-substring-search-git.pacscript diff --git a/packages/1password-cli-bin/1password-cli-bin.pacscript b/packages/1password-cli-bin/1password-cli-bin.pacscript index caaffba10c..c7922aaacf 100644 --- a/packages/1password-cli-bin/1password-cli-bin.pacscript +++ b/packages/1password-cli-bin/1password-cli-bin.pacscript @@ -1,14 +1,14 @@ -name="1password-cli-bin" -pkgname="1password-cli" -gives="op" -repology=("project: ${pkgname}") +pkgname="1password-cli-bin" +gives="1password-cli" +repology=("project: ${gives}") pkgver="2.25.0" -url="https://cache.agilebits.com/dist/1P/op2/pkg/v${pkgver}/${gives}_linux_amd64_v${pkgver}.zip" +source=("https://cache.agilebits.com/dist/1P/op2/pkg/v${pkgver}/${gives}_linux_amd64_v${pkgver}.zip") pkgdesc="1Password CLI" -hash="6d6c85b23500b3167f80affd4dea6ed71abbee309ffdc9ca1d2689614b2c9d89" +sha256sums=("6d6c85b23500b3167f80affd4dea6ed71abbee309ffdc9ca1d2689614b2c9d89") arch=('amd64') -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") package() { - sudo install -Dm755 "${gives}" -t "${pkgdir}/usr/bin" + cd "${_archive}" + install -Dm755 "${gives}" -t "${pkgdir}/usr/bin" } diff --git a/packages/adapta-gtk-theme-git/adapta-gtk-theme-git.pacscript b/packages/adapta-gtk-theme-git/adapta-gtk-theme-git.pacscript index 376884c70f..506f285185 100644 --- a/packages/adapta-gtk-theme-git/adapta-gtk-theme-git.pacscript +++ b/packages/adapta-gtk-theme-git/adapta-gtk-theme-git.pacscript @@ -1,23 +1,23 @@ -name="adapta-gtk-theme-git" +pkgname="adapta-gtk-theme-git" gives="adapta-gtk-theme" breaks=("adapta") -url="https://github.com/adapta-project/${gives}.git" +source=("https://github.com/adapta-project/${gives}.git") pkgver="3.95.0.11" makedepends=("parallel" "autoconf" "automake" "inkscape" "libgdk-pixbuf2.0-dev" "libglib2.0-dev" "libxml2-utils" "pkg-config" "sassc") pkgdesc="An adaptive Gtk+ theme based on Material Design Guidelines (Legacy)" -maintainer="Elsie19 " -pkgver() { - git ls-remote "${url}" master | cut -f1 | head -n1 | cut -c1-8 -} +maintainer=("Elsie19 ") prepare() { + cd "${_archive}" ./autogen.sh --prefix=/usr --enable-parallel } build() { + cd "${_archive}" make -j"${NCPU}" } package() { - sudo make install DESTDIR="${pkgdir}" + cd "${_archive}" + make install DESTDIR="${pkgdir}" } diff --git a/packages/adw-gtk3/adw-gtk3.pacscript b/packages/adw-gtk3/adw-gtk3.pacscript index 0dc1a421de..324739f6e6 100644 --- a/packages/adw-gtk3/adw-gtk3.pacscript +++ b/packages/adw-gtk3/adw-gtk3.pacscript @@ -1,20 +1,22 @@ -name="adw-gtk3" +pkgname="adw-gtk3" arch=('any') pkgver="5.3" pkgdesc="An unofficial GTK3 port of libadwaita." repology=("project: adw-gtk3" "repo: aur") -url="https://github.com/lassekongo83/adw-gtk3/releases/download/v${pkgver}/${name}v${pkgver}.tar.xz" -hash="2e6e87935bef30936e40d07c7af4fd20754e77917be224f61c4346867196bef0" -maintainer="Herisson " -gives="${name}" -breaks=("${name}" "${name}-git") +source=("https://github.com/lassekongo83/adw-gtk3/releases/download/v${pkgver}/${pkgname}v${pkgver}.tar.xz") +sha256sums=("2e6e87935bef30936e40d07c7af4fd20754e77917be224f61c4346867196bef0") +maintainer=("Herisson ") +gives="${pkgname}" +breaks=("${pkgname}" "${pkgname}-git") build() { - sudo mkdir -p "${pkgdir}/usr/share/themes/${name}" - sudo mkdir -p "${pkgdir}/usr/share/themes/${name}-dark" + cd "${_archive}" + mkdir -p "${pkgdir}/usr/share/themes/${pkgname}" + mkdir -p "${pkgdir}/usr/share/themes/${pkgname}-dark" } package() { - sudo cp -r "${name}"/* "${pkgdir}/usr/share/themes/${name}/" - sudo cp -r "${name}"-dark/* "${pkgdir}/usr/share/themes/${name}-dark/" + cd "${_archive}" + cp -r "${pkgname}"/* "${pkgdir}/usr/share/themes/${pkgname}/" + cp -r "${pkgname}"-dark/* "${pkgdir}/usr/share/themes/${pkgname}-dark/" } diff --git a/packages/alacritty/alacritty.pacscript b/packages/alacritty/alacritty.pacscript index fac7ed7942..2395d05456 100644 --- a/packages/alacritty/alacritty.pacscript +++ b/packages/alacritty/alacritty.pacscript @@ -1,31 +1,33 @@ -name="alacritty" +pkgname="alacritty" pkgver="0.13.2" repology=("project: alacritty") -url="https://github.com/alacritty/alacritty/archive/refs/tags/v${pkgver}.tar.gz" +source=("https://github.com/alacritty/alacritty/archive/refs/tags/v${pkgver}.tar.gz") makedepends=("cargo" "cmake" "pkg-config" "libfreetype6-dev" "libfontconfig1-dev" "libxcb-xfixes0-dev" "python3" "gzip" "scdoc") pkgdesc="A fast, cross-platform, OpenGL terminal emulator" -maintainer="Warofzen " +maintainer=("Warofzen ") incompatible=('debian:bullseye' 'debian:bookworm') -hash="e9a54aabc92bbdc25ab1659c2e5a1e9b76f27d101342c8219cc98a730fd46d90" +sha256sums=("e9a54aabc92bbdc25ab1659c2e5a1e9b76f27d101342c8219cc98a730fd46d90") build() { + cd "${_archive}" cargo build -j"${NCPU}" --release --locked } package() { - sudo install -Dm755 target/release/alacritty -t "${pkgdir}/usr/bin" + cd "${_archive}" + install -Dm755 target/release/alacritty -t "${pkgdir}/usr/bin" - sudo install -Dm644 extra/logo/alacritty-term.svg "${pkgdir}/usr/share/icons/hicolor/scalable/apps/Alacritty.svg" + install -Dm644 extra/logo/alacritty-term.svg "${pkgdir}/usr/share/icons/hicolor/scalable/apps/Alacritty.svg" - sudo install -Dm644 extra/linux/Alacritty.desktop -t "${pkgdir}/usr/share/applications" + install -Dm644 extra/linux/Alacritty.desktop -t "${pkgdir}/usr/share/applications" - sudo install -Dm644 extra/completions/alacritty.bash "${pkgdir}/usr/share/bash-completion/completions/alacritty" - sudo install -Dm644 extra/completions/alacritty.fish -t "${pkgdir}/usr/share/fish/vendor_completions.d" - sudo install -Dm644 extra/completions/_alacritty -t "${pkgdir}/usr/share/zsh/vendor-completions" + install -Dm644 extra/completions/alacritty.bash "${pkgdir}/usr/share/bash-completion/completions/alacritty" + install -Dm644 extra/completions/alacritty.fish -t "${pkgdir}/usr/share/fish/vendor_completions.d" + install -Dm644 extra/completions/_alacritty -t "${pkgdir}/usr/share/zsh/vendor-completions" - sudo mkdir -p "${pkgdir}/usr/local/share/man/man1" "${pkgdir}/usr/local/share/man/man5" - scdoc < extra/man/alacritty.1.scd | gzip -c | sudo tee "${pkgdir}/usr/local/share/man/man1/alacritty.1.gz" > /dev/null - scdoc < extra/man/alacritty-msg.1.scd | gzip -c | sudo tee "${pkgdir}/usr/local/share/man/man1/alacritty-msg.1.gz" > /dev/null - scdoc < extra/man/alacritty.5.scd | gzip -c | sudo tee "${pkgdir}/usr/local/share/man/man5/alacritty.5.gz" > /dev/null - scdoc < extra/man/alacritty-bindings.5.scd | gzip -c | sudo tee "${pkgdir}/usr/local/share/man/man5/alacritty-bindings.5.gz" > /dev/null + mkdir -p "${pkgdir}/usr/local/share/man/man1" "${pkgdir}/usr/local/share/man/man5" + scdoc < extra/man/alacritty.1.scd | gzip -c | tee "${pkgdir}/usr/local/share/man/man1/alacritty.1.gz" > /dev/null + scdoc < extra/man/alacritty-msg.1.scd | gzip -c | tee "${pkgdir}/usr/local/share/man/man1/alacritty-msg.1.gz" > /dev/null + scdoc < extra/man/alacritty.5.scd | gzip -c | tee "${pkgdir}/usr/local/share/man/man5/alacritty.5.gz" > /dev/null + scdoc < extra/man/alacritty-bindings.5.scd | gzip -c | tee "${pkgdir}/usr/local/share/man/man5/alacritty-bindings.5.gz" > /dev/null } diff --git a/packages/amfora-bin/amfora-bin.pacscript b/packages/amfora-bin/amfora-bin.pacscript index 4905771658..3879b0f0e0 100644 --- a/packages/amfora-bin/amfora-bin.pacscript +++ b/packages/amfora-bin/amfora-bin.pacscript @@ -1,29 +1,24 @@ -name="amfora-bin" -pkgname="amfora" +pkgname="amfora-bin" +gives="amfora" pkgver="1.10.0" -gives="${pkgname}" -breaks=("${pkgname}" "${pkgname}-git" "${pkgname}-deb" "${pkgname}-app") +breaks=("${gives}" "${gives}-git" "${gives}-deb" "${gives}-app") pkgdesc="Amfora aims to be the best looking Gemini client with the most features" -hash="b2e9e50954345b38c4481e200944950675d30cdd4e1d7eef50d5b3a528cc1a0a" -url="https://github.com/makeworld-the-better-one/amfora/releases/download/v${pkgver}/amfora_${pkgver}_linux_64-bit" -maintainer="Elsie19 " -repology=("project: ${pkgname}") - -prepare() { - wget -q https://roboticoverlords.org/amfora.png - if [[ "$(sha256sum amfora.png | cut -d' ' -f 1)" != "3d029d05cff8c42e82685ce7a61fcaa2118e4cbb6a547816a7d5150868a11092" ]]; then - fancy_message error "Checksum for amfora.png failed" - return 1 - fi - wget -q https://raw.githubusercontent.com/makeworld-the-better-one/amfora/master/amfora.desktop - if [[ "$(sha256sum amfora.desktop | cut -d' ' -f 1)" != "812e1faad6f6d4817eac60d36813472afebe2980cd2e661151a3d98669274207" ]]; then - fancy_message error "Checksum for amfora.desktop failed" - return 1 - fi -} +sha256sums=( + "b2e9e50954345b38c4481e200944950675d30cdd4e1d7eef50d5b3a528cc1a0a" + "3d029d05cff8c42e82685ce7a61fcaa2118e4cbb6a547816a7d5150868a11092" + "812e1faad6f6d4817eac60d36813472afebe2980cd2e661151a3d98669274207" +) +source=( + "https://github.com/makeworld-the-better-one/amfora/releases/download/v${pkgver}/amfora_${pkgver}_linux_64-bit" + "amfora.png::https://roboticoverlords.org/amfora.png" + "amfora.desktop::https://raw.githubusercontent.com/makeworld-the-betterne/amfora/master/amfora.desktop" +) +maintainer=("Elsie19 ") +repology=("project: ${gives}") package() { - sudo install -Dm644 amfora.png "${pkgdir}/usr/share/pixmaps/amfora.png" - sudo install -Dm644 amfora.desktop "${pkgdir}/usr/share/applications/amfora.desktop" - sudo install -Dm755 "amfora_${pkgver}_linux_64-bit" "${pkgdir}/usr/bin/${pkgname}" + cd "${_archive}" + install -Dm644 "${srcdir}"/amfora.png "${pkgdir}/usr/share/pixmaps/amfora.png" + install -Dm644 "${srcdir}"/amfora.desktop "${pkgdir}/usr/share/applications/amfora.desktop" + install -Dm755 "amfora_${pkgver}_linux_64-bit" "${pkgdir}/usr/bin/${gives}" } diff --git a/packages/an-anime-game-launcher-bin/an-anime-game-launcher-bin.pacscript b/packages/an-anime-game-launcher-bin/an-anime-game-launcher-bin.pacscript index 58f94a8bed..a36281dc86 100644 --- a/packages/an-anime-game-launcher-bin/an-anime-game-launcher-bin.pacscript +++ b/packages/an-anime-game-launcher-bin/an-anime-game-launcher-bin.pacscript @@ -1,15 +1,20 @@ -name="an-anime-game-launcher-bin" -pkgname="an-anime-game-launcher" +pkgname="an-anime-game-launcher-bin" +gives="an-anime-game-launcher" pkgver="3.9.5" pkgdesc="Launcher for a specific anime game with auto-patching, discord rpc and time tracking" repology=("project: an-anime-game-launcher") -url="https://github.com/an-anime-team/an-anime-game-launcher/releases/download/${pkgver}/anime-game-launcher" -hash="b6a036ec76d4fc2573263fad61ff3ed1e937fa8bdf3e0cddfd79a8cd65e9bb55" +source=( + "https://github.com/an-anime-team/an-anime-game-launcher/releases/download/${pkgver}/anime-game-launcher" + "icon.png::https://raw.githubusercontent.com/an-anime-team/an-anime-game-launcher/main/assets/images/icon.png" +) +sha256sums=( + "b6a036ec76d4fc2573263fad61ff3ed1e937fa8bdf3e0cddfd79a8cd65e9bb55" + "SKIP" +) depends=("xdelta3") -maintainer="Elsie19 " -gives="${pkgname}" +maintainer=("Elsie19 ") incompatible=("ubuntu:bionic" "ubuntu:focal" "ubuntu:jammy" "ubuntu:kinetic" "debian:stretch" "debian:buster" "debian:bullseye") -breaks=("${pkgname}" "${pkgname}-deb" "${pkgname}-app" "${pkgname}-git") +breaks=("${gives}" "${gives}-deb" "${gives}-app" "${gives}-git") optdepends=( "mangohud: FPS Hud/GUI" @@ -19,8 +24,9 @@ optdepends=( ) package() { - sudo install -Dm755 "anime-game-launcher" "${pkgdir}/usr/bin/${pkgname}" - sudo mkdir -p "${pkgdir}/usr/share/applications" + cd "${_archive}" + install -Dm755 "anime-game-launcher" "${pkgdir}/usr/bin/${gives}" + mkdir -p "${pkgdir}/usr/share/applications" echo '[Desktop Entry] Name=An Anime Game Launcher Icon=an-anime-game-launcher @@ -28,9 +34,8 @@ Exec=an-anime-game-launcher Type=Application Categories=Game; Terminal=false -X-AppImage-Version=2.4.2' | sudo tee "${pkgdir}/usr/share/applications/an-anime-game-launcher.desktop" > /dev/null - wget -q https://raw.githubusercontent.com/an-anime-team/an-anime-game-launcher/main/assets/images/icon.png - sudo install -Dm644 "icon.png" "${pkgdir}/usr/share/icons/hicolor/64x64/apps/an-anime-game-launcher.png" +X-AppImage-Version=2.4.2' | tee "${pkgdir}/usr/share/applications/an-anime-game-launcher.desktop" > /dev/null + install -Dm644 "${srcdir}/icon.png" "${pkgdir}/usr/share/icons/hicolor/64x64/apps/an-anime-game-launcher.png" } diff --git a/packages/ananicy-cpp/ananicy-cpp.pacscript b/packages/ananicy-cpp/ananicy-cpp.pacscript index 1df0fee685..31491805bb 100644 --- a/packages/ananicy-cpp/ananicy-cpp.pacscript +++ b/packages/ananicy-cpp/ananicy-cpp.pacscript @@ -1,12 +1,13 @@ -name="ananicy-cpp" +pkgname="ananicy-cpp" pkgver="1.1.0" -url="https://gitlab.com/ananicy-cpp/ananicy-cpp/-/archive/v${pkgver}/ananicy-cpp-v${pkgver}.tar.gz" -hash="49f59e8fa842c7603be344b7317eace773c3e416d881dae4ad7779b39b03fc4a" +source=("https://gitlab.com/ananicy-cpp/ananicy-cpp/-/archive/v${pkgver}/ananicy-cpp-v${pkgver}.tar.gz") +sha256sums=("49f59e8fa842c7603be344b7317eace773c3e416d881dae4ad7779b39b03fc4a") pkgdesc="Rewrite of Ananicy in C++" repology=("project: ananicy-cpp") makedepends=("cmake" "g++" "libsystemd-dev" "ninja-build") build() { + cd "${_archive}" cmake -S . -Bbuild \ -GNinja \ -DCMAKE_BUILD_TYPE=Release \ @@ -17,6 +18,7 @@ build() { } package() { - sudo DESTDIR="${pkgdir}" cmake --install build --component Runtime - sudo install -m755 -d "${pkgdir}/etc/ananicy.d" + cd "${_archive}" + DESTDIR="${pkgdir}" cmake --install build --component Runtime + install -m755 -d "${pkgdir}/etc/ananicy.d" } diff --git a/packages/android-studio-canary/android-studio-canary.pacscript b/packages/android-studio-canary/android-studio-canary.pacscript index f403d2e5ee..7482f975f1 100644 --- a/packages/android-studio-canary/android-studio-canary.pacscript +++ b/packages/android-studio-canary/android-studio-canary.pacscript @@ -1,29 +1,36 @@ -name="android-studio-canary" +pkgname="android-studio-canary" gives="android-studio" repology=("project: ${gives}") -replace=("${gives}-beta" "${gives}" "${name}") +replaces=("${gives}-beta" "${gives}" "${pkgname}") pkgver="2023.1.1.28" -url="https://dl.google.com/dl/android/studio/ide-zips/${pkgver}/${gives}-${pkgver}-linux.tar.gz" +source=( + "https://dl.google.com/dl/android/studio/ide-zips/${pkgver}/${gives}-${pkgver}-linux.tar.gz" + "${gives}.desktop::https://raw.githubusercontent.com/pacstall/pacstall-programs/master/packages/${gives}/${gives}.desktop" +) depends=("libc6-i386" "lib32ncurses6" "lib32stdc++6" "lib32z1" "libbz2-1.0:i386") pkgdesc="Android Studio is the official integrated development environment (IDE) for Google's Android operating system, built on JetBrains' IntelliJ IDEA software and designed specifically for Android development" -hash="139d0dbb4909353b68fbf55c09b6d31a34512044a9d4f02ce0f1a9accca128f9" -maintainer="Oren Klopfer " +sha256sums=( + "139d0dbb4909353b68fbf55c09b6d31a34512044a9d4f02ce0f1a9accca128f9" + "SKIP" +) +maintainer=("Oren Klopfer ") package() { + cd "${_archive}" # Moving all android studio files to /opt - sudo install -d "${pkgdir}/opt/${gives}" - sudo cp -a bin lib jbr plugins license LICENSE.txt build.txt product-info.json "${pkgdir}/opt/${gives}" + install -d "${pkgdir}/opt/${gives}" + cp -a bin lib jbr plugins license LICENSE.txt build.txt product-info.json "${pkgdir}/opt/${gives}" # Creating a launcher in $PATH - sudo install -d "${pkgdir}/usr/bin" + install -d "${pkgdir}/usr/bin" - sudo install -d "${pkgdir}/usr/share/applications" - sudo wget -q "https://raw.githubusercontent.com/pacstall/pacstall-programs/master/packages/${gives}/${gives}.desktop" -O "${pkgdir}//usr/share/applications/${gives}.desktop" + install -d "${pkgdir}/usr/share/applications" + install -Dm644 "${srcdir}/${gives}.desktop" "${pkgdir}/usr/share/applications/${gives}.desktop" - sudo install -Dm644 bin/studio.png "${pkgdir}/usr/share/pixmaps/${gives}.png" - sudo chmod -R ugo+rX "${pkgdir}/opt" - sudo mkdir -p "${pkgdir}/usr/bin" - sudo ln -sf "/opt/${gives}/bin/studio.sh" "${pkgdir}/usr/bin/${gives}" + install -Dm644 bin/studio.png "${pkgdir}/usr/share/pixmaps/${gives}.png" + chmod -R ugo+rX "${pkgdir}/opt" + mkdir -p "${pkgdir}/usr/bin" + ln -sf "/opt/${gives}/bin/studio.sh" "${pkgdir}/usr/bin/${gives}" } post_install() { diff --git a/packages/android-studio/android-studio.pacscript b/packages/android-studio/android-studio.pacscript index a44920c2dc..308d5a64ac 100644 --- a/packages/android-studio/android-studio.pacscript +++ b/packages/android-studio/android-studio.pacscript @@ -1,28 +1,35 @@ -name="android-studio" -repology=("project: ${name}" "repo: aur") -replace=("${name}" "${name}-beta" "${name}-canary") +pkgname="android-studio" +repology=("project: ${pkgname}" "repo: aur") +replaces=("${pkgname}" "${pkgname}-beta" "${pkgname}-canary") pkgver="2023.2.1.25" -url="https://dl.google.com/dl/android/studio/ide-zips/${pkgver}/${name}-${pkgver}-linux.tar.gz" +source=( + "https://dl.google.com/dl/android/studio/ide-zips/${pkgver}/${pkgname}-${pkgver}-linux.tar.gz" + "${pkgname}.desktop::https://raw.githubusercontent.com/pacstall/pacstall-programs/master/packages/${pkgname}/${pkgname}.desktop" +) depends=("libc6-i386" "lib32ncurses6" "lib32stdc++6" "lib32z1" "libbz2-1.0:i386") pkgdesc="Android Studio is the official integrated development environment (IDE) for Google's Android operating system, built on JetBrains' IntelliJ IDEA software and designed specifically for Android development" -hash="cd63ead467dc92a08ff6b3695c01d57e802976fc64acddcd31cd6a2427ffa1bc" -maintainer="Oren Klopfer " +sha256sums=( + "cd63ead467dc92a08ff6b3695c01d57e802976fc64acddcd31cd6a2427ffa1bc" + "SKIP" +) +maintainer=("Oren Klopfer ") package() { + cd "${_archive}" # Moving all android studio files to /opt - sudo install -d "${pkgdir}/opt/${name}" - sudo cp -a bin lib jbr plugins license LICENSE.txt build.txt product-info.json "${pkgdir}/opt/${name}" + install -d "${pkgdir}/opt/${pkgname}" + cp -a bin lib jbr plugins license LICENSE.txt build.txt product-info.json "${pkgdir}/opt/${pkgname}" # Creating a launcher in $PATH - sudo install -d "${pkgdir}/usr/bin" + install -d "${pkgdir}/usr/bin" - sudo install -d "${pkgdir}/usr/share/applications" - sudo wget -q "https://raw.githubusercontent.com/pacstall/pacstall-programs/master/packages/${name}/${name}.desktop" -O "${pkgdir}//usr/share/applications/${name}.desktop" + install -d "${pkgdir}/usr/share/applications" + install -Dm644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop" - sudo install -Dm644 bin/studio.png "${pkgdir}/usr/share/pixmaps/${name}.png" - sudo chmod -R ugo+rX "${pkgdir}/opt" - sudo mkdir -p "${pkgdir}/usr/bin" - sudo ln -sf "/opt/${name}/bin/studio.sh" "${pkgdir}/usr/bin/${name}" + install -Dm644 bin/studio.png "${pkgdir}/usr/share/pixmaps/${pkgname}.png" + chmod -R ugo+rX "${pkgdir}/opt" + mkdir -p "${pkgdir}/usr/bin" + ln -sf "/opt/${pkgname}/bin/studio.sh" "${pkgdir}/usr/bin/${pkgname}" } post_install() { diff --git a/packages/ani-cli-bin/ani-cli-bin.pacscript b/packages/ani-cli-bin/ani-cli-bin.pacscript index 9bee2c786d..5d1c52dea3 100644 --- a/packages/ani-cli-bin/ani-cli-bin.pacscript +++ b/packages/ani-cli-bin/ani-cli-bin.pacscript @@ -1,21 +1,28 @@ -name="ani-cli-bin" -pkgname="ani-cli" +pkgname="ani-cli-bin" +gives="ani-cli" pkgver="4.8" -repology=("project: ${pkgname}") -url="https://github.com/pystardust/ani-cli/releases/download/v${pkgver}/ani-cli" +repology=("project: ${gives}") +source=( + "https://github.com/pystardust/ani-cli/releases/download/v${pkgver}/ani-cli" + "ani-cli.1::https://github.com/pystardust/ani-cli/releases/download/v${pkgver}/ani-cli.1" +) depends=("grep" "sed" "wget" "mpv" "aria2" "ffmpeg" "fzf") -hash="4a21690493b4aee4165f1881b19d9d696c9f56c5687940e587c542c6caa7c6fe" +sha256sums=( + "4a21690493b4aee4165f1881b19d9d696c9f56c5687940e587c542c6caa7c6fe" + "SKIP" +) pkgdesc="A cli tool to browse and play anime" -maintainer="Elsie19 " +maintainer=("Elsie19 ") prepare() { + cd "${_archive}" chmod +x ani-cli - wget -q "https://github.com/pystardust/ani-cli/releases/download/v${pkgver}/ani-cli.1" - gzip -9n ani-cli.1 + gzip -9n "${srcdir}"/ani-cli.1 } package() { - sudo install -Dm755 "./ani-cli" "${pkgdir}/usr/bin/ani-cli" - sudo install -Dm644 "./ani-cli.1.gz" "${pkgdir}/usr/share/man/man1/ani-cli.1.gz" + cd "${_archive}" + install -Dm755 "./ani-cli" "${pkgdir}/usr/bin/ani-cli" + install -Dm644 "./ani-cli.1.gz" "${pkgdir}/usr/share/man/man1/ani-cli.1.gz" } # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/anydesk-bin/anydesk-bin.pacscript b/packages/anydesk-bin/anydesk-bin.pacscript index 0a216b9958..0589b51fce 100644 --- a/packages/anydesk-bin/anydesk-bin.pacscript +++ b/packages/anydesk-bin/anydesk-bin.pacscript @@ -1,32 +1,33 @@ -name="anydesk-bin" +pkgname="anydesk-bin" gives="anydesk" breaks=("${gives}-deb") -replace=("${gives}") +replaces=("${gives}") repology=("project: ${gives}") pkgver="6.3.0" -url="https://download.anydesk.com/linux/${gives}-${pkgver}-amd64.tar.gz" +source=("https://download.anydesk.com/linux/${gives}-${pkgver}-amd64.tar.gz") depends=("libc6" "libgcc1" "libglib2.0-0" "libgtk2.0-0" "libstdc++6" "libx11-6" "libxcb-shm0" "libxcb1" "libpango1.0-dev" "libcairo2" "libxrandr2" "libx11-xcb1" "libxtst6" "libxfixes3" "libxdamage1" "libgtkglext1") pkgdesc="Platform independent remote access to personal computers and other devices running the host application - Binary version" -hash="b1e3337d35ce19af93963829988b2014e8acfbbf6bd1b5adfb8bc7dcd6fee452" +sha256sums=("b1e3337d35ce19af93963829988b2014e8acfbbf6bd1b5adfb8bc7dcd6fee452") arch=('amd64') package() { + cd "${_archive}" # Binary - sudo install -Dm755 "${gives}" -t "${pkgdir}/usr/bin" + install -Dm755 "${gives}" -t "${pkgdir}/usr/bin" # Polkit - sudo mkdir -p "${pkgdir}/usr/share/polkit-1/actions" - sudo mv "./polkit-1/com.anydesk.anydesk.policy" "${pkgdir}/usr/share/polkit-1/actions" + mkdir -p "${pkgdir}/usr/share/polkit-1/actions" + mv "./polkit-1/com.anydesk.anydesk.policy" "${pkgdir}/usr/share/polkit-1/actions" # .desktop - sudo install -Dm755 anydesk.desktop -t "${pkgdir}/usr/share/applications" + install -Dm755 anydesk.desktop -t "${pkgdir}/usr/share/applications" # Systemd - sudo mkdir -p "${pkgdir}/usr/share/anydesk/files/systemd" - sudo mv "./systemd/anydesk.service" "${pkgdir}/usr/share/anydesk/files/systemd" + mkdir -p "${pkgdir}/usr/share/anydesk/files/systemd" + mv "./systemd/anydesk.service" "${pkgdir}/usr/share/anydesk/files/systemd" # Init - sudo mkdir -p "${pkgdir}/usr/share/anydesk/files/init" - sudo mv "./init/anydesk" "${pkgdir}/usr/share/anydesk/files/init" + mkdir -p "${pkgdir}/usr/share/anydesk/files/init" + mv "./init/anydesk" "${pkgdir}/usr/share/anydesk/files/init" # Icon - sudo mkdir -p "${pkgdir}/usr/share/icons/hicolor/" - sudo mv "./icons/hicolor/"* "${pkgdir}/usr/share/icons/hicolor/" + mkdir -p "${pkgdir}/usr/share/icons/hicolor/" + mv "./icons/hicolor/"* "${pkgdir}/usr/share/icons/hicolor/" } # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/anydesk-deb/anydesk-deb.pacscript b/packages/anydesk-deb/anydesk-deb.pacscript index 21493ea604..1051894ab1 100644 --- a/packages/anydesk-deb/anydesk-deb.pacscript +++ b/packages/anydesk-deb/anydesk-deb.pacscript @@ -1,10 +1,10 @@ -name="anydesk-deb" +pkgname="anydesk-deb" gives="anydesk" repology=("project: ${gives}") pkgver="6.3.0" -url="http://deb.anydesk.com/pool/main/a/${gives}/${gives}_${pkgver}_amd64.deb" +source=("http://deb.anydesk.com/pool/main/a/${gives}/${gives}_${pkgver}_amd64.deb") breaks=("${gives}-bin") pkgdesc="AnyDesk provides platform independent remote access to personal computers and other devices running the host application" -hash="30f6e44cea28428d1cb645055fae72cf166f63318e0c94f2c12d18a3614ce30c" +sha256sums=("30f6e44cea28428d1cb645055fae72cf166f63318e0c94f2c12d18a3614ce30c") arch=('amd64') -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") diff --git a/packages/anytype-deb/anytype-deb.pacscript b/packages/anytype-deb/anytype-deb.pacscript index ea8af3119d..4dbb7a7efd 100644 --- a/packages/anytype-deb/anytype-deb.pacscript +++ b/packages/anytype-deb/anytype-deb.pacscript @@ -1,13 +1,13 @@ -name="anytype-deb" +pkgname="anytype-deb" gives="anytype" pkgver="0.37.3" pkgdesc="Operating environment for the new internet. Anytype is a next generation software that breaks down barriers between applications, gives back privacy and data ownership to users." -hash="0877d61d598f2917ef5a8a30974e63f1bb3dbefd0d67065b8ace07617523fba4" -maintainer="Anifyuli " +sha256sums=("0877d61d598f2917ef5a8a30974e63f1bb3dbefd0d67065b8ace07617523fba4") +maintainer=("Anifyuli ") arch=('amd64') -url="https://github.com/anyproto/anytype-ts/releases/download/v${pkgver}/anytype_${pkgver}_amd64.deb" +source=("https://github.com/anyproto/anytype-ts/releases/download/v${pkgver}/anytype_${pkgver}_amd64.deb") homepage='https://anytype.io/' repology=("project: ${gives}") diff --git a/packages/appimagelauncher-deb/appimagelauncher-deb.pacscript b/packages/appimagelauncher-deb/appimagelauncher-deb.pacscript index 928b1668e9..965b7b4a20 100644 --- a/packages/appimagelauncher-deb/appimagelauncher-deb.pacscript +++ b/packages/appimagelauncher-deb/appimagelauncher-deb.pacscript @@ -1,9 +1,9 @@ -name="appimagelauncher-deb" +pkgname="appimagelauncher-deb" gives="appimagelauncher" pkgver="2.2.0" -url="https://github.com/TheAssassin/AppImageLauncher/releases/download/v${pkgver}/${gives}_${pkgver}-travis995.0f91801.bionic_amd64.deb" +source=("https://github.com/TheAssassin/AppImageLauncher/releases/download/v${pkgver}/${gives}_${pkgver}-travis995.0f91801.bionic_amd64.deb") pkgdesc="Helper application for Linux distributions serving as a kind of entry point for running and integrating AppImages." -hash="f4b9db56a6ba7dd091074b14157612986a9f6a0cb3fcd230abfc8f4555c70a7f" +sha256sums=("f4b9db56a6ba7dd091074b14157612986a9f6a0cb3fcd230abfc8f4555c70a7f") arch=('amd64') repology=("project: ${gives}") -maintainer="Zahrun " +maintainer=("Zahrun ") diff --git a/packages/apx-git/apx-git.pacscript b/packages/apx-git/apx-git.pacscript old mode 100755 new mode 100644 index 2841ea0627..7c81823093 --- a/packages/apx-git/apx-git.pacscript +++ b/packages/apx-git/apx-git.pacscript @@ -1,27 +1,27 @@ -name="apx-git" -pkgname="apx" -url="https://github.com/Vanilla-OS/apx.git" +pkgname="apx-git" +gives="apx" +source=("https://github.com/Vanilla-OS/apx.git") pkgver="2.4.0" makedepends=("golang-go") pacdeps=("distrobox") -breaks=("${pkgname}") +breaks=("${gives}") pkgdesc="Package manager meant to be simple to use, but also powerful with support to installing packages from multiple sources without altering the root filesystem" -maintainer="Zahrun " -pkgver() { - git ls-remote "${url}" main | cut -f1 | cut -c1-8 -} +maintainer=("Zahrun ") incompatible=("debian:bullseye") prepare() { + cd "${_archive}" sed -i "s;/usr/share/apx/distrobox/distrobox;/usr/bin/distrobox;" config/apx.json sed -i "/distrobox/d" Makefile sed -i "s|install: build|install:|" Makefile } build() { + cd "${_archive}" make build } package() { - sudo make install{,-manpages} DESTDIR="${pkgdir}" + cd "${_archive}" + make install{,-manpages} DESTDIR="${pkgdir}" } diff --git a/packages/ardour-git/ardour-git.pacscript b/packages/ardour-git/ardour-git.pacscript index 59f151bf37..962c1834f8 100644 --- a/packages/ardour-git/ardour-git.pacscript +++ b/packages/ardour-git/ardour-git.pacscript @@ -1,7 +1,7 @@ -maintainer="echometerain " +maintainer=("echometerain ") # Author: David Runge -name="ardour-git" +pkgname="ardour-git" pkgdesc="Professional-grade digital audio workstation" depends=("alsa-utils" "libqm-dsp0" "libcairo2" "libgcc-s1" "libglib2.0-0" "libglibmm-2.4-1v5" "libgtkmm-2.4-1v5" "libx11-6" "libxml2" "libsoundtouch1" "libtag1v5" "libflac8" "libasound2" "libatkmm-1.6-1v5" "libaubio5" "libarchive13" "libcairomm-1.0-1v5" "libcurl4" "libdbus-1-3" "libfftw3-3" "fontconfig" "libfreetype6" "libgdk-pixbuf-2.0-0" "libgtk2.0-0" "libgio-cil" "libglib2.0-cil" "libglib2.0-0" "libcairo-gobject2" "jackd2" "liblo7" "liblilv-0-0" "libltc11" "libogg0" "libpango-1.0-0" "libpangocairo-1.0-0" "libpangoft2-1.0-0" "libpangomm-1.4-1v5" "libpulse0" "libreadline8" "librubberband2" "libsamplerate0" "libserd-0-0" "libsndfile1" "libsord-0-0" "libsratom-0-0" "libsuil-0-0" "libusb-1.0-0" "libvamp-hostsdk3v5" "libvamp-sdk2v5" "libwebsockets-dev" "fluidsynth") makedepends=("python3" "python-is-python3" "libgio2.0-cil-dev" "python3" "libqm-dsp-dev" "libcairo2-dev" "libglib2.0-dev" "libglibmm-2.4-dev" "libgtkmm-2.4-dev" "libx11-dev" "libxml2-dev" "libsoundtouch-dev" "libtag1-dev" "libatkmm-1.6-dev" "libaubio-dev" "libboost-all-dev" "libcairomm-1.0-dev" "libcppunit-dev" "libdbus-1-dev" "doxygen" "libfftw3-dev" "libflac-dev" "libfontconfig-dev" "libfreetype6-dev" "libgdk-pixbuf2.0-0" "graphviz" "libgtk2.0-dev" "libhidapi-dev" "itstool" "libjack-jackd2-dev" "libarchive-dev" "liblo-dev" "libltc-dev" "libogg-dev" "libpulse-dev" "libsamplerate0-dev" "libsndfile1-dev" "libusb-1.0-0-dev" "libwebsockets-dev" "liblilv-dev" "lv2-dev" "libpango1.0-dev" "libpangomm-1.4-dev" "libreadline-dev" "librubberband-dev" "libserd-dev" "libsord-dev" "libsratom-dev" "libsuil-dev" "vamp-plugin-sdk" "libfluidsynth-dev" "liblrdf0-dev" "libraptor2-dev" "libcurl4-gnutls-dev" "libasound2-dev") @@ -10,14 +10,12 @@ optdepends=("xjadeo: video monitoring" "linuxaudio-new-session-manager: for session management") provides="ladspa-host lv2-host vst-host vst3-host ardour ardour-data" breaks="ardour" -url="https://github.com/Ardour/ardour.git" +source=("https://github.com/Ardour/ardour.git") pkgver="7.5" # patch="https://github.com/archlinux/svntogit-community/blob/packages/ardour/trunk/ardour-6.2-vendor_qm-dsp.patch" -pkgver() { - git ls-remote "${url}" master | head -n1 | cut -f1 | cut -c1-8 -} prepare() { + cd "${_archive}" # Patch uses vendored version of qm-dsp because qm-dsp >= 1.8.0 is not compatible # will be applied when ubuntu starts supporting qm-dsp 1.8.0 # unsetting gtk2 rc (FS#54389) @@ -27,6 +25,7 @@ prepare() { } build() { + cd "${_archive}" # export LINKFLAGS="$LDFLAGS" ./waf configure --prefix=/usr \ --configdir=/etc \ @@ -43,16 +42,17 @@ build() { } package() { - sudo ./waf i18n --destdir="${pkgdir}" - sudo ./waf install --destdir="${pkgdir}" + cd "${_archive}" + ./waf i18n --destdir="${pkgdir}" + ./waf install --destdir="${pkgdir}" wait # man pages - sudo install -vDm 644 "./ardour.1" -t "/usr/share/man/man1/" + install -vDm 644 "./ardour.1" -t "/usr/share/man/man1/" # File types - sudo install -vDm 644 "./build/gtk2_ardour/ardour.xml" -t "/usr/share/mime/packages/" + install -vDm 644 "./build/gtk2_ardour/ardour.xml" -t "/usr/share/mime/packages/" } post_install() { diff --git a/packages/arduino-cli-bin/arduino-cli-bin.pacscript b/packages/arduino-cli-bin/arduino-cli-bin.pacscript index 8a4859a860..1ae21bd001 100644 --- a/packages/arduino-cli-bin/arduino-cli-bin.pacscript +++ b/packages/arduino-cli-bin/arduino-cli-bin.pacscript @@ -1,13 +1,14 @@ -name="arduino-cli-bin" -pkgname="arduino-cli" -repology=("project: ${pkgname}") +pkgname="arduino-cli-bin" +gives="arduino-cli" +repology=("project: ${gives}") pkgver="0.35.3" -maintainer="DismissedGuy " -breaks=("${pkgname}" "${pkgname}-deb" "${pkgname}-app" "${pkgname}-git") -url="https://github.com/arduino/arduino-cli/releases/download/v${pkgver}/${pkgname}_${pkgver}_Linux_64bit.tar.gz" +maintainer=("DismissedGuy ") +breaks=("${gives}" "${gives}-deb" "${gives}-app" "${gives}-git") +source=("https://github.com/arduino/arduino-cli/releases/download/v${pkgver}/${gives}_${pkgver}_Linux_64bit.tar.gz") pkgdesc="An all-in-one solution that provides Boards/Library Managers, sketch builder, board detection, uploader, and many other tools needed to use any Arduino compatible board and platform from command line or machine interfaces" -hash="acf3a3e03f0478a1cade44d23d4bc2f979c9b61b64e13bc66e26220b7b9fbd23" +sha256sums=("acf3a3e03f0478a1cade44d23d4bc2f979c9b61b64e13bc66e26220b7b9fbd23") package() { - sudo install -Dm755 "${pkgname}" -t "${pkgdir}/usr/bin" + cd "${_archive}" + install -Dm755 "${gives}" -t "${pkgdir}/usr/bin" } diff --git a/packages/arduino-ide-bin/arduino-ide-bin.pacscript b/packages/arduino-ide-bin/arduino-ide-bin.pacscript index 109ac0b441..d07ab90182 100644 --- a/packages/arduino-ide-bin/arduino-ide-bin.pacscript +++ b/packages/arduino-ide-bin/arduino-ide-bin.pacscript @@ -1,33 +1,41 @@ -name="arduino-ide-bin" -pkgname="arduino-ide" +pkgname="arduino-ide-bin" +gives="arduino-ide" pkgver="2.3.2" repology=("project: arduino") -maintainer="DismissedGuy " -breaks=("${pkgname}" "${pkgname}-deb" "${pkgname}-app" "${pkgname}-git") -url="https://downloads.arduino.cc/${pkgname}/${pkgname}_${pkgver}_Linux_64bit.zip" +maintainer=("DismissedGuy ") +breaks=("${gives}" "${gives}-deb" "${gives}-app" "${gives}-git") +source=( + "https://downloads.arduino.cc/${gives}/${gives}_${pkgver}_Linux_64bit.zip" + "arduino.svg::https://www.arduino.cc/wiki/370832ed4114dd35d498f2f449b4781e/arduino.svg" + "${gives}.desktop::https://raw.githubusercontent.com/pacstall/pacstall-programs/master/packages/${pkgname}/${gives}.desktop" +) pkgdesc="An open-source IDE that makes it easy to write code and upload it to Arduino boards" -hash="1a23b911043a247116ace846f03a0265c719dcd49cf9a8af09334db4d3916e88" +sha256sums=( + "1a23b911043a247116ace846f03a0265c719dcd49cf9a8af09334db4d3916e88" + "SKIP" + "SKIP" +) prepare() { + cd "${_archive}" # potential leftover symlink from v1 - sudo rm -f "/usr/local/bin/arduino" + rm -f "/usr/local/bin/arduino" - sudo mkdir -p "${pkgdir}/usr/share/${pkgname}/" - sudo mkdir -p "${pkgdir}/usr/share/applications/" - sudo mkdir -p "${pkgdir}/usr/share/pixmaps/" + mkdir -p "${pkgdir}/usr/share/${gives}/" + mkdir -p "${pkgdir}/usr/share/applications/" + mkdir -p "${pkgdir}/usr/share/pixmaps/" } package() { + cd "${_archive}" # install files - sudo cp -R ./* "${pkgdir}/usr/share/${pkgname}/" + cp -R ./* "${pkgdir}/usr/share/${gives}/" # fetch .desktop file + icon - wget -q "https://www.arduino.cc/wiki/370832ed4114dd35d498f2f449b4781e/arduino.svg" - sudo install -Dm644 "arduino.svg" "${pkgdir}/usr/share/pixmaps/arduino-ide-v2.svg" - wget -q "https://raw.githubusercontent.com/pacstall/pacstall-programs/master/packages/${name}/${pkgname}.desktop" - sudo install -Dm644 "${pkgname}.desktop" "${pkgdir}/usr/share/applications/" - sudo mkdir -p "${pkgdir}/usr/local/bin" - sudo ln -sf "/usr/share/${pkgname}/arduino-ide" "${pkgdir}/usr/local/bin/arduino-ide" + install -Dm644 "${srcdir}/arduino.svg" "${pkgdir}/usr/share/pixmaps/arduino-ide-v2.svg" + install -Dm644 "${srcdir}/${gives}.desktop" "${pkgdir}/usr/share/applications/" + mkdir -p "${pkgdir}/usr/local/bin" + ln -sf "/usr/share/${gives}/arduino-ide" "${pkgdir}/usr/local/bin/arduino-ide" } post_install() { diff --git a/packages/armcord-deb/armcord-deb.pacscript b/packages/armcord-deb/armcord-deb.pacscript index ffacdfc39c..5aaff399d9 100644 --- a/packages/armcord-deb/armcord-deb.pacscript +++ b/packages/armcord-deb/armcord-deb.pacscript @@ -1,14 +1,11 @@ -name="armcord-deb" +pkgname="armcord-deb" gives="armcord" depends=("libgtk-3-0" "libnotify4" "libnss3" "libxss1" "libxtst6" "xdg-utils" "libatspi2.0-0" "libuuid1" "libsecret-1-0") repology=("project: ${gives}") pkgver="3.2.6" arch=('arm64' 'amd64') -if [[ ${CARCH} == "arm64" ]]; then - hash="fee936b25a4d175b124d6eb3df5f5883dcb1fece397c93ef250269635d542d5c" -else - hash="f40731a82c612c08d87256b0ea5ae2d3a4743e04107911d36cb24b11d8430965" -fi -url="https://github.com/ArmCord/ArmCord/releases/download/v${pkgver}/ArmCord_${pkgver}_${CARCH}.deb" +sha256sums_arm64=("fee936b25a4d175b124d6eb3df5f5883dcb1fece397c93ef250269635d542d5c") +sha256sums_amd64=("f40731a82c612c08d87256b0ea5ae2d3a4743e04107911d36cb24b11d8430965") +source=("https://github.com/ArmCord/ArmCord/releases/download/v${pkgver}/ArmCord_${pkgver}_${CARCH}.deb") pkgdesc="Custom client designed to enhance your Discord experience while keeping everything lightweight" -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") diff --git a/packages/aseprite/aseprite.pacscript b/packages/aseprite/aseprite.pacscript index a11ddce8b3..3633737c36 100644 --- a/packages/aseprite/aseprite.pacscript +++ b/packages/aseprite/aseprite.pacscript @@ -2,31 +2,33 @@ # https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=aseprite # Credit to the listed maintainers & contributors -name="aseprite" +pkgname="aseprite" pkgver="1.3.6" pkgdesc="Animated sprite editor & pixel art tool" -repology=("project: ${name}") -homepage="https://www.aseprite.org/" +repology=("project: ${pkgname}") +url="https://www.aseprite.org/" makedepends=("clang" "cmake" "libc++-dev" "libc++abi-dev" "libfontconfig1-dev" "libgl1-mesa-dev" "libxi-dev" "ninja-build" "xorg-dev") depends=("hicolor-icon-theme") arch=("amd64") -maintainer="vigress8 " -url="https://github.com/${name}/${name}/releases/download/v${pkgver}/Aseprite-v${pkgver}-Source.zip" -hash="5e974aa2786297981cd5ebe81f040a49b722bddfe33d70def207ad06cb0d34fc" +maintainer=("vigress8 ") skiaver="m102-861e4743af" -skiaurl="https://github.com/${name}/skia/releases/download/${skiaver}/Skia-Linux-Release-x64-libc++.zip" -skiahash="66293c15aa773a96121afb01f09109d3e5d455a6fd51944e0bb8bdc0829913ea" +source=( + "https://github.com/${pkgname}/${pkgname}/releases/download/v${pkgver}/Aseprite-v${pkgver}-Source.zip" + "https://github.com/${pkgname}/skia/releases/download/${skiaver}/Skia-Linux-Release-x64-libc++.zip" +) +sha256sums=( + "5e974aa2786297981cd5ebe81f040a49b722bddfe33d70def207ad06cb0d34fc" + "66293c15aa773a96121afb01f09109d3e5d455a6fd51944e0bb8bdc0829913ea" +) +noextract=("Skia-Linux-Release-x64-libc++.zip") prepare() { - wget -q "${skiaurl}" - if [[ $(sha256sum "Skia-Linux-Release-x64-libc++.zip" | cut -d' ' -f1) != "${skiahash}" ]]; then - fancy_message error "Could not verify integrity of Skia-Linux-Release-x64-libc++.zip" - return 1; - fi - unzip -qq "Skia-Linux-Release-x64-libc++.zip" -d skia + cd "${_archive}" + unzip -qq "${srcdir}/Skia-Linux-Release-x64-libc++.zip" -d skia } build() { + cd "${_archive}" export CC=clang export CXX=clang++ export AR=ar @@ -53,21 +55,22 @@ build() { } package() { - sudo cmake --install build --prefix="${pkgdir}/usr" --strip + cd "${_archive}" + cmake --install build --prefix="${pkgdir}/usr" --strip # Install the icons in the correct directory (which is not the default) local _size for _size in 16 32 48 64 128 256; do - sudo install -Dm644 "${pkgdir}/usr/share/${name}/data/icons/ase${_size}.png" \ + install -Dm644 "${pkgdir}/usr/share/${pkgname}/data/icons/ase${_size}.png" \ -t "${pkgdir}/usr/share/icons/hicolor/${_size}x${_size}/apps" done # Delete the icons to avoid copying them in two places (they aren't used by Aseprite itself) - sudo rm -rf "${pkgdir}/usr/share/${name}/data/icons" + rm -rf "${pkgdir}/usr/share/${pkgname}/data/icons" # Install the licenses - sudo install -Dm644 {EULA.txt,docs/LICENSES.md} -t "${pkgdir}/usr/share/licenses/${name}" - sudo install -m644 "data/fonts/LICENSE.txt" "${pkgdir}/usr/share/licenses/${name}/font.txt" + install -Dm644 {EULA.txt,docs/LICENSES.md} -t "${pkgdir}/usr/share/licenses/${pkgname}" + install -m644 "data/fonts/LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/font.txt" } pre_install() { fancy_message warn "Aseprite is non-free software. Distributing the binary files produced by this script is forbidden. For more information, read Aseprite's EULA: - https://github.com/${name}/${name}/blob/main/EULA.txt" + https://github.com/${pkgname}/${pkgname}/blob/main/EULA.txt" } diff --git a/packages/awesome-git/awesome-git.pacscript b/packages/awesome-git/awesome-git.pacscript index f48b4858e6..a529f0c7b2 100644 --- a/packages/awesome-git/awesome-git.pacscript +++ b/packages/awesome-git/awesome-git.pacscript @@ -4,12 +4,12 @@ # \ // \/ -- \ # \__/\ / \_______ \______ / # \/ \/ \/ -maintainer="wizard-28 " +maintainer=("wizard-28 ") -name="awesome-git" -pkgname="awesome" +pkgname="awesome-git" +gives="awesome" pkgdesc="awesome window manager" -url="https://github.com/awesomeWM/${pkgname}.git" +source=("https://github.com/awesomeWM/${gives}.git") pkgver="4.3" depends=("libx11-6" "libxcb-cursor0" "libxcb-icccm4" "libxcb-keysyms1" "libxcb-randr0" "libxcb-shape0" "libxcb-util1" "libxcb-xinerama0" "libxcb-xkb1" "libxcb-xrm0" "libxcb-xtest0" "libxcb1" "libxdg-basedir1" "libxkbcommon-x11-0" "libxkbcommon0" "libstartup-notification0" "libglib2.0-0" "libgdk-pixbuf2.0-0" "libgdk-pixbuf-2.0-0" "libdbus-1-3" "libcairo2" "libcairo-gobject2" "gir1.2-glib-2.0" "gir1.2-gdkpixbuf-2.0" "gir1.2-freedesktop" "lua5.3" "liblua5.3-0" "dbus-x11" "libnotify-bin" "wmctrl" "x11-apps" "xcb-proto" "xdotool" "xorg" "lua-lgi") makedepends=("asciidoctor" "gir1.2-pango-1.0" "gir1.2-gtk-3.0" "git" "gzip" "lua-ldoc" "imagemagick" "asciidoc" "xmlto" "cmake" "lua-busted" "lua-check" "liblua5.3-dev" "libxcb-cursor-dev" "libxcb-util0-dev" "libxcb-keysyms1-dev" "libxcb-icccm4-dev" "libxcb-xkb-dev" "libxkbcommon-dev" "libstartup-notification0-dev" "libxdg-basedir-dev" "libxcb-xrm-dev" "libxkbcommon-x11-dev" "lua-lgi" "libglib2.0-dev" "libgdk-pixbuf2.0-dev" "libxcb-xinerama0-dev" "gettext" "libdbus-1-dev" "libgirepository1.0-dev" "libpango1.0-dev" "libx11-xcb-dev" "libxcb-randr0-dev" "libxcb-shape0-dev" "libxcb-xfixes0-dev" "xutils-dev" "libluajit-5.1-dev" "libcairo2-dev" "lua-discount" "x11proto-dev" "libxcb-xtest0-dev" "libmarkdown2" "libyaml-dev" "lua-any" "lua-cliargs" "lua-dkjson" "lua-filesystem" "lua-inifile" "lua-luassert" "lua-mediator" "lua-penlight" "lua-say" "lua-system" "lua-term" "lua5.2" "libc6" "luajit") @@ -19,22 +19,21 @@ optdepends=("rlwrap: readline support for awesome-client" "feh: for icon generation etc" "awesome-extra: additional modules for awesome" "awesome-doc: documentation for awesome") -breaks=("${pkgname}" "${pkgname}-bin") -replace=("${pkgname}" "${pkgname}-bin") -pkgver() { - git ls-remote "${url}" master | cut -f1 | cut -c1-8 -} +breaks=("${gives}" "${gives}-bin") +replaces=("${gives}" "${gives}-bin") build() { + cd "${_archive}" # Build rquired files make -j"${NCPU}" DESTDIR="${pkgdir}" } package() { + cd "${_archive}" # Install awesome - sudo make install DESTDIR="${pkgdir}" - sudo mkdir -p "${pkgdir}/usr/share/xsessions" - sudo ln -sf /usr/local/share/xsessions/"${pkgname}".desktop "${pkgdir}/usr/share/xsessions/${pkgname}.desktop" + make install DESTDIR="${pkgdir}" + mkdir -p "${pkgdir}/usr/share/xsessions" + ln -sf /usr/local/share/xsessions/"${gives}".desktop "${pkgdir}/usr/share/xsessions/${gives}.desktop" } # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/aws-cli-v2-bin/aws-cli-v2-bin.pacscript b/packages/aws-cli-v2-bin/aws-cli-v2-bin.pacscript index 7535a1ab35..0f0883de97 100644 --- a/packages/aws-cli-v2-bin/aws-cli-v2-bin.pacscript +++ b/packages/aws-cli-v2-bin/aws-cli-v2-bin.pacscript @@ -1,23 +1,24 @@ -name="aws-cli-v2-bin" -pkgname="aws-cli-v2" +pkgname="aws-cli-v2-bin" +gives="aws-cli-v2" pkgver="2.15.13" -url="https://awscli.amazonaws.com/awscli-exe-linux-x86_64-${pkgver}.zip" +source=("https://awscli.amazonaws.com/awscli-exe-linux-x86_64-${pkgver}.zip") pkgdesc="Universal Command Line Interface for Amazon Web Services v2" depends=("groff" "less") makedepends=("unzip") -replace=("awscli") +replaces=("awscli") repology=("project: awscli") arch=('amd64') -hash="f02d22d9dd8b7c84c4158df7013133087a64d48f0e776d6ba2be0eaa00c03fb6" -maintainer="Oren Klopfer " +sha256sums=("f02d22d9dd8b7c84c4158df7013133087a64d48f0e776d6ba2be0eaa00c03fb6") +maintainer=("Oren Klopfer ") package() { - sudo ./install --install-dir "${pkgdir}/usr/local/aws-cli" --bin-dir "/usr/local/bin" + cd "${_archive}" + ./install --install-dir "${pkgdir}/usr/local/aws-cli" --bin-dir "/usr/local/bin" # bash autocompletion echo "complete -C '/usr/local/bin/aws_completer' aws" > "aws-cli_bash_completion" - sudo install -Dm644 aws-cli_bash_completion "${pkgdir}/etc/bash_completion.d/${pkgname}" + install -Dm644 aws-cli_bash_completion "${pkgdir}/etc/bash_completion.d/${gives}" } post_remove() { diff --git a/packages/balena-etcher-deb/balena-etcher-deb.pacscript b/packages/balena-etcher-deb/balena-etcher-deb.pacscript index 5e5dcd35ec..b910eea127 100644 --- a/packages/balena-etcher-deb/balena-etcher-deb.pacscript +++ b/packages/balena-etcher-deb/balena-etcher-deb.pacscript @@ -1,9 +1,9 @@ -name="balena-etcher-deb" +pkgname="balena-etcher-deb" gives="balena-etcher" repology=("project: balena-etcher") pkgver="1.18.12" -url="https://github.com/balena-io/etcher/releases/download/v${pkgver}/balena-etcher_${pkgver}_amd64.deb" +source=("https://github.com/balena-io/etcher/releases/download/v${pkgver}/balena-etcher_${pkgver}_amd64.deb") pkgdesc="Flash OS images to SD cards & USB drives, safely and easily" -hash="51cb35f3bc53a5b449ecfdf684297c7073f13b71c2b38e199de01ab34e371579" +sha256sums=("51cb35f3bc53a5b449ecfdf684297c7073f13b71c2b38e199de01ab34e371579") arch=('amd64') -maintainer="cat-master21 <96554164+cat-master21@users.noreply.github.com>" +maintainer=("cat-master21 <96554164+cat-master21@users.noreply.github.com>") diff --git a/packages/bat-deb/bat-deb.pacscript b/packages/bat-deb/bat-deb.pacscript index 25b82c5b5e..344df2e31a 100644 --- a/packages/bat-deb/bat-deb.pacscript +++ b/packages/bat-deb/bat-deb.pacscript @@ -1,11 +1,11 @@ -name="bat-deb" +pkgname="bat-deb" gives="bat" -replace=("${gives}") +replaces=("${gives}") pkgver="0.24.0" -url="https://github.com/sharkdp/${gives}/releases/download/v${pkgver}/bat_${pkgver}_amd64.deb" +source=("https://github.com/sharkdp/${gives}/releases/download/v${pkgver}/bat_${pkgver}_amd64.deb") pkgdesc="A cat(1) clone with wings" -hash="fa9353fa0c6e1e67b87757c4bd6bf515f85d3fc16d41b12cc26f7a673892ad01" -maintainer="Elsie19 " +sha256sums=("fa9353fa0c6e1e67b87757c4bd6bf515f85d3fc16d41b12cc26f7a673892ad01") +maintainer=("Elsie19 ") arch=('amd64') repology=("project: bat-cat") diff --git a/packages/bat/bat.pacscript b/packages/bat/bat.pacscript index 42ee0ca1c1..00a109f38c 100644 --- a/packages/bat/bat.pacscript +++ b/packages/bat/bat.pacscript @@ -1,25 +1,27 @@ -name="bat" +pkgname="bat" pkgver="0.24.0" -url="https://github.com/sharkdp/bat/archive/refs/tags/v${pkgver}.tar.gz" +source=("https://github.com/sharkdp/bat/archive/refs/tags/v${pkgver}.tar.gz") makedepends="cargo libonig-dev pkg-config" depends=("libonig5") -replace=("bat") +replaces=("bat") pkgdesc="A cat(1) clone with wings" -hash="907554a9eff239f256ee8fe05a922aad84febe4fe10a499def72a4557e9eedfb" +sha256sums=("907554a9eff239f256ee8fe05a922aad84febe4fe10a499def72a4557e9eedfb") build() { + cd "${_archive}" RUSTONIG_SYSTEM_LIBONIG=1 cargo build -j"${NCPU}" --release --locked } package() { - sudo install -Dm755 target/release/bat -t "${pkgdir}/usr/bin" + cd "${_archive}" + install -Dm755 target/release/bat -t "${pkgdir}/usr/bin" - sudo install -Dm644 "$(find target -name bat.bash -print -quit)" "${pkgdir}/usr/share/bash-completion/completions/bat" - sudo install -Dm644 "$(find target -name bat.fish -print -quit)" -t "${pkgdir}/usr/share/fish/vendor_completions.d" - sudo install -Dm644 "$(find target -name bat.zsh -print -quit)" "${pkgdir}/usr/share/zsh/vendor-completions/_bat" + install -Dm644 "$(find target -name bat.bash -print -quit)" "${pkgdir}/usr/share/bash-completion/completions/bat" + install -Dm644 "$(find target -name bat.fish -print -quit)" -t "${pkgdir}/usr/share/fish/vendor_completions.d" + install -Dm644 "$(find target -name bat.zsh -print -quit)" "${pkgdir}/usr/share/zsh/vendor-completions/_bat" - gzip -c "$(find target -name bat.1 | head -n1)" > "${name}.1.gz" - sudo install -Dm644 "${name}.1.gz" -t "${pkgdir}/usr/share/man/man1" + gzip -c "$(find target -name bat.1 | head -n1)" > "${pkgname}.1.gz" + install -Dm644 "${pkgname}.1.gz" -t "${pkgdir}/usr/share/man/man1" - sudo install -Dm644 LICENSE-MIT -t "${pkgdir}/usr/share/licenses/${name}" + install -Dm644 LICENSE-MIT -t "${pkgdir}/usr/share/licenses/${pkgname}" } diff --git a/packages/batsignal/batsignal.pacscript b/packages/batsignal/batsignal.pacscript index ebd218b6be..8989aeae49 100644 --- a/packages/batsignal/batsignal.pacscript +++ b/packages/batsignal/batsignal.pacscript @@ -1,19 +1,21 @@ -name="batsignal" -repology=("project: ${name}") +pkgname="batsignal" +repology=("project: ${pkgname}") pkgver="1.6.4" -url="https://github.com/electrickite/batsignal/archive/refs/tags/${pkgver}.tar.gz" +source=("https://github.com/electrickite/batsignal/archive/refs/tags/${pkgver}.tar.gz") makedepends=("pkg-config" "libnotify4" "libnotify-dev") -breaks=("${name}" "${name}-git") +breaks=("${pkgname}" "${pkgname}-git") pkgdesc="A lightweight battery monitor daemon" -hash="58439dac2b678ab798831fe861c06d2d5c128c4bb4bae1476a62ba1771da3983" -maintainer="Harshwardhan Mehrotra " +sha256sums=("58439dac2b678ab798831fe861c06d2d5c128c4bb4bae1476a62ba1771da3983") +maintainer=("Harshwardhan Mehrotra ") build() { + cd "${_archive}" sed -i '47d' Makefile sed -i '48d' Makefile make -j"${NCPU}" } package() { - sudo make install DESTDIR="${pkgdir}" + cd "${_archive}" + make install DESTDIR="${pkgdir}" } diff --git a/packages/bazecor-app/bazecor-app.pacscript b/packages/bazecor-app/bazecor-app.pacscript index 2457f3753a..cea9a02c23 100644 --- a/packages/bazecor-app/bazecor-app.pacscript +++ b/packages/bazecor-app/bazecor-app.pacscript @@ -1,18 +1,24 @@ -name="bazecor-app" -pkgname="bazecor" -pkgver="1.3.11" +pkgname="bazecor-app" gives="bazecor" +pkgver="1.3.11" pkgdesc="Bazecor is the graphical configurator for the Dygma Raise" -url="https://github.com/Dygmalab/Bazecor/releases/download/v${pkgver}/Bazecor-${pkgver}-x64.AppImage" +source=( + "https://github.com/Dygmalab/Bazecor/releases/download/v${pkgver}/Bazecor-${pkgver}-x64.AppImage" + "https://raw.githubusercontent.com/Elsie19/images/master/bazecor.png" +) depends=("usbutils" "udev") -hash="88cbab4031740813272678e612034829877c0b9078160b8c8b826a6b7747af7a" +sha256sums=( + "88cbab4031740813272678e612034829877c0b9078160b8c8b826a6b7747af7a" + "SKIP" +) breaks=("bazecor" "bazecor-bin" "bazecor-deb" "bazecor-git") arch=('amd64') -maintainer="Elsie19 " +maintainer=("Elsie19 ") repology=("project: bazecor") package() { - sudo mkdir -p "${pkgdir}/usr/share/icons/hicolor/256x256/apps/" "${pkgdir}/usr/share/applications/" + cd "${_archive}" + mkdir -p "${pkgdir}/usr/share/icons/hicolor/256x256/apps/" "${pkgdir}/usr/share/applications/" echo "[Desktop Entry] Name=Bazecor Exec=bazecor %U @@ -21,9 +27,9 @@ Type=Application Icon=bazecor StartupWMClass=Bazecor X-AppImage-Version=${pkgver} -Categories=Utility;" | sudo tee "${pkgdir}/usr/share/applications/bazecor.desktop" > /dev/null - sudo wget -q https://raw.githubusercontent.com/Elsie19/images/master/bazecor.png -O "${pkgdir}/usr/share/icons/hicolor/256x256/apps/bazecor.png" - sudo install -Dm755 "Bazecor-${pkgver}-x64.AppImage" "${pkgdir}/usr/bin/${pkgname}" +Categories=Utility;" | tee "${pkgdir}/usr/share/applications/bazecor.desktop" > /dev/null + install -Dm644 "${srcdir}/bazecor.png" "${pkgdir}/usr/share/icons/hicolor/256x256/apps/bazecor.png" + install -Dm755 "Bazecor-${pkgver}-x64.AppImage" "${pkgdir}/usr/bin/${gives}" } post_install() { diff --git a/packages/bemenu-git/bemenu-git.pacscript b/packages/bemenu-git/bemenu-git.pacscript old mode 100755 new mode 100644 index 8fc77095ea..ca08c381c7 --- a/packages/bemenu-git/bemenu-git.pacscript +++ b/packages/bemenu-git/bemenu-git.pacscript @@ -4,38 +4,37 @@ # \ // \/ -- \ # \__/\ / \_______ \______ / # \/ \/ \/ -maintainer="wizard-28 " +maintainer=("wizard-28 ") -name="bemenu-git" -pkgname="bemenu" +pkgname="bemenu-git" +gives="bemenu" pkgdesc="Dynamic menu library and client program inspired by dmenu (git release)" -url="https://github.com/Cloudef/bemenu.git" +source=("https://github.com/Cloudef/bemenu.git") pkgver="0.6.15" makedepends=("scdoc" "wayland-protocols" "libcairo-dev" "libpango1.0-dev" "libxkbcommon-dev" "libwayland-dev" "libxinerama-dev" "libncurses5-dev") -breaks="${pkgname}-bin ${pkgname}" -pkgver() { - git ls-remote "${url}" master | cut -f1 | cut -c1-8 -} +breaks="${gives}-bin ${gives}" build() { + cd "${_archive}" # Build nessesary files make -j"${NCPU}" } package() { + cd "${_archive}" # Install license - sudo install -Dm644 "LICENSE-CLIENT" "LICENSE-LIB" -t "${pkgdir}/usr/share/licenses/${pkgname}" + install -Dm644 "LICENSE-CLIENT" "LICENSE-LIB" -t "${pkgdir}/usr/share/licenses/${gives}" # Install doc - sudo install -Dm644 "README.md" -t "${pkgdir}/usr/share/doc/${pkgname}" + install -Dm644 "README.md" -t "${pkgdir}/usr/share/doc/${gives}" # Install bemenu-git - sudo make install DESTDIR="${pkgdir}" + make install DESTDIR="${pkgdir}" } post_remove() { # Remove empty directories - sudo rm -rf "/usr/share/licenses/${pkgname}" - sudo rm -rf "/usr/share/doc/${pkgname}" + sudo rm -rf "/usr/share/licenses/${gives}" + sudo rm -rf "/usr/share/doc/${gives}" } # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/bes2600-firmware-git/bes2600-firmware-git.pacscript b/packages/bes2600-firmware-git/bes2600-firmware-git.pacscript index 2f4b011728..e3cb90a49e 100644 --- a/packages/bes2600-firmware-git/bes2600-firmware-git.pacscript +++ b/packages/bes2600-firmware-git/bes2600-firmware-git.pacscript @@ -1,25 +1,23 @@ -name="bes2600-firmware-git" +pkgname="bes2600-firmware-git" gives="bes2600-firmware" pkgver="0.0.1" pkgrel="2" pkgdesc="firmware files for BES2600 WLAN/BT combo chip and PineTab2 systemd files for controlling" -url="https://gitlab.com/pine64-org/bes2600-firmware.git" -maintainer="Oren Klopfer " -pkgver() { - git ls-remote "${url}" main | cut -f1 | cut -c1-8 -} +source=("https://gitlab.com/pine64-org/bes2600-firmware.git") +maintainer=("Oren Klopfer ") build() { - sudo mkdir -p "${pkgdir}/usr/bin" - sudo mkdir -p "${pkgdir}/usr/lib/systemd/system" + cd "${_archive}" + mkdir -p "${pkgdir}/usr/bin" + mkdir -p "${pkgdir}/usr/lib/systemd/system" echo '#!/bin/sh echo ifname:bt cmd:BT_ON > /dev/bes2600 rfkill unblock bluetooth hciattach -s 1500000 /dev/ttyS1 any 1500000 flow nosleep -hciconfig hci0 up' | sudo tee "${pkgdir}/usr/bin/pt2-bt.sh" > /dev/null +hciconfig hci0 up' | tee "${pkgdir}/usr/bin/pt2-bt.sh" > /dev/null - sudo chmod +x "${pkgdir}/usr/bin/pt2-bt.sh" + chmod +x "${pkgdir}/usr/bin/pt2-bt.sh" echo "[Unit] Description=Turn on PineTab2 bluetooth @@ -31,26 +29,27 @@ ExecStart=bash -c 'if [[ -f /etc/modules-load.d/bes2600.conf ]]; then /usr/bin/p Restart=on-failure [Install] -WantedBy=multi-user.target" | sudo tee "${pkgdir}/usr/lib/systemd/system/pinetab2-bluetooth.service" > /dev/null +WantedBy=multi-user.target" | tee "${pkgdir}/usr/lib/systemd/system/pinetab2-bluetooth.service" > /dev/null echo "[Unit] Description=Disable PineTab2 experimental WiFi modules [Service] Type=oneshot -ExecStart=bash -c 'if [[ -f /etc/modules-load.d/bes2600.conf ]]; then rm /etc/modules-load.d/bes2600.conf; fi'" | sudo tee "${pkgdir}/usr/lib/systemd/system/pinetab2-wifi-disable.service" > /dev/null +ExecStart=bash -c 'if [[ -f /etc/modules-load.d/bes2600.conf ]]; then rm /etc/modules-load.d/bes2600.conf; fi'" | tee "${pkgdir}/usr/lib/systemd/system/pinetab2-wifi-disable.service" > /dev/null echo "[Unit] Description=Enable PineTab2 experimental WiFi modules [Service] Type=oneshot -ExecStart=bash -c 'if ! [[ -f /etc/modules-load.d/bes2600.conf ]]; then echo bes2600 >> /etc/modules-load.d/bes2600.conf; fi'" | sudo tee "${pkgdir}/usr/lib/systemd/system/pinetab2-wifi-enable.service" > /dev/null +ExecStart=bash -c 'if ! [[ -f /etc/modules-load.d/bes2600.conf ]]; then echo bes2600 >> /etc/modules-load.d/bes2600.conf; fi'" | tee "${pkgdir}/usr/lib/systemd/system/pinetab2-wifi-enable.service" > /dev/null } package() { - sudo mkdir -p "${pkgdir}/usr/lib/firmware" - sudo cp -r firmware/bes2600 "${pkgdir}/usr/lib/firmware" + cd "${_archive}" + mkdir -p "${pkgdir}/usr/lib/firmware" + cp -r firmware/bes2600 "${pkgdir}/usr/lib/firmware" } post_install() { diff --git a/packages/bitwarden-cli-bin/bitwarden-cli-bin.pacscript b/packages/bitwarden-cli-bin/bitwarden-cli-bin.pacscript index 62c023043a..1308d43d41 100644 --- a/packages/bitwarden-cli-bin/bitwarden-cli-bin.pacscript +++ b/packages/bitwarden-cli-bin/bitwarden-cli-bin.pacscript @@ -1,15 +1,15 @@ -name="bitwarden-cli-bin" -pkgname="bitwarden-cli" -gives="bw" -repology=("project: ${pkgname}") +pkgname="bitwarden-cli-bin" +gives="bitwarden-cli" +repology=("project: ${gives}") pkgver="2024.1.0" -url="https://github.com/bitwarden/clients/releases/download/cli-v${pkgver}/${gives}-linux-${pkgver}.zip" -breaks=("${pkgname}-git") -replace=("${pkgname}") +source=("https://github.com/bitwarden/clients/releases/download/cli-v${pkgver}/${gives}-linux-${pkgver}.zip") +breaks=("${gives}-git") +replaces=("${gives}") pkgdesc="Bitwarden's command-line interface - Binary" -hash="05c906bf3709151ffcd063624047c327086f80f6b0256ded6a8bcaea044fdb02" -maintainer="Elsie19 " +sha256sums=("05c906bf3709151ffcd063624047c327086f80f6b0256ded6a8bcaea044fdb02") +maintainer=("Elsie19 ") package() { - sudo install -Dm755 "${gives}" -t "${pkgdir}/usr/bin" + cd "${_archive}" + install -Dm755 "${gives}" -t "${pkgdir}/usr/bin" } diff --git a/packages/bitwarden-deb/bitwarden-deb.pacscript b/packages/bitwarden-deb/bitwarden-deb.pacscript index 63ea81933a..3beec98e86 100644 --- a/packages/bitwarden-deb/bitwarden-deb.pacscript +++ b/packages/bitwarden-deb/bitwarden-deb.pacscript @@ -1,11 +1,11 @@ -name="bitwarden-deb" +pkgname="bitwarden-deb" gives="bitwarden" breaks=("${gives}-app" "${gives}-git") -replace=("${gives}") +replaces=("${gives}") pkgver="2024.1.0" -url="https://github.com/${gives}/clients/releases/download/desktop-v${pkgver}/Bitwarden-${pkgver}-amd64.deb" +source=("https://github.com/${gives}/clients/releases/download/desktop-v${pkgver}/Bitwarden-${pkgver}-amd64.deb") pkgdesc="Open Source Password Manager" -hash="eeeef294167e6d551f43abe0262bc40679424caab4f86ddba6ac136ea7c3ee6a" +sha256sums=("eeeef294167e6d551f43abe0262bc40679424caab4f86ddba6ac136ea7c3ee6a") arch=('amd64') -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") repology=("project: bitwarden") diff --git a/packages/bitwig-studio-3-deb/bitwig-studio-3-deb.pacscript b/packages/bitwig-studio-3-deb/bitwig-studio-3-deb.pacscript index 1796ab177c..44dd0b448b 100644 --- a/packages/bitwig-studio-3-deb/bitwig-studio-3-deb.pacscript +++ b/packages/bitwig-studio-3-deb/bitwig-studio-3-deb.pacscript @@ -1,7 +1,7 @@ -name="bitwig-studio-3-deb" +pkgname="bitwig-studio-3-deb" gives="bitwig-studio" pkgver="3.3.11" -url="https://downloads-eu.bitwig.com/stable/${pkgver}/${gives}-${pkgver}.deb" +source=("https://downloads-eu.bitwig.com/stable/${pkgver}/${gives}-${pkgver}.deb") pkgdesc="Digital audio workstation for music production, remixing and live performance" -hash="705f2054f8ccd0a51c28e5b4f6e15c729e3f9736d49997019153b0aff03ff18c" -maintainer="Zahrun " +sha256sums=("705f2054f8ccd0a51c28e5b4f6e15c729e3f9736d49997019153b0aff03ff18c") +maintainer=("Zahrun ") diff --git a/packages/bitwig-studio-4-deb/bitwig-studio-4-deb.pacscript b/packages/bitwig-studio-4-deb/bitwig-studio-4-deb.pacscript index b58ee16ef0..4fc134e13f 100644 --- a/packages/bitwig-studio-4-deb/bitwig-studio-4-deb.pacscript +++ b/packages/bitwig-studio-4-deb/bitwig-studio-4-deb.pacscript @@ -1,7 +1,7 @@ -name="bitwig-studio-4-deb" +pkgname="bitwig-studio-4-deb" gives="bitwig-studio" pkgver="4.4.10" -url="https://downloads.bitwig.com/stable/${pkgver}/${gives}-${pkgver}.deb" +source=("https://downloads.bitwig.com/stable/${pkgver}/${gives}-${pkgver}.deb") pkgdesc="Digital audio workstation for music production, remixing and live performance" -hash="82d4359a15e4d00a8689d664e530b3491e7ca43d4926810b3019842edab26f85" -maintainer="Zahrun " +sha256sums=("82d4359a15e4d00a8689d664e530b3491e7ca43d4926810b3019842edab26f85") +maintainer=("Zahrun ") diff --git a/packages/bitwig-studio-deb/bitwig-studio-deb.pacscript b/packages/bitwig-studio-deb/bitwig-studio-deb.pacscript index fe57bb428c..26dcf220b1 100644 --- a/packages/bitwig-studio-deb/bitwig-studio-deb.pacscript +++ b/packages/bitwig-studio-deb/bitwig-studio-deb.pacscript @@ -1,8 +1,8 @@ -name="bitwig-studio-deb" +pkgname="bitwig-studio-deb" repology=("project: bitwig-studio") gives="bitwig-studio" pkgver="5.1.8" -url="https://downloads.bitwig.com/stable/${pkgver}/${gives}-${pkgver}.deb" +source=("https://downloads.bitwig.com/stable/${pkgver}/${gives}-${pkgver}.deb") pkgdesc="Digital audio workstation for music production, remixing and live performance" -hash="2b134b69efee4d82f59bf5feffbc2bee184a7f0df536907d330f51cdfad3baeb" -maintainer="Zahrun " +sha256sums=("2b134b69efee4d82f59bf5feffbc2bee184a7f0df536907d330f51cdfad3baeb") +maintainer=("Zahrun ") diff --git a/packages/blender-bin/blender-bin.pacscript b/packages/blender-bin/blender-bin.pacscript index dc7dfc49d2..b35adb3077 100644 --- a/packages/blender-bin/blender-bin.pacscript +++ b/packages/blender-bin/blender-bin.pacscript @@ -1,20 +1,20 @@ -name="blender-bin" +pkgname="blender-bin" gives="blender" pkgver="4.0.2" -url="https://mirrors.ocf.berkeley.edu/blender/release/Blender${pkgver%.*}/blender-${pkgver}-linux-x64.tar.xz" -hash="5583a5588736da8858c522ef17fff5d73be59c47a6fe91ad29c6f3263e22086a" +source=("https://mirrors.ocf.berkeley.edu/blender/release/Blender${pkgver%.*}/blender-${pkgver}-linux-x64.tar.xz") +sha256sums=("5583a5588736da8858c522ef17fff5d73be59c47a6fe91ad29c6f3263e22086a") homepage='https://www.blender.org/' arch=("amd64") pkgdesc="A fully integrated 3D graphics creation suite" -maintainer="Elsie19 " +maintainer=("Elsie19 ") repology=("project: blender") package() { - cd .. - sudo mkdir -p "${pkgdir}/opt/blender/" - sudo mkdir -p "${pkgdir}/usr/share/applications/" - sudo cp -r "blender-${pkgver}-linux-x64/"* "${pkgdir}/opt/blender/" - sudo sed -i "s|Exec=blender %f|Exec=/opt/blender/blender %f|g" "${pkgdir}/opt/blender/blender.desktop" - sudo mv "${pkgdir}/opt/blender/blender.desktop" "${pkgdir}/usr/share/applications/" - sudo install -Dm644 "${pkgdir}/opt/blender/blender.svg" "${pkgdir}/usr/share/icons/hicolor/128x128/apps/blender.svg" + cd "${srcdir}" + mkdir -p "${pkgdir}/opt/blender/" + mkdir -p "${pkgdir}/usr/share/applications/" + cp -r "blender-${pkgver}-linux-x64/"* "${pkgdir}/opt/blender/" + sed -i "s|Exec=blender %f|Exec=/opt/blender/blender %f|g" "${pkgdir}/opt/blender/blender.desktop" + mv "${pkgdir}/opt/blender/blender.desktop" "${pkgdir}/usr/share/applications/" + install -Dm644 "${pkgdir}/opt/blender/blender.svg" "${pkgdir}/usr/share/icons/hicolor/128x128/apps/blender.svg" } diff --git a/packages/bluegriffon-deb/bluegriffon-deb.pacscript b/packages/bluegriffon-deb/bluegriffon-deb.pacscript index 7705fe7b22..991e8e028c 100644 --- a/packages/bluegriffon-deb/bluegriffon-deb.pacscript +++ b/packages/bluegriffon-deb/bluegriffon-deb.pacscript @@ -1,10 +1,10 @@ -name="bluegriffon-deb" +pkgname="bluegriffon-deb" gives="bluegriffon" breaks=("${gives}" "${gives}-git" "${gives}-bin" "${gives}-app") pkgver="3.1" pkgdesc="The next-gen Web and EPUB Editor based on the rendering engine of Firefox" -hash="83eb53ec8bf9416e52b525508c03440ea0427a3eac409034a72732a7e22994e6" +sha256sums=("83eb53ec8bf9416e52b525508c03440ea0427a3eac409034a72732a7e22994e6") arch=('amd64') -maintainer="Obsidian " -url="http://bluegriffon.org/freshmeat/${pkgver}/bluegriffon-${pkgver}.Ubuntu18.04-x86_64.deb" +maintainer=("Obsidian ") +source=("http://bluegriffon.org/freshmeat/${pkgver}/bluegriffon-${pkgver}.Ubuntu18.04-x86_64.deb") repology=("project: bluegriffon") diff --git a/packages/bpytop-git/bpytop-git.pacscript b/packages/bpytop-git/bpytop-git.pacscript index ec7d43c659..1e4af9b206 100644 --- a/packages/bpytop-git/bpytop-git.pacscript +++ b/packages/bpytop-git/bpytop-git.pacscript @@ -1,15 +1,12 @@ -name="bpytop-git" -pkgname="bpytop" -url="https://github.com/aristocratos/${pkgname}.git" +pkgname="bpytop-git" +gives="bpytop" +source=("https://github.com/aristocratos/${gives}.git") pkgver="1.0.68" makedepends=("make" "python3" "python3-pip" "python3-distutils") depends=("python3" "python3-pip" "python3-distutils") pkgdesc="Linux/OSX/FreeBSD resource monitor." release="$(lsb_release -cs)" modern=("devel" "sid" "lunar" "bookworm" "mantic" "noble" "trixie" "testing" "unstable") -pkgver() { - git ls-remote "${url}" master | cut -f1 | cut -c1-8 -} # shellcheck disable=SC2076 if [[ " ${modern[*]} " =~ " ${release} " ]]; then @@ -19,16 +16,18 @@ else fi prepare() { - sudo pip3 install --upgrade psutil "${pyhack[@]}" + cd "${_archive}" + pip3 install --upgrade psutil "${pyhack[@]}" } package() { - sudo make install DESTDIR="${pkgdir}" - sudo install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" - sudo install -Dm644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}" + cd "${_archive}" + make install DESTDIR="${pkgdir}" + install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${gives}" + install -Dm644 README.md -t "${pkgdir}/usr/share/doc/${gives}" } post_remove() { - sudo rm -rf "/usr/share/licenses/${pkgname}" - sudo rm -rf "/usr/share/doc/${pkgname}" + sudo rm -rf "/usr/share/licenses/${gives}" + sudo rm -rf "/usr/share/doc/${gives}" } diff --git a/packages/brave-browser-beta-deb/brave-browser-beta-deb.pacscript b/packages/brave-browser-beta-deb/brave-browser-beta-deb.pacscript index 34c58c1152..2019a8c5d0 100644 --- a/packages/brave-browser-beta-deb/brave-browser-beta-deb.pacscript +++ b/packages/brave-browser-beta-deb/brave-browser-beta-deb.pacscript @@ -1,11 +1,11 @@ -name="brave-browser-beta-deb" +pkgname="brave-browser-beta-deb" gives="brave-browser-beta" pkgver="1.66.76" breaks=("${gives}-bin" "${gives}-git" "${gives}-app") -url="https://github.com/brave/brave-browser/releases/download/v${pkgver}/${gives}_${pkgver}_amd64.deb" +source=("https://github.com/brave/brave-browser/releases/download/v${pkgver}/${gives}_${pkgver}_amd64.deb") homepage='https://brave.com/' pkgdesc="Testing version of world's most unique, privacy friendly web browser" -hash="2bf129e099a1d044ca9494b2dddda789d343479821a71d78e66855394d226223" +sha256sums=("2bf129e099a1d044ca9494b2dddda789d343479821a71d78e66855394d226223") pacdeps=("brave-keyring-deb") repology=("project: brave" "visiblename: brave-beta-bin") -maintainer="Elsie19 " +maintainer=("Elsie19 ") diff --git a/packages/brave-browser-deb/brave-browser-deb.pacscript b/packages/brave-browser-deb/brave-browser-deb.pacscript index 3dad52f79f..fa0e9d8c0e 100644 --- a/packages/brave-browser-deb/brave-browser-deb.pacscript +++ b/packages/brave-browser-deb/brave-browser-deb.pacscript @@ -1,12 +1,12 @@ -name="brave-browser-deb" +pkgname="brave-browser-deb" gives="brave-browser" pkgver="1.64.122" breaks=("${gives}-bin" "${gives}-git" "${gives}-app") -url="https://github.com/brave/${gives}/releases/download/v${pkgver}/${gives}_${pkgver}_amd64.deb" +source=("https://github.com/brave/${gives}/releases/download/v${pkgver}/${gives}_${pkgver}_amd64.deb") homepage='https://brave.com/' pkgdesc="Release version of world's most unique, privacy friendly web browser" -hash="f6d4a83a7f5719b5ff6fc9fdbc3f479a98b6ea3ce65152689a80857522686a85" +sha256sums=("f6d4a83a7f5719b5ff6fc9fdbc3f479a98b6ea3ce65152689a80857522686a85") arch=('amd64') pacdeps=("brave-keyring-deb") repology=("project: brave") -maintainer="Elsie19 " +maintainer=("Elsie19 ") diff --git a/packages/brave-browser-nightly-deb/brave-browser-nightly-deb.pacscript b/packages/brave-browser-nightly-deb/brave-browser-nightly-deb.pacscript index e09731c5fa..b5b9ebb04f 100644 --- a/packages/brave-browser-nightly-deb/brave-browser-nightly-deb.pacscript +++ b/packages/brave-browser-nightly-deb/brave-browser-nightly-deb.pacscript @@ -1,13 +1,13 @@ -name="brave-browser-nightly-deb" +pkgname="brave-browser-nightly-deb" pkgver="1.67.7" gives="brave-browser-nightly" breaks=("${gives}-bin" "${gives}-app" "${gives}-git") -replace=("${gives}") +replaces=("${gives}") pacdeps=("brave-keyring-deb") -url="https://github.com/brave/brave-browser/releases/download/v${pkgver}/${gives}_${pkgver}_amd64.deb" +source=("https://github.com/brave/brave-browser/releases/download/v${pkgver}/${gives}_${pkgver}_amd64.deb") homepage='https://brave.com/' pkgdesc="The Brave browser is a fast, private and secure web browser for PC, Mac and mobile - Nightly channel" -hash="c8a69ca048b47aacaab743a9e2231a3e71e818df0dab2293a2294398212389b4" +sha256sums=("c8a69ca048b47aacaab743a9e2231a3e71e818df0dab2293a2294398212389b4") arch=('amd64') repology=("project: brave" "visiblename: brave-nightly-bin") -maintainer="Elsie19 " +maintainer=("Elsie19 ") diff --git a/packages/brave-keyring-deb/brave-keyring-deb.pacscript b/packages/brave-keyring-deb/brave-keyring-deb.pacscript index 315100e6c8..23a59d67d3 100644 --- a/packages/brave-keyring-deb/brave-keyring-deb.pacscript +++ b/packages/brave-keyring-deb/brave-keyring-deb.pacscript @@ -1,7 +1,7 @@ -name="brave-keyring-deb" +pkgname="brave-keyring-deb" gives="brave-keyring" pkgver="1.13" -url="https://brave-browser-apt-release.s3.brave.com/pool/main/b/${gives}/${gives}_${pkgver}-1.deb" +source=("https://brave-browser-apt-release.s3.brave.com/pool/main/b/${gives}/${gives}_${pkgver}-1.deb") pkgdesc="Brave Browser keyring and repository files as a necessary dependency for brave-browser-deb" -hash="0e5c33f32d908a6846b890c5d225f1a0cdebe96fea02879b776fa02877714dd2" -maintainer="Elsie19 " +sha256sums=("0e5c33f32d908a6846b890c5d225f1a0cdebe96fea02879b776fa02877714dd2") +maintainer=("Elsie19 ") diff --git a/packages/btop-bin/btop-bin.pacscript b/packages/btop-bin/btop-bin.pacscript index 84ddc8b1f5..78794b7e51 100644 --- a/packages/btop-bin/btop-bin.pacscript +++ b/packages/btop-bin/btop-bin.pacscript @@ -4,20 +4,20 @@ # \ // \/ -- \ # \__/\ / \_______ \______ / # \/ \/ \/ -maintainer="wizard-28 " +maintainer=("wizard-28 ") -name="btop-bin" -pkgname="btop" +pkgname="btop-bin" +gives="btop" pkgver="1.2.13" -url="https://github.com/aristocratos/btop/releases/download/v${pkgver}/btop-x86_64-linux-musl.tbz" +source=("https://github.com/aristocratos/btop/releases/download/v${pkgver}/btop-x86_64-linux-musl.tbz") pkgdesc="A monitor of system resourecs, bpytop ported to C++" -gives="${pkgname}" -breaks=("${pkgname}" "${pkgname}-git" "${pkgname}-deb") -hash="6c773ca064d314b4ea5d39d6fb0f73d6a3b74b9daa79ffae33c5b5df05bcf00a" +breaks=("${gives}" "${gives}-git" "${gives}-deb") +sha256sums=("6c773ca064d314b4ea5d39d6fb0f73d6a3b74b9daa79ffae33c5b5df05bcf00a") arch=('amd64') -repology=("project: ${pkgname}") +repology=("project: ${gives}") package() { - sudo make DESTDIR="${pkgdir}" install + cd "${_archive}" + make DESTDIR="${pkgdir}" install } # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/btrfs-du-bin/btrfs-du-bin.pacscript b/packages/btrfs-du-bin/btrfs-du-bin.pacscript index d2d26d9002..8348e52cc1 100644 --- a/packages/btrfs-du-bin/btrfs-du-bin.pacscript +++ b/packages/btrfs-du-bin/btrfs-du-bin.pacscript @@ -1,13 +1,14 @@ -name="btrfs-du-bin" +pkgname="btrfs-du-bin" gives="btrfs-du" pkgver="0.0.7" -url="https://github.com/nachoparker/btrfs-du/archive/refs/tags/v${pkgver}.tar.gz" +source=("https://github.com/nachoparker/btrfs-du/archive/refs/tags/v${pkgver}.tar.gz") pkgdesc="Easily print BTRFS subvolume/snapshot disk usage" depends=("btrfs-progs") repology=("project: ${gives}") package() { - sudo install -vDm755 -t "${pkgdir}/usr/bin" "btrfs-du" + cd "${_archive}" + install -vDm755 -t "${pkgdir}/usr/bin" "btrfs-du" } # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/cachy-browser-bin/cachy-browser-bin.pacscript b/packages/cachy-browser-bin/cachy-browser-bin.pacscript index 19b447c7a0..b23639c4b4 100644 --- a/packages/cachy-browser-bin/cachy-browser-bin.pacscript +++ b/packages/cachy-browser-bin/cachy-browser-bin.pacscript @@ -1,30 +1,31 @@ -name="cachy-browser-bin" +pkgname="cachy-browser-bin" gives="cachy-browser" pkgver="125.0.1" repology=("project: ${gives}") homepage='https://github.com/CachyOS/CachyOS-Browser-Settings' pkgdesc="Community-maintained fork of Firefox, focused on privacy, security and freedom" -maintainer="vigress8 " +maintainer=("vigress8 ") arch=("amd64") -url="https://mirror.cachyos.org/repo/x86_64/cachyos/${gives}-${pkgver}-1-x86_64.pkg.tar.zst" -hash="dfa769b0ead5a544502cb307e77c19a00ec3d4586ecc73c6e8cf213d79a68d73" +source=("https://mirror.cachyos.org/repo/x86_64/cachyos/${gives}-${pkgver}-1-x86_64.pkg.tar.zst") +sha256sums=("dfa769b0ead5a544502cb307e77c19a00ec3d4586ecc73c6e8cf213d79a68d73") case $( /lib64/ld-linux-x86-64.so.2 --help | awk '/x86-64.*supported/ {print $1; exit}' ) in x86-64-v3) - url="https://mirror.cachyos.org/repo/x86_64_v3/cachyos-v3/${gives}-${pkgver}-1-x86_64_v3.pkg.tar.zst" - hash="641036b23aae69893db021f4f9e64a9f753b1c1ea4b7c067830a8b2b493ca616" + source=("https://mirror.cachyos.org/repo/x86_64_v3/cachyos-v3/${gives}-${pkgver}-1-x86_64_v3.pkg.tar.zst") + sha256sums=("641036b23aae69893db021f4f9e64a9f753b1c1ea4b7c067830a8b2b493ca616") ;; x86-64-v4) - url="https://mirror.cachyos.org/repo/x86_64_v4/cachyos-v4/${gives}-${pkgver}-1-x86_64_v4.pkg.tar.zst" - hash="fe9f4011305a5eb681a969ed3d39ea1f92667944d6079b15d9cff4a91ab7c29b" + source=("https://mirror.cachyos.org/repo/x86_64_v4/cachyos-v4/${gives}-${pkgver}-1-x86_64_v4.pkg.tar.zst") + sha256sums=("fe9f4011305a5eb681a969ed3d39ea1f92667944d6079b15d9cff4a91ab7c29b") ;; *) ;; esac package() { + cd "${_archive}" rm .BUILDINFO .INSTALL .MTREE .PKGINFO - sudo cp -r --preserve=mode,links ./* "${pkgdir}" + cp -r --preserve=mode,links ./* "${pkgdir}" } diff --git a/packages/cachyos-ananicy-rules-git/cachyos-ananicy-rules-git.pacscript b/packages/cachyos-ananicy-rules-git/cachyos-ananicy-rules-git.pacscript index 0b626549a4..8bcde21093 100644 --- a/packages/cachyos-ananicy-rules-git/cachyos-ananicy-rules-git.pacscript +++ b/packages/cachyos-ananicy-rules-git/cachyos-ananicy-rules-git.pacscript @@ -1,18 +1,16 @@ -name="cachyos-ananicy-rules-git" +pkgname="cachyos-ananicy-rules-git" gives="cachyos-ananicy-rules" pkgver="0.0.1" pkgdesc="ananicy-cpp rules for CachyOS" pacdeps=('ananicy-cpp') homepage='https://github.com/CachyOS/ananicy-rules' -url="https://github.com/CachyOS/ananicy-rules.git" -maintainer="vigress8 " -pkgver() { - git ls-remote "${url}" master | cut -f1 | cut -c1-8 -} +source=("https://github.com/CachyOS/ananicy-rules.git") +maintainer=("vigress8 ") package() { - sudo install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${gives}" + cd "${_archive}" + install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${gives}" rm -f README.md LICENSE - sudo install -d "${pkgdir}/etc/ananicy.d" - sudo cp -rf ./* "${pkgdir}/etc/ananicy.d" + install -d "${pkgdir}/etc/ananicy.d" + cp -rf ./* "${pkgdir}/etc/ananicy.d" } diff --git a/packages/cantata/cantata.pacscript b/packages/cantata/cantata.pacscript index 86a38ac26f..9ac4e6631a 100644 --- a/packages/cantata/cantata.pacscript +++ b/packages/cantata/cantata.pacscript @@ -1,25 +1,28 @@ -name="cantata" pkgname="cantata" +gives="cantata" pkgver="2.5.0" -url="https://github.com/CDrummond/cantata/releases/download/v${pkgver}/cantata-${pkgver}.tar.bz2" +source=("https://github.com/CDrummond/cantata/releases/download/v${pkgver}/cantata-${pkgver}.tar.bz2") depends=("mpd" "cmake" "media-player-info" "fonts-font-awesome" "libcddb2" "qttools5-dev" "qtbase5-dev" "qtchooser" "qtmultimedia5-dev" "qt5-qmake" "qtbase5-dev-tools" "libqt5svg5" "libqt5svg5-dev" "libebur128-1" "libmusicbrainz5cc2v5" "libqt5multimedia5") pkgdesc="Cantata is a graphical client for MPD. It is support for Linux, MacOSX, and Windows, Multiple MPD collections and it has a Highly customizable layout." -maintainer="ty1118 " -repology=("project: ${pkgname}") -hash="eb7e00ab3f567afaa02ea2c86e2fe811a475afab93182b95922c6eb126821724" +maintainer=("ty1118 ") +repology=("project: ${gives}") +sha256sums=("eb7e00ab3f567afaa02ea2c86e2fe811a475afab93182b95922c6eb126821724") prepare() { + cd "${_archive}" mkdir build } build() { + cd "${_archive}" cd build cmake -DCMAKE_BUILD_TYPE=Release .. make -j"${NCPU}" } package() { - sudo make install DESTDIR="${pkgdir}" + cd "${_archive}" + make install DESTDIR="${pkgdir}" } # vim:set ft=sh ts=4 sw=4 et: diff --git a/packages/caprine-deb/caprine-deb.pacscript b/packages/caprine-deb/caprine-deb.pacscript index 69055d5402..36f0c4fdbb 100644 --- a/packages/caprine-deb/caprine-deb.pacscript +++ b/packages/caprine-deb/caprine-deb.pacscript @@ -4,14 +4,14 @@ # \ // \/ -- \ # \__/\ / \_______ \______ / # \/ \/ \/ -maintainer="wizard-28 " +maintainer=("wizard-28 ") -name="caprine-deb" +pkgname="caprine-deb" gives="caprine" pkgver="2.58.0" -url="https://github.com/sindresorhus/caprine/releases/download/v${pkgver}/caprine_${pkgver}_amd64.deb" +source=("https://github.com/sindresorhus/caprine/releases/download/v${pkgver}/caprine_${pkgver}_amd64.deb") pkgdesc="Elegant Facebook Messenger desktop app" -hash="f8f9e5a1cf532b9a51188ec7300dcbcb379b6bcb652e305c86618fc028f37671" +sha256sums=("f8f9e5a1cf532b9a51188ec7300dcbcb379b6bcb652e305c86618fc028f37671") arch=('amd64') repology=("project: caprine") diff --git a/packages/celeste-bin/celeste-bin.pacscript b/packages/celeste-bin/celeste-bin.pacscript index 763fb5f1f0..654e98ff92 100644 --- a/packages/celeste-bin/celeste-bin.pacscript +++ b/packages/celeste-bin/celeste-bin.pacscript @@ -1,23 +1,22 @@ -name="celeste-bin" +pkgname="celeste-bin" depends=("libgtk-3-0" "libayatana-appindicator3-1" "libadwaita-1-0" "rclone") gives="celeste" pkgdesc="GUI cloud file synchronization client" -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") pkgver="0.8.0" -replace=("${gives}" "${gives}-git") +replaces=("${gives}" "${gives}-git") arch=('arm64' 'amd64') -if [[ ${CARCH} == arm64 ]]; then - hash="f8a1d65fe5f21e5dfa90ad6450f8124bf631e5d78f3b409b4e6d99ed007ebba4" -else - hash="c844eff69ae5c5c8908b17a87f36ded77b1807976411efbab4f8401385c17a31" -fi -url="https://github.com/rhino-linux/${gives}/releases/download/v${pkgver}/${gives}_v${pkgver}_${CARCH}.zip" +sha256sums_arm64=("f8a1d65fe5f21e5dfa90ad6450f8124bf631e5d78f3b409b4e6d99ed007ebba4") +sha256sums_amd64=("c844eff69ae5c5c8908b17a87f36ded77b1807976411efbab4f8401385c17a31") +source=("https://github.com/rhino-linux/${gives}/releases/download/v${pkgver}/${gives}_v${pkgver}_${CARCH}.zip") build() { - sudo mkdir -p "${pkgdir}/usr" + cd "${_archive}" + mkdir -p "${pkgdir}/usr" } package() { - sudo chmod +x "../usr/bin/${gives}" - sudo cp -rf ../usr/* "${pkgdir}/usr" + cd "${_archive}" + chmod +x "../usr/bin/${gives}" + cp -rf ../usr/* "${pkgdir}/usr" } diff --git a/packages/cheat/cheat.pacscript b/packages/cheat/cheat.pacscript index 191c992b2f..0828f0aa9e 100644 --- a/packages/cheat/cheat.pacscript +++ b/packages/cheat/cheat.pacscript @@ -1,17 +1,18 @@ -name="cheat" +pkgname="cheat" gives="cheat" repology=("project: cheat") pkgver="4.4.2" -replace=("${gives}") +replaces=("${gives}") breaks=("${gives}" "${gives}-bin" "${gives}-git" "${gives}-app" "${gives}-deb") arch=('amd64') -hash="b81f5ba21f134087c0294d809f89e5442d641d7be297bb128807cbce00849e9b" -url="https://github.com/cheat/cheat/releases/download/${pkgver}/cheat-linux-amd64.gz" -homepage="https://github.com/cheat/cheat" +sha256sums=("b81f5ba21f134087c0294d809f89e5442d641d7be297bb128807cbce00849e9b") +source=("https://github.com/cheat/cheat/releases/download/${pkgver}/cheat-linux-amd64.gz") +url="https://github.com/cheat/cheat" pkgdesc="Create and view interactive cheatsheets on the command-line" -maintainer="Arrowsome " +maintainer=("Arrowsome ") package() { + cd "${_archive}" gzip -d cheat-linux-amd64.gz - sudo install -Dm755 cheat-linux-amd64 "${pkgdir}/usr/bin/${name}" + install -Dm755 cheat-linux-amd64 "${pkgdir}/usr/bin/${pkgname}" } diff --git a/packages/chezmoi-deb/chezmoi-deb.pacscript b/packages/chezmoi-deb/chezmoi-deb.pacscript index 9fc32d6212..b11c748a7e 100644 --- a/packages/chezmoi-deb/chezmoi-deb.pacscript +++ b/packages/chezmoi-deb/chezmoi-deb.pacscript @@ -1,9 +1,9 @@ -name="chezmoi-deb" +pkgname="chezmoi-deb" gives="chezmoi" pkgver="2.47.2" -url="https://github.com/twpayne/${gives}/releases/download/v${pkgver}/${gives}_${pkgver}_linux_amd64.deb" +source=("https://github.com/twpayne/${gives}/releases/download/v${pkgver}/${gives}_${pkgver}_linux_amd64.deb") pkgdesc="Manage your dotfiles across multiple diverse machines, securely" -hash="49a19268d29610bec619b29922468704fe4e81c0a1624d311dd84da8196cc542" +sha256sums=("49a19268d29610bec619b29922468704fe4e81c0a1624d311dd84da8196cc542") arch=('amd64') -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") repology=("project: chezmoi") diff --git a/packages/chwp-deb/chwp-deb.pacscript b/packages/chwp-deb/chwp-deb.pacscript index b358c01853..b4232f4002 100644 --- a/packages/chwp-deb/chwp-deb.pacscript +++ b/packages/chwp-deb/chwp-deb.pacscript @@ -1,11 +1,11 @@ -name="chwp-deb" +pkgname="chwp-deb" pkgver="1.217.0" gives="chwp" breaks=("${gives}") -replace=("${gives}") +replaces=("${gives}") repology=("project: ${gives}") -url="https://github.com/RouHim/chwp/releases/download/v${pkgver}/chwp-x86-64.deb" +source=("https://github.com/RouHim/chwp/releases/download/v${pkgver}/chwp-x86-64.deb") pkgdesc="Changes the wallpaper from the command line" -maintainer="Oren Klopfer " -hash="4464ace233a2afa7121edcbb3898bea9582853cf1bbaed3e1522376b610018a4" +maintainer=("Oren Klopfer ") +sha256sums=("4464ace233a2afa7121edcbb3898bea9582853cf1bbaed3e1522376b610018a4") arch=('amd64') diff --git a/packages/cider-deb/cider-deb.pacscript b/packages/cider-deb/cider-deb.pacscript index f89d446097..69cf9af4cb 100644 --- a/packages/cider-deb/cider-deb.pacscript +++ b/packages/cider-deb/cider-deb.pacscript @@ -1,9 +1,9 @@ -name="cider-deb" +pkgname="cider-deb" gives="cider" pkgver="1.6.1" -url="https://github.com/ciderapp/Cider/releases/download/v${pkgver}/cider_${pkgver}_amd64.deb" +source=("https://github.com/ciderapp/Cider/releases/download/v${pkgver}/cider_${pkgver}_amd64.deb") homepage='https://cider.sh/' pkgdesc="A new look into listening and enjoying music in style and performance" -hash="9bcf27d7ae9d3dc6e5f56f7024997a506410f4a5a2d442005bde2b396f136b12" -maintainer="ajstrongdev " +sha256sums=("9bcf27d7ae9d3dc6e5f56f7024997a506410f4a5a2d442005bde2b396f136b12") +maintainer=("ajstrongdev ") arch=('amd64') diff --git a/packages/circle-flags-svg-deb/circle-flags-svg-deb.pacscript b/packages/circle-flags-svg-deb/circle-flags-svg-deb.pacscript index 109ce1dc84..b910140808 100644 --- a/packages/circle-flags-svg-deb/circle-flags-svg-deb.pacscript +++ b/packages/circle-flags-svg-deb/circle-flags-svg-deb.pacscript @@ -1,8 +1,8 @@ -name="circle-flags-svg-deb" +pkgname="circle-flags-svg-deb" gives="circle-flags-svg" repology=("project: circle-flags" "repo: linux_mint_21") pkgver="2.6.2" -url="http://packages.linuxmint.com/pool/main/c/circle-flags/circle-flags-svg_${pkgver}_all.deb" +source=("http://packages.linuxmint.com/pool/main/c/circle-flags/circle-flags-svg_${pkgver}_all.deb") pkgdesc="Circle flags in SVG format" -hash="eceb87d03a8c9fdc3c8b2aba0e8b287fc90d55232429a0ece872f33790d395b4" -maintainer="Zahrun " +sha256sums=("eceb87d03a8c9fdc3c8b2aba0e8b287fc90d55232429a0ece872f33790d395b4") +maintainer=("Zahrun ") diff --git a/packages/clib/clib.pacscript b/packages/clib/clib.pacscript index 9e7e0360ae..0c178bbe0c 100644 --- a/packages/clib/clib.pacscript +++ b/packages/clib/clib.pacscript @@ -1,24 +1,26 @@ #!/usr/bin/bash # shellcheck disable=2034,2032,2033 #-*- mode: sh-*- -name="clib" +pkgname="clib" pkgver="2.8.3" pkgdesc="C package manager-ish" -url="https://github.com/clibs/${name}/archive/refs/tags/${pkgver}.tar.gz" +source=("https://github.com/clibs/${pkgname}/archive/refs/tags/${pkgver}.tar.gz") makedepends=("gcc" "libcurl4-gnutls-dev") -hash="0ad8262d13ef138a12452e67e081e3eb31a264e2040cfce09417e8f7eed4e1f5" -repology=("project: ${name}") +sha256sums=("0ad8262d13ef138a12452e67e081e3eb31a264e2040cfce09417e8f7eed4e1f5") +repology=("project: ${pkgname}") build() { + cd "${_archive}" make -j"${NCPU}" } package() { - sudo make install DESTDIR="${pkgdir}" PREFIX="${pkgdir}/usr/local/" - sudo install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${name}" + cd "${_archive}" + make install DESTDIR="${pkgdir}" PREFIX="${pkgdir}/usr/local/" + install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" } post_remove() { - sudo rm -rf "/usr/share/licenses/${name}" + sudo rm -rf "/usr/share/licenses/${pkgname}" } # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/clipboard-bin/clipboard-bin.pacscript b/packages/clipboard-bin/clipboard-bin.pacscript index 12d6d56603..008b3fe58a 100644 --- a/packages/clipboard-bin/clipboard-bin.pacscript +++ b/packages/clipboard-bin/clipboard-bin.pacscript @@ -4,44 +4,31 @@ # \ // \/ -- \ # \__/\ / \_______ \______ / # \/ \/ \/ -maintainer="wizard-28 " +maintainer=("wizard-28 ") -name="clipboard-bin" -pkgname="clipboard" +pkgname="clipboard-bin" gives="clipboard" pkgver="0.9.0.1" pkgdesc="Cut, copy, and paste anything in your terminal" -gives="${pkgname}" -breaks=("${pkgname}" "${pkgname}-git" "${pkgname}-deb" "${pkgname}-app") +breaks=("${gives}" "${gives}-git" "${gives}-deb" "${gives}-app") arch=("amd64" "arm64" "armhf" "ppc64el" "riscv64") repology=("project: clipboard") -url="https://github.com/Slackadays/Clipboard/releases/download/${pkgver}/${pkgname}-linux-${CARCH}.zip" -case "${CARCH}" in - amd64) - hash="5b90cd7299c1c0d679cfe8c1bd4e89e7fd70ebede2890d90a6f1da98a90e922b" - ;; - arm64) - hash="07493b5e9954585160fc54314e23e4897652f06594f6ec7ceba66b32d7f72b82" - ;; - armhf) - hash="7654d6f5176e554ed86d84f16924b2ec3d7a7e0000f24a43ee6772397b986dea" - ;; - ppc64el) - hash="a7c2c689a777d57fe6638a469c408753d1b4d5d61c8fecd141a4781f54a24e7a" - ;; - riscv64) - hash="e92f2c4eeeefd093d25f91f186c1c3ac572ea254369fe7028928246d431407c8" - ;; - *) ;; -esac +source=("https://github.com/Slackadays/Clipboard/releases/download/${pkgver}/${gives}-linux-${CARCH}.zip") +sha256sums_amd64=("5b90cd7299c1c0d679cfe8c1bd4e89e7fd70ebede2890d90a6f1da98a90e922b") +sha256sums_arm64=("07493b5e9954585160fc54314e23e4897652f06594f6ec7ceba66b32d7f72b82") +sha256sums_armhf=("7654d6f5176e554ed86d84f16924b2ec3d7a7e0000f24a43ee6772397b986dea") +sha256sums_ppc64el=("a7c2c689a777d57fe6638a469c408753d1b4d5d61c8fecd141a4781f54a24e7a") +sha256sums_riscv64=("e92f2c4eeeefd093d25f91f186c1c3ac572ea254369fe7028928246d431407c8") + package() { + cd "${_archive}" if [[ ${CARCH} == "amd64" ]]; then - sudo install -Dm 755 "lib/libcbwayland.so" "${pkgdir}/usr/lib/libcbwayland.so" + install -Dm 755 "lib/libcbwayland.so" "${pkgdir}/usr/lib/libcbwayland.so" fi - sudo install -Dm 755 "lib/libcbx11.so" "${pkgdir}/usr/lib/libcbx11.so" + install -Dm 755 "lib/libcbx11.so" "${pkgdir}/usr/lib/libcbx11.so" - sudo install -Dm 755 "bin/cb" "${pkgdir}/usr/bin/cb" + install -Dm 755 "bin/cb" "${pkgdir}/usr/bin/cb" } # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/cmake-data-deb/cmake-data-deb.pacscript b/packages/cmake-data-deb/cmake-data-deb.pacscript old mode 100755 new mode 100644 index 1b50fe004e..127a5b6711 --- a/packages/cmake-data-deb/cmake-data-deb.pacscript +++ b/packages/cmake-data-deb/cmake-data-deb.pacscript @@ -1,18 +1,18 @@ -name="cmake-data-deb" +pkgname="cmake-data-deb" gives="cmake-data" pkgver="3.25.1" pkgdesc="CMake data files (modules, templates and documentation)" codename="$(lsb_release -cs)" case "${codename}" in "bullseye") - url="http://ftp.debian.org/debian/pool/main/c/cmake/cmake-data_${pkgver}-1~bpo11+1_all.deb" - hash="6c7c8d91c045ccf44c9cc7dc1f05d8431707df4651bf18b4a3ee34847bc205f3" + source=("http://ftp.debian.org/debian/pool/main/c/cmake/cmake-data_${pkgver}-1~bpo11+1_all.deb") + sha256sums=("6c7c8d91c045ccf44c9cc7dc1f05d8431707df4651bf18b4a3ee34847bc205f3") ;; *) - url="http://archive.ubuntu.com/ubuntu/pool/main/c/cmake/cmake-data_${pkgver}-1ubuntu1_all.deb" - hash="8633c1235e841faa70eb1c58f451338a73048dbddb4d97c482cca92dde61c567" + source=("http://archive.ubuntu.com/ubuntu/pool/main/c/cmake/cmake-data_${pkgver}-1ubuntu1_all.deb") + sha256sums=("8633c1235e841faa70eb1c58f451338a73048dbddb4d97c482cca92dde61c567") ;; esac arch=('amd64') -maintainer="Zahrun " +maintainer=("Zahrun ") repology=("project: cmake" "repo: debian_unstable") diff --git a/packages/cmake-deb/cmake-deb.pacscript b/packages/cmake-deb/cmake-deb.pacscript old mode 100755 new mode 100644 index 8838d73cda..65ae6348e0 --- a/packages/cmake-deb/cmake-deb.pacscript +++ b/packages/cmake-deb/cmake-deb.pacscript @@ -1,4 +1,4 @@ -name="cmake-deb" +pkgname="cmake-deb" gives="cmake" pkgver="3.25.1" pkgdesc="CMake data files (modules, templates and documentation)" @@ -6,14 +6,14 @@ pacdeps=("cmake-data-deb") codename="$(lsb_release -cs)" case "${codename}" in "bullseye") - url="http://ftp.debian.org/debian/pool/main/c/cmake/cmake_${pkgver}-1~bpo11+1_amd64.deb" - hash="5561f20944ef4d9d3ea496bc92dff5b1d5adea3cfee1fa302a7298bedeb03f9e" + source=("http://ftp.debian.org/debian/pool/main/c/cmake/cmake_${pkgver}-1~bpo11+1_amd64.deb") + sha256sums=("5561f20944ef4d9d3ea496bc92dff5b1d5adea3cfee1fa302a7298bedeb03f9e") ;; *) - url="http://archive.ubuntu.com/ubuntu/pool/main/c/cmake/cmake_${pkgver}-1ubuntu1_amd64.deb" - hash="a8c139c0cf500e47a521930f9e0cf5a814fbed60145a29bb37e7f7ae03a27ca4" + source=("http://archive.ubuntu.com/ubuntu/pool/main/c/cmake/cmake_${pkgver}-1ubuntu1_amd64.deb") + sha256sums=("a8c139c0cf500e47a521930f9e0cf5a814fbed60145a29bb37e7f7ae03a27ca4") ;; esac arch=('amd64') -maintainer="Zahrun " +maintainer=("Zahrun ") repology=("project: ${gives}" "repo: debian_unstable") diff --git a/packages/cmatrix/cmatrix.pacscript b/packages/cmatrix/cmatrix.pacscript index ca655961cd..a8f5e2952c 100644 --- a/packages/cmatrix/cmatrix.pacscript +++ b/packages/cmatrix/cmatrix.pacscript @@ -1,24 +1,26 @@ -name="cmatrix" +pkgname="cmatrix" pkgver="2.0" -url="https://github.com/abishekvashok/${name}/releases/download/v${pkgver}/${name}-v${pkgver}-Butterscotch.tar" +source=("https://github.com/abishekvashok/${pkgname}/releases/download/v${pkgver}/${pkgname}-v${pkgver}-Butterscotch.tar") makedepends=("autoconf" "make") depends=("libncurses5-dev" "libncursesw5-dev") pkgdesc="Terminal based The Matrix like implementation" -hash="e46c739bfe79e570db2461f89ac66ea79a8fab8efb8423ab53f143e93c2553bc" -maintainer="Elsie19 " +sha256sums=("e46c739bfe79e570db2461f89ac66ea79a8fab8efb8423ab53f143e93c2553bc") +maintainer=("Elsie19 ") build() { + cd "${_archive}" ./configure make -j"${NCPU}" } package() { - sudo make install DESTDIR="${pkgdir}" - sudo install -Dm644 COPYING -t "${pkgdir}/usr/share/licenses/${name}" - sudo install -Dm644 README.md -t "${pkgdir}/usr/share/doc/${name}" + cd "${_archive}" + make install DESTDIR="${pkgdir}" + install -Dm644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}" + install -Dm644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}" } post_remove() { - sudo rm -rf "/usr/share/licenses/${name}" - sudo rm -rf "/usr/share/doc/${name}" + sudo rm -rf "/usr/share/licenses/${pkgname}" + sudo rm -rf "/usr/share/doc/${pkgname}" } diff --git a/packages/com.github.mirkobrombin.bottles-deb/com.github.mirkobrombin.bottles-deb.pacscript b/packages/com.github.mirkobrombin.bottles-deb/com.github.mirkobrombin.bottles-deb.pacscript index c929d88dca..c862e7bba1 100644 --- a/packages/com.github.mirkobrombin.bottles-deb/com.github.mirkobrombin.bottles-deb.pacscript +++ b/packages/com.github.mirkobrombin.bottles-deb/com.github.mirkobrombin.bottles-deb.pacscript @@ -1,8 +1,8 @@ -name="com.github.mirkobrombin.bottles-deb" +pkgname="com.github.mirkobrombin.bottles-deb" gives="com.github.mirkobrombin.bottles" breaks=("${gives}-v1" "${gives}-git" "${gives}-bin" "${gives}-app") pkgver="1" #0458cc87dbd02c7acae52873806b764ea288dfd9 #refresh-for-newer-hash -url="https://github.com/bottlesdevs/Bottles/releases/download/continuous-v1/bottles.0458cc87dbd02c7acae52873806b764ea288dfd9.deb" +source=("https://github.com/bottlesdevs/Bottles/releases/download/continuous-v1/bottles.0458cc87dbd02c7acae52873806b764ea288dfd9.deb") pkgdesc="Version 1 of Bottles allowing you to easily install Proton and Wine prefixes." -hash="bec7780c547fd7806f10c9c96f1c8f510958303554dab387e22a71eb677db321" -maintainer="cat-master21 <96554164+cat-master21@users.noreply.github.com>" +sha256sums=("bec7780c547fd7806f10c9c96f1c8f510958303554dab387e22a71eb677db321") +maintainer=("cat-master21 <96554164+cat-master21@users.noreply.github.com>") diff --git a/packages/conky-manager-zcot-git/conky-manager-zcot-git.pacscript b/packages/conky-manager-zcot-git/conky-manager-zcot-git.pacscript index 054187bbbb..660fddfa90 100644 --- a/packages/conky-manager-zcot-git/conky-manager-zcot-git.pacscript +++ b/packages/conky-manager-zcot-git/conky-manager-zcot-git.pacscript @@ -1,17 +1,16 @@ -name="conky-manager-zcot-git" -url="https://github.com/zcot/conky-manager2.git" +pkgname="conky-manager-zcot-git" +source=("https://github.com/zcot/conky-manager2.git") pkgver="2.7" -pkgver() { - git ls-remote "${url}" add-1.10-support | cut -f1 | cut -c1-8 -} makedepends=("valac" "libgee-0.8-dev" "libgtk-3-dev" "libjson-glib-dev" "gettext" "libgettextpo-dev" "p7zip-full" "imagemagick") depends=("conky" "rsync") pkgdesc="Simple tool for managing Conky configs" build() { + cd "${_archive}" make -j"${NCPU}" } package() { - sudo make install DESTDIR="${pkgdir}" + cd "${_archive}" + make install DESTDIR="${pkgdir}" } diff --git a/packages/cortile-bin/cortile-bin.pacscript b/packages/cortile-bin/cortile-bin.pacscript index c193a7711e..e42c03ce55 100644 --- a/packages/cortile-bin/cortile-bin.pacscript +++ b/packages/cortile-bin/cortile-bin.pacscript @@ -1,19 +1,17 @@ -name="cortile-bin" +pkgname="cortile-bin" gives="cortile" pkgdesc="Linux auto tiling manager with hot corner support" -maintainer="AJStrong " +maintainer=("AJStrong ") pkgver="2.4.0" -replace=("${gives}" "${gives}-git") +replaces=("${gives}" "${gives}-git") arch=('arm64' 'amd64') homepage='https://github.com/leukipp/cortile' repology=("project: cortile") -if [[ ${CARCH} == arm64 ]]; then - hash="65396926a995c970d07dd71536f04d24b7eea12b53f892508c11848726bd8d22" -else - hash="1a9c87737e6d212a15921ac5e10f21b64c7aa2051dbadc976f3c817674418537" -fi -url="https://github.com/leukipp/${gives}/releases/download/v${pkgver}/${gives}_${pkgver}_linux_${CARCH}.tar.gz" +sha256sums_arm64=("65396926a995c970d07dd71536f04d24b7eea12b53f892508c11848726bd8d22") +sha256sums_amd64=("1a9c87737e6d212a15921ac5e10f21b64c7aa2051dbadc976f3c817674418537") +source=("https://github.com/leukipp/${gives}/releases/download/v${pkgver}/${gives}_${pkgver}_linux_${CARCH}.tar.gz") package() { - sudo install -Dm755 "cortile" -t "${pkgdir}/usr/bin" + cd "${_archive}" + install -Dm755 "cortile" -t "${pkgdir}/usr/bin" } diff --git a/packages/couture/couture.pacscript b/packages/couture/couture.pacscript index e6abe1a1d0..6fa53d56fa 100644 --- a/packages/couture/couture.pacscript +++ b/packages/couture/couture.pacscript @@ -1,16 +1,17 @@ -name="couture" +pkgname="couture" _name="Couture" pkgver="1.6" -url="https://www.auburnsounds.com/downloads/${_name}-FREE-${pkgver}.zip" +source=("https://www.auburnsounds.com/downloads/${_name}-FREE-${pkgver}.zip") pkgdesc="Couture gives you exquisite control over your dynamics, and particularly attacks." -hash="5cebcd1358f450a0b7c7003444c3febbc8764be8d401ead2a3e07cab232aa14e" -maintainer="echometerain " +sha256sums=("5cebcd1358f450a0b7c7003444c3febbc8764be8d401ead2a3e07cab232aa14e") +maintainer=("echometerain ") package() { - sudo mkdir -p "${pkgdir}/usr/lib/lv2" - sudo mv "./Linux/Linux-64b-LV2-FREE" "${pkgdir}/usr/lib/lv2/Auburn Sounds ${_name}.lv2" - sudo mkdir -p "${pkgdir}/usr/lib/vst" - sudo mv "./Linux/Linux-64b-VST2-FREE" "${pkgdir}/usr/lib/vst/Auburn Sounds ${_name}.VST2" - sudo mkdir -p "${pkgdir}/usr/lib/vst3" - sudo mv "./Linux/Linux-64b-VST3-FREE/Auburn Sounds ${_name}.vst3" "${pkgdir}/usr/lib/vst3/Auburn Sounds ${_name}.vst3" + cd "${_archive}" + mkdir -p "${pkgdir}/usr/lib/lv2" + mv "./Linux/Linux-64b-LV2-FREE" "${pkgdir}/usr/lib/lv2/Auburn Sounds ${_name}.lv2" + mkdir -p "${pkgdir}/usr/lib/vst" + mv "./Linux/Linux-64b-VST2-FREE" "${pkgdir}/usr/lib/vst/Auburn Sounds ${_name}.VST2" + mkdir -p "${pkgdir}/usr/lib/vst3" + mv "./Linux/Linux-64b-VST3-FREE/Auburn Sounds ${_name}.vst3" "${pkgdir}/usr/lib/vst3/Auburn Sounds ${_name}.vst3" } diff --git a/packages/cutefish-calculator-git/cutefish-calculator-git.pacscript b/packages/cutefish-calculator-git/cutefish-calculator-git.pacscript index 5d018dbfd3..ebc55fccf2 100644 --- a/packages/cutefish-calculator-git/cutefish-calculator-git.pacscript +++ b/packages/cutefish-calculator-git/cutefish-calculator-git.pacscript @@ -1,25 +1,25 @@ -name="cutefish-calculator-git" +pkgname="cutefish-calculator-git" gives="cutefish-calculator" -url="https://github.com/cutefishos/calculator.git" +source=("https://github.com/cutefishos/calculator.git") pkgver="0.4" license="GPL-3.0" makedepends=("extra-cmake-modules" "ninja-build" "qttools5-dev-tools" "qtbase5-dev" "qtdeclarative5-dev" "qtquickcontrols2-5-dev" "qttools5-dev") depends=("fishui" "libcutefish") pkgdesc="CutefishOS Calculator." -pkgver() { - git ls-remote "${url}" main | cut -f1 | cut -c1-8 -} prepare() { + cd "${_archive}" mkdir build cd build } build() { + cd "${_archive}" cmake .. make -j"${NCPU}" } package() { - sudo make install DESTDIR="${pkgdir}" + cd "${_archive}" + make install DESTDIR="${pkgdir}" } diff --git a/packages/cutefish-core-git/cutefish-core-git.pacscript b/packages/cutefish-core-git/cutefish-core-git.pacscript index d8b9318cc3..08b887dd5f 100644 --- a/packages/cutefish-core-git/cutefish-core-git.pacscript +++ b/packages/cutefish-core-git/cutefish-core-git.pacscript @@ -1,25 +1,25 @@ -name="cutefish-core-git" +pkgname="cutefish-core-git" gives="cutefish-core" -url="https://github.com/cutefishos/core.git" +source=("https://github.com/cutefishos/core.git") pkgver="0.8" license="GPL-3.0" makedepends=("extra-cmake-modules" "ninja-build" "qttools5-dev-tools" "qtbase5-dev" "qtdeclarative5-dev" "qtquickcontrols2-5-dev" "qttools5-dev") depends=("fishui" "libpulse-dev" "libxtst6" "libpolkit-agent-1-dev" "libxcb-randr0-dev" "libxcb1-dev" "libsm-dev" "libxcursor-dev" "libxcb-xfixes0-dev" "libxcb-damage0-dev" "libxcb-composite0-dev" "libxcb-shm0-dev" "libxcb-util-dev" "libxcb-image0-dev" "libxtst-dev" "libpulse-dev" "libpolkit-qt5-1-dev" "libkf5windowsystem-dev" "libkf5globalaccel-dev" "libqt5x11extras5-dev" "qtbase5-dev" "qtdeclarative5-dev" "qtquickcontrols2-5-dev" "qttools5-dev" "qttools5-dev-tools") pkgdesc="System backend and start session and more." -pkgver() { - git ls-remote "${url}" main | cut -f1 | cut -c1-8 -} prepare() { + cd "${_archive}" mkdir build cd build } build() { + cd "${_archive}" cmake .. make -j"${NCPU}" } package() { - sudo make install DESTDIR="${pkgdir}" + cd "${_archive}" + make install DESTDIR="${pkgdir}" } diff --git a/packages/cutefish-dock-git/cutefish-dock-git.pacscript b/packages/cutefish-dock-git/cutefish-dock-git.pacscript index c7e11daa76..b7ad72f97b 100644 --- a/packages/cutefish-dock-git/cutefish-dock-git.pacscript +++ b/packages/cutefish-dock-git/cutefish-dock-git.pacscript @@ -1,25 +1,25 @@ -name="cutefish-dock-git" +pkgname="cutefish-dock-git" gives="cutefish-dock" pkgver="0.8" -url="https://github.com/cutefishos/dock.git" +source=("https://github.com/cutefishos/dock.git") license="GPL-3.0" makedepends=("extra-cmake-modules" "ninja-build" "qttools5-dev-tools" "qtbase5-dev" "qtdeclarative5-dev" "qtquickcontrols2-5-dev" "qttools5-dev" "libqt5x11extras5-dev" "libkf5windowsystem-dev") depends=("fishui" "libcutefish" "libqt5svg5-dev") pkgdesc="CutefishOS application dock." -pkgver() { - git ls-remote "${url}" main | cut -f1 | cut -c1-8 -} prepare() { + cd "${_archive}" mkdir build cd build } build() { + cd "${_archive}" cmake .. make -j"${NCPU}" } package() { - sudo make install DESTDIR="${pkgdir}" + cd "${_archive}" + make install DESTDIR="${pkgdir}" } diff --git a/packages/cutefish-filemanager-git/cutefish-filemanager-git.pacscript b/packages/cutefish-filemanager-git/cutefish-filemanager-git.pacscript index 5a2a6c7f2b..839b551aa8 100644 --- a/packages/cutefish-filemanager-git/cutefish-filemanager-git.pacscript +++ b/packages/cutefish-filemanager-git/cutefish-filemanager-git.pacscript @@ -1,25 +1,25 @@ -name="cutefish-filemanager-git" +pkgname="cutefish-filemanager-git" gives="cutefish-filemanager" pkgver="0.8" -url="https://github.com/cutefishos/filemanager.git" +source=("https://github.com/cutefishos/filemanager.git") license="GPL-3.0" makedepends=("extra-cmake-modules" "ninja-build" "qttools5-dev-tools" "qtbase5-dev" "qtdeclarative5-dev" "qtquickcontrols2-5-dev" "qttools5-dev") depends=("fishui" "libcutefish" "kio" "libkf5solid-dev") pkgdesc="Cutefish File Manager, simple to use, beautiful, and retain the classic PC interactive design." -pkgver() { - git ls-remote "${url}" main | cut -f1 | cut -c1-8 -} prepare() { + cd "${_archive}" mkdir build cd build } build() { + cd "${_archive}" cmake .. make -j"${NCPU}" } package() { - sudo make install DESTDIR="${pkgdir}" + cd "${_archive}" + make install DESTDIR="${pkgdir}" } diff --git a/packages/cutefish-icons-git/cutefish-icons-git.pacscript b/packages/cutefish-icons-git/cutefish-icons-git.pacscript index ba164d7630..2ff6636f17 100644 --- a/packages/cutefish-icons-git/cutefish-icons-git.pacscript +++ b/packages/cutefish-icons-git/cutefish-icons-git.pacscript @@ -1,24 +1,24 @@ -name="cutefish-icons-git" +pkgname="cutefish-icons-git" gives="cutefish-icons" pkgver="0.8" -url="https://github.com/cutefishos/icons.git" +source=("https://github.com/cutefishos/icons.git") license="GPL-3.0" makedepends=("extra-cmake-modules" "ninja-build") pkgdesc="System default icon theme of CutefishOS." -pkgver() { - git ls-remote "${url}" main | cut -f1 | cut -c1-8 -} prepare() { + cd "${_archive}" mkdir build } build() { + cd "${_archive}" cd build cmake .. make -j"${NCPU}" } package() { - sudo make install DESTDIR="${pkgdir}" + cd "${_archive}" + make install DESTDIR="${pkgdir}" } diff --git a/packages/cutefish-kwin-plugins-git/cutefish-kwin-plugins-git.pacscript b/packages/cutefish-kwin-plugins-git/cutefish-kwin-plugins-git.pacscript index b5c1424c51..bd45ef6411 100644 --- a/packages/cutefish-kwin-plugins-git/cutefish-kwin-plugins-git.pacscript +++ b/packages/cutefish-kwin-plugins-git/cutefish-kwin-plugins-git.pacscript @@ -1,26 +1,26 @@ -name="cutefish-kwin-plugins-git" +pkgname="cutefish-kwin-plugins-git" gives="cutefish-kwin-plugins" pkgver="0.8" -url="https://github.com/cutefishos/kwin-plugins.git" +source=("https://github.com/cutefishos/kwin-plugins.git") license="GPL-3.0" makedepends=("extra-cmake-modules" "ninja-build" "qttools5-dev-tools" "qtbase5-dev" "qtdeclarative5-dev" "qtquickcontrols2-5-dev" "qttools5-dev") depends=("libkf5config-dev" "libkdecorations2-dev" "libkf5guiaddons-dev" "libkf5coreaddons-dev" "libkf5configwidgets-dev" "libkf5windowsystem-dev" "libkf5wayland-dev" "kwin-dev") pkgdesc="CutefishOS KWin Plugins." -pkgver() { - git ls-remote "${url}" main | cut -f1 | cut -c1-8 -} prepare() { + cd "${_archive}" mkdir build } build() { + cd "${_archive}" cd build cmake .. make -j"${NCPU}" } package() { + cd "${_archive}" cd build - sudo make install DESTDIR="${pkgdir}" + make install DESTDIR="${pkgdir}" } diff --git a/packages/cutefish-launcher-git/cutefish-launcher-git.pacscript b/packages/cutefish-launcher-git/cutefish-launcher-git.pacscript index fb326b4990..b8e4192c67 100644 --- a/packages/cutefish-launcher-git/cutefish-launcher-git.pacscript +++ b/packages/cutefish-launcher-git/cutefish-launcher-git.pacscript @@ -1,25 +1,25 @@ -name="cutefish-launcher-git" +pkgname="cutefish-launcher-git" gives="cutefish-launcher" -url="https://github.com/cutefishos/launcher.git" +source=("https://github.com/cutefishos/launcher.git") pkgver="0.8" license="GPL-3.0" makedepends=("extra-cmake-modules" "ninja-build" "qttools5-dev-tools" "qtbase5-dev" "qtdeclarative5-dev" "qtquickcontrols2-5-dev" "qttools5-dev") depends=("fishui" "libcutefish" "libkf5windowsystem-dev") pkgdesc="CutefishOS's full-screen application launcher" -pkgver() { - git ls-remote "${url}" main | cut -f1 | cut -c1-8 -} prepare() { + cd "${_archive}" mkdir build cd build } build() { + cd "${_archive}" cmake .. make -j"${NCPU}" } package() { - sudo make install DESTDIR="${pkgdir}" + cd "${_archive}" + make install DESTDIR="${pkgdir}" } diff --git a/packages/cutefish-qt-plugins-git/cutefish-qt-plugins-git.pacscript b/packages/cutefish-qt-plugins-git/cutefish-qt-plugins-git.pacscript index ee518cc5c7..e6fc393d02 100644 --- a/packages/cutefish-qt-plugins-git/cutefish-qt-plugins-git.pacscript +++ b/packages/cutefish-qt-plugins-git/cutefish-qt-plugins-git.pacscript @@ -1,25 +1,25 @@ -name="cutefish-qt-plugins-git" +pkgname="cutefish-qt-plugins-git" gives="cutefish-qt-plugins" pkgver="0.5" -url="https://github.com/cutefishos/qt-plugins.git" +source=("https://github.com/cutefishos/qt-plugins.git") license="GPL-3.0" makedepends=("extra-cmake-modules" "ninja-build" "qttools5-dev-tools" "qtbase5-dev" "qtdeclarative5-dev" "qtquickcontrols2-5-dev" "libxcb-ewmh-dev" "qttools5-dev") depends=("libkf5windowsystem-dev" "libdbusmenu-qt5-dev" "libqt5xdg-dev" "qtquickcontrols2-5-dev") pkgdesc="Unify Qt application style of CutefishOS" -pkgver() { - git ls-remote "${url}" main | cut -f1 | cut -c1-8 -} prepare() { + cd "${_archive}" mkdir build cd build } build() { + cd "${_archive}" cmake .. make -j"${NCPU}" } package() { - sudo make install DESTDIR="${pkgdir}" + cd "${_archive}" + make install DESTDIR="${pkgdir}" } diff --git a/packages/cutefish-settings-git/cutefish-settings-git.pacscript b/packages/cutefish-settings-git/cutefish-settings-git.pacscript index bc9054e84e..7ec50ef362 100644 --- a/packages/cutefish-settings-git/cutefish-settings-git.pacscript +++ b/packages/cutefish-settings-git/cutefish-settings-git.pacscript @@ -1,25 +1,25 @@ -name="cutefish-settings-git" +pkgname="cutefish-settings-git" gives="cutefish-settings" pkgver="0.8" -url="https://github.com/cutefishos/settings.git" +source=("https://github.com/cutefishos/settings.git") license="GPL-3.0" makedepends=("extra-cmake-modules" "ninja-build" "qttools5-dev-tools" "qtbase5-dev" "qtdeclarative5-dev" "qtquickcontrols2-5-dev" "qttools5-dev") depends=("fishui" "libfontconfig1" "libfreetype-dev" "libicu-dev" "libkf5coreaddons-dev" "libcutefish" "modemmanager-qt-dev" "libkf5networkmanagerqt-dev") pkgdesc="System Settings application for Cutefish Desktop." -pkgver() { - git ls-remote "${url}" main | cut -f1 | cut -c1-8 -} prepare() { + cd "${_archive}" mkdir build cd build } build() { + cd "${_archive}" cmake .. make -j"${NCPU}" } package() { - sudo make install DESTDIR="${pkgdir}" + cd "${_archive}" + make install DESTDIR="${pkgdir}" } diff --git a/packages/cutefish-statusbar-git/cutefish-statusbar-git.pacscript b/packages/cutefish-statusbar-git/cutefish-statusbar-git.pacscript index bc698777d6..47c72febe8 100644 --- a/packages/cutefish-statusbar-git/cutefish-statusbar-git.pacscript +++ b/packages/cutefish-statusbar-git/cutefish-statusbar-git.pacscript @@ -1,26 +1,26 @@ -name="cutefish-statusbar-git" +pkgname="cutefish-statusbar-git" gives="cutefish-statusbar" pkgver="0.3-1" -url="https://github.com/cutefishos/statusbar.git" +source=("https://github.com/cutefishos/statusbar.git") pkgver="0.7" license="GPL-3.0" makedepends=("extra-cmake-modules" "ninja-build" "qttools5-dev-tools" "qtbase5-dev" "qtdeclarative5-dev" "qtquickcontrols2-5-dev" "qttools5-dev") depends=("fishui" "libcutefish" "libdbusmenu-qt5-dev" "libqt5svg5-dev") pkgdesc="Top status bar of CutefishOS" -pkgver() { - git ls-remote "${url}" main | cut -f1 | cut -c1-8 -} prepare() { + cd "${_archive}" mkdir build cd build } build() { + cd "${_archive}" cmake .. make -j"${NCPU}" } package() { - sudo make install DESTDIR="${pkgdir}" + cd "${_archive}" + make install DESTDIR="${pkgdir}" } diff --git a/packages/cutefish-wallpapers-git/cutefish-wallpapers-git.pacscript b/packages/cutefish-wallpapers-git/cutefish-wallpapers-git.pacscript index 5611f4c12c..c903dd3073 100644 --- a/packages/cutefish-wallpapers-git/cutefish-wallpapers-git.pacscript +++ b/packages/cutefish-wallpapers-git/cutefish-wallpapers-git.pacscript @@ -1,25 +1,25 @@ -name="cutefish-wallpapers-git" +pkgname="cutefish-wallpapers-git" gives="cutefish-wallpapers" pkgver="0.2-1" -url="https://github.com/cutefishos/wallpapers.git" +source=("https://github.com/cutefishos/wallpapers.git") pkgver="1.0" license="GPL-3.0" makedepends=("cmake" "ninja-build") pkgdesc="CutefishOS's system wallpaper." -pkgver() { - git ls-remote "${url}" main | cut -f1 | cut -c1-8 -} prepare() { + cd "${_archive}" mkdir build cd build } build() { + cd "${_archive}" cmake .. make -j"${NCPU}" } package() { - sudo make install DESTDIR="${pkgdir}" + cd "${_archive}" + make install DESTDIR="${pkgdir}" } diff --git a/packages/dbeaver-ce-deb/dbeaver-ce-deb.pacscript b/packages/dbeaver-ce-deb/dbeaver-ce-deb.pacscript index 01b96ded77..88dfd9c4ab 100644 --- a/packages/dbeaver-ce-deb/dbeaver-ce-deb.pacscript +++ b/packages/dbeaver-ce-deb/dbeaver-ce-deb.pacscript @@ -1,9 +1,9 @@ -name="dbeaver-ce-deb" +pkgname="dbeaver-ce-deb" pkgver="24.0.0" gives="dbeaver-ce" -url="https://github.com/dbeaver/dbeaver/releases/download/${pkgver}/dbeaver-ce_${pkgver}_amd64.deb" +source=("https://github.com/dbeaver/dbeaver/releases/download/${pkgver}/dbeaver-ce_${pkgver}_amd64.deb") pkgdesc="Free universal database tool and SQL client" -hash="f491bc7fffd7c9882ccfc2021e965d97956088083b79f35dd57d195d2fdfb76a" +sha256sums=("f491bc7fffd7c9882ccfc2021e965d97956088083b79f35dd57d195d2fdfb76a") arch=('amd64') repology=("project: dbeaver") -maintainer="KwonNam Son " +maintainer=("KwonNam Son ") diff --git a/packages/deadbeef-deb/deadbeef-deb.pacscript b/packages/deadbeef-deb/deadbeef-deb.pacscript index e29465257f..4a2e4157f8 100644 --- a/packages/deadbeef-deb/deadbeef-deb.pacscript +++ b/packages/deadbeef-deb/deadbeef-deb.pacscript @@ -1,13 +1,13 @@ -name="deadbeef-deb" +pkgname="deadbeef-deb" gives="deadbeef-static" repology=("project: deadbeef") pkgver="1.9.6" build_version="1" -replace=("${gives}") +replaces=("${gives}") breaks=("${gives}" "${gives}-bin" "${gives}-git" "${gives}-app" "${gives}-deb") arch=("amd64") -hash="c0e95beedb2dc3ee6de604048593b2b12a4ea001ad3185c41947b4f7d854ecf6" -url="https://cfhcable.dl.sourceforge.net/project/deadbeef/travis/linux/${pkgver}/deadbeef-static_${pkgver}-${build_version}_amd64.deb" -homepage="https://deadbeef.sourceforge.io" +sha256sums=("c0e95beedb2dc3ee6de604048593b2b12a4ea001ad3185c41947b4f7d854ecf6") +source=("https://cfhcable.dl.sourceforge.net/project/deadbeef/travis/linux/${pkgver}/deadbeef-static_${pkgver}-${build_version}_amd64.deb") +url="https://deadbeef.sourceforge.io" pkgdesc="A modular cross-platform audio player" -maintainer="Arrowsome " +maintainer=("Arrowsome ") diff --git a/packages/deskcut-deb/deskcut-deb.pacscript b/packages/deskcut-deb/deskcut-deb.pacscript index 3ed293d52f..7a03072121 100644 --- a/packages/deskcut-deb/deskcut-deb.pacscript +++ b/packages/deskcut-deb/deskcut-deb.pacscript @@ -1,10 +1,10 @@ -name="deskcut-deb" +pkgname="deskcut-deb" gives="deskcut" -replace=("${gives}") +replaces=("${gives}") pkgver="1.5.0" -url="https://github.com/NayamAmarshe/DeskCut/releases/download/stable-${pkgver}/${gives}_${pkgver}_amd64.deb" +source=("https://github.com/NayamAmarshe/DeskCut/releases/download/stable-${pkgver}/${gives}_${pkgver}_amd64.deb") pkgdesc="An easy-to-use linux app that lets you create Desktop Shortcuts hassle-free" -hash="0f32b3937fdac157c02630b582b278a1899ed4cbd605132441324ea582caf320" +sha256sums=("0f32b3937fdac157c02630b582b278a1899ed4cbd605132441324ea582caf320") arch=('amd64') -maintainer="0x262D " +maintainer=("0x262D ") repology=("project: ${gives}") diff --git a/packages/dino-git/dino-git.pacscript b/packages/dino-git/dino-git.pacscript index 2b557712f3..c297dcd5a9 100644 --- a/packages/dino-git/dino-git.pacscript +++ b/packages/dino-git/dino-git.pacscript @@ -1,16 +1,14 @@ -name="dino-git" -url="https://github.com/Elsie19/Dino.git" +pkgname="dino-git" +source=("https://github.com/Elsie19/Dino.git") pkgver="0.1.1" breaks=("dino" "dino-app" "dino-bin" "dino-deb") gives="dino" pkgdesc="An extensible database system written in Bash" -maintainer="Elsie19 " -pkgver() { - git ls-remote "${url}" master | cut -f1 | cut -c1-8 -} +maintainer=("Elsie19 ") package() { - sudo install -Dm755 dino "${pkgdir}/usr/bin/dino" - sudo install -D programs/* -t "${pkgdir}/usr/share/dino/programs" - sudo install -Dm755 LICENSE "${pkgdir}/usr/share/licenses/${name}/LICENSE" + cd "${_archive}" + install -Dm755 dino "${pkgdir}/usr/bin/dino" + install -D programs/* -t "${pkgdir}/usr/share/dino/programs" + install -Dm755 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } diff --git a/packages/discord-canary/discord-canary.pacscript b/packages/discord-canary/discord-canary.pacscript index 93015c1b9c..a70d14cd48 100644 --- a/packages/discord-canary/discord-canary.pacscript +++ b/packages/discord-canary/discord-canary.pacscript @@ -1,21 +1,22 @@ -name="discord-canary" +pkgname="discord-canary" repology=("project: discord-canary") pkgver="0.0.327" -maintainer="DismissedGuy " -url="https://dl-canary.discordapp.net/apps/linux/${pkgver}/${name}-${pkgver}.tar.gz" +maintainer=("DismissedGuy ") +source=("https://dl-canary.discordapp.net/apps/linux/${pkgver}/${pkgname}-${pkgver}.tar.gz") homepage='https://discord.com/' depends=("libc6" "libasound2" "libatomic1" "libnotify4" "libnspr4" "libnss3" "libstdc++6" "libxss1" "libxtst6" "libc++1" "libatk1.0-0" "libatk-bridge2.0-0" "libcups2" "libdrm2" "libgtk-3-0" "libgbm1") pkgdesc="Chat for Communities and Friends - Unstable" arch=('amd64') -hash="a8c7b282cdc463913e252db466299c0bc5fd185493bf6c5cf270cf4a1eddc75a" +sha256sums=("a8c7b282cdc463913e252db466299c0bc5fd185493bf6c5cf270cf4a1eddc75a") package() { - sudo install -dm644 "${pkgdir}/usr/bin" - sudo install -dm644 "${pkgdir}/usr/share/${name}" - sudo ln -sf "/usr/share/${name}/DiscordCanary" "${pkgdir}/usr/bin/${name}" - sudo install -Dm755 discord-canary.desktop "${pkgdir}/usr/share/applications/discord-canary.desktop" - sudo install -Dm755 discord.png "${pkgdir}/usr/share/icons/discord-canary.png" - sudo cp -R ./* "${pkgdir}/usr/share/${name}/" + cd "${_archive}" + install -dm644 "${pkgdir}/usr/bin" + install -dm644 "${pkgdir}/usr/share/${pkgname}" + ln -sf "/usr/share/${pkgname}/DiscordCanary" "${pkgdir}/usr/bin/${pkgname}" + install -Dm755 discord-canary.desktop "${pkgdir}/usr/share/applications/discord-canary.desktop" + install -Dm755 discord.png "${pkgdir}/usr/share/icons/discord-canary.png" + cp -R ./* "${pkgdir}/usr/share/${pkgname}/" } post_install() { diff --git a/packages/discord-deb/discord-deb.pacscript b/packages/discord-deb/discord-deb.pacscript index a2def0a529..b3724f5929 100644 --- a/packages/discord-deb/discord-deb.pacscript +++ b/packages/discord-deb/discord-deb.pacscript @@ -1,11 +1,11 @@ -name="discord-deb" +pkgname="discord-deb" gives="discord" breaks=("${gives}" "${gives}-app" "${gives}-debian-patched-deb") pkgver="0.0.52" pkgdesc="Chat for Communities and Friends. Discord is the easiest way to communicate over voice, video, and text. Chat, hang out, and stay close with your friends and communities" -hash="5f301979bd3f2755946ebeb8d8ae82a14ad8c887d943ef71288c7b715345a428" -maintainer="ObsidianPresidium " +sha256sums=("5f301979bd3f2755946ebeb8d8ae82a14ad8c887d943ef71288c7b715345a428") +maintainer=("ObsidianPresidium ") arch=('amd64') -url="https://dl.discordapp.net/apps/linux/${pkgver}/discord-${pkgver}.deb" +source=("https://dl.discordapp.net/apps/linux/${pkgver}/discord-${pkgver}.deb") homepage='https://discord.com/' repology=("project: ${gives}") diff --git a/packages/discord-ptb-deb/discord-ptb-deb.pacscript b/packages/discord-ptb-deb/discord-ptb-deb.pacscript index 9b06386ced..b7f538cf13 100644 --- a/packages/discord-ptb-deb/discord-ptb-deb.pacscript +++ b/packages/discord-ptb-deb/discord-ptb-deb.pacscript @@ -1,9 +1,9 @@ -name="discord-ptb-deb" +pkgname="discord-ptb-deb" gives="discord-ptb" pkgver="0.0.54" -url="https://dl-ptb.discordapp.net/apps/linux/${pkgver}/${gives}-${pkgver}.deb" +source=("https://dl-ptb.discordapp.net/apps/linux/${pkgver}/${gives}-${pkgver}.deb") homepage='https://discord.com/' pkgdesc="Chat for Communities and Friends - Public Test Build" -hash="3cbd0582493ff34780776511e3a1e5b9bde9a018d6e130d75895bbfc33af7afb" +sha256sums=("3cbd0582493ff34780776511e3a1e5b9bde9a018d6e130d75895bbfc33af7afb") arch=('amd64') repology=("project: ${gives}") diff --git a/packages/discord/discord.pacscript b/packages/discord/discord.pacscript index 26a0cb3e38..3abdd47a20 100644 --- a/packages/discord/discord.pacscript +++ b/packages/discord/discord.pacscript @@ -1,19 +1,20 @@ -name="discord" +pkgname="discord" pkgver="0.0.49" -maintainer="Elsie19 " -url="https://dl.discordapp.net/apps/linux/${pkgver}/${name}-${pkgver}.tar.gz" +maintainer=("Elsie19 ") +source=("https://dl.discordapp.net/apps/linux/${pkgver}/${pkgname}-${pkgver}.tar.gz") homepage='https://discord.com/' depends=("libc6" "libasound2" "libatomic1" "libnotify4" "libnspr4" "libnss3" "libstdc++6" "libxss1" "libxtst6" "libayatana-appindicator3-1" "libc++1") pkgdesc="Chat for Communities and Friends" -hash="ad54980244d94e5bab9db51e60914282c3dcb02aa32756c99de4108b2866bf04" +sha256sums=("ad54980244d94e5bab9db51e60914282c3dcb02aa32756c99de4108b2866bf04") arch=('amd64') -repology=("project: ${name}") +repology=("project: ${pkgname}") package() { - sudo install -dm644 "${pkgdir}/usr/bin" - sudo install -dm644 "${pkgdir}/usr/share/discord" - sudo ln -sf /usr/share/discord/Discord "${pkgdir}/usr/bin/discord" - sudo install -Dm755 discord.desktop "${pkgdir}/usr/share/applications/discord.desktop" - sudo install -Dm755 discord.png "${pkgdir}/usr/share/icons/discord.png" - sudo cp -R ./* "${pkgdir}/usr/share/discord/" + cd "${_archive}" + install -dm644 "${pkgdir}/usr/bin" + install -dm644 "${pkgdir}/usr/share/discord" + ln -sf /usr/share/discord/Discord "${pkgdir}/usr/bin/discord" + install -Dm755 discord.desktop "${pkgdir}/usr/share/applications/discord.desktop" + install -Dm755 discord.png "${pkgdir}/usr/share/icons/discord.png" + cp -R ./* "${pkgdir}/usr/share/discord/" } diff --git a/packages/distrobox/distrobox.pacscript b/packages/distrobox/distrobox.pacscript index 3931c20573..fb4d160af3 100644 --- a/packages/distrobox/distrobox.pacscript +++ b/packages/distrobox/distrobox.pacscript @@ -1,17 +1,18 @@ -name="distrobox" +pkgname="distrobox" pkgver="1.7.1" pkgdesc="Use any linux distribution inside your terminal" repology=("project: distrobox") -url="https://github.com/89luca89/distrobox/archive/refs/tags/${pkgver}.tar.gz" -hash="a39ce0b579e8e7c7599b5effaf53462814d443ce5d30131e19db2f8b830f242f" -maintainer="Marie Piontek " -gives="${name}" -breaks=("${name}" "${name}-deb" "${name}-app" "${name}-git") +source=("https://github.com/89luca89/distrobox/archive/refs/tags/${pkgver}.tar.gz") +sha256sums=("a39ce0b579e8e7c7599b5effaf53462814d443ce5d30131e19db2f8b830f242f") +maintainer=("Marie Piontek ") +gives="${pkgname}" +breaks=("${pkgname}" "${pkgname}-deb" "${pkgname}-app" "${pkgname}-git") optdepends=( "docker: enable docker usage" "podman: enable podman usage" ) package() { - sudo ./install -P "${pkgdir}/usr" + cd "${_archive}" + ./install -P "${pkgdir}/usr" } diff --git a/packages/dmenu-distrotube-git/dmenu-distrotube-git.pacscript b/packages/dmenu-distrotube-git/dmenu-distrotube-git.pacscript index 296633b5f3..8bad8950de 100644 --- a/packages/dmenu-distrotube-git/dmenu-distrotube-git.pacscript +++ b/packages/dmenu-distrotube-git/dmenu-distrotube-git.pacscript @@ -1,19 +1,18 @@ -name="dmenu-distrotube-git" +pkgname="dmenu-distrotube-git" pkgver="1.4" -url="https://gitlab.com/dwt1/dmenu-distrotube.git" +source=("https://gitlab.com/dwt1/dmenu-distrotube.git") makedepends=("libxinerama-dev" "libxft-dev") depends=("fontconfig") gives="dmenu" pkgdesc="Distrotube's dmenu build" breaks=("dmenu" "dmenu_run" "dmenu_path") -pkgver() { - git ls-remote "${url}" master | cut -f1 | cut -c1-8 -} build() { + cd "${_archive}" make -j"${NCPU}" } package() { - sudo make install DESTDIR="${pkgdir}" + cd "${_archive}" + make install DESTDIR="${pkgdir}" } diff --git a/packages/dmenu/dmenu.pacscript b/packages/dmenu/dmenu.pacscript index 5a330674b2..6ed71d081b 100644 --- a/packages/dmenu/dmenu.pacscript +++ b/packages/dmenu/dmenu.pacscript @@ -1,16 +1,18 @@ -name="dmenu" +pkgname="dmenu" pkgver="5.2" -url="https://dl.suckless.org/tools/${name}-${pkgver}.tar.gz" +source=("https://dl.suckless.org/tools/${pkgname}-${pkgver}.tar.gz") makedepends=("libxinerama-dev" "libxft-dev") -breaks=("${name}" "${name}_run" "${name}_path") -repology=("project: ${name}") +breaks=("${pkgname}" "${pkgname}_run" "${pkgname}_path") +repology=("project: ${pkgname}") pkgdesc="A generic menu for X" -hash="d4d4ca77b59140f272272db537e05bb91a5914f56802652dc57e61a773d43792" +sha256sums=("d4d4ca77b59140f272272db537e05bb91a5914f56802652dc57e61a773d43792") build() { + cd "${_archive}" make -j"${NCPU}" } package() { - sudo make install DESTDIR="${pkgdir}" + cd "${_archive}" + make install DESTDIR="${pkgdir}" } diff --git a/packages/doas-git/doas-git.pacscript b/packages/doas-git/doas-git.pacscript index 45c856f9eb..abecb72dff 100644 --- a/packages/doas-git/doas-git.pacscript +++ b/packages/doas-git/doas-git.pacscript @@ -4,55 +4,43 @@ # \ // \/ -- \ # \__/\ / \_______ \______ / # \/ \/ \/ -maintainer="wizard-28 " +maintainer=("wizard-28 ") -name="doas-git" -pkgname="doas" +pkgname="doas-git" +gives="doas" pkgdesc="A port of OpenBSD's doas(1), an alternative to sudo(1)" -url="https://github.com/slicer69/doas.git" +source=( + "https://github.com/slicer69/doas.git" + "doas-pam::https://raw.githubusercontent.com/pacstall/pacstall-programs/master/packages/doas-git/doas-pam" + "doas.conf::https://raw.githubusercontent.com/pacstall/pacstall-programs/master/packages/doas-git/doas.conf" +) pkgver="6.3p9" -gives="${pkgname}" -breaks=("${pkgname}" "${pkgname}-bin" "${pkgname}-deb" "${pkgname}-app") +breaks=("${gives}" "${gives}-bin" "${gives}-deb" "${gives}-app") makedepends=("make" "bison" "flex" "libpam0g-dev") -hash="b66e7a55fc1b7fd1f6443861f65bde87a4794c4721dee5e11dc0294f27116efc" -pkgver() { - git ls-remote "${url}" master | cut -f1 | cut -c1-8 -} - -prepare() { - ## Download PAM configuration file - sudo wget -q "https://raw.githubusercontent.com/pacstall/pacstall-programs/master/packages/doas-git/doas-pam" - # Check checksum - if [[ $(sha512sum "doas-pam" | cut -d" " -f 1) != "87fb25e2f2727b9c1231ce1c14a65dcccc3abc81131c24ec4732b35796695305caabf0b57a74197152814c06747ace70628cb0fb8bd9e53072ca5361e90c74b9" ]]; then - fancy_message error "Downloading PAM configuration file failed. Checksum mismatch" - return 1 - fi - - ## Download doas configuration file - sudo wget -q "https://raw.githubusercontent.com/pacstall/pacstall-programs/master/packages/doas-git/doas.conf" - # Check checksum - if [[ $(sha512sum "doas.conf" | cut -d" " -f 1) != "f7baffce92cd0ab44a83fc2e236068668f47c8ef78398f354af8ae982b820fe2549320cb9996a14fd698df20f257c2daf69a8f6072b515611ea75afdff4d5f96" ]]; then - fancy_message error "Downloading Doas configuration file failed. Checksum mismatch" - return 1 - fi -} +sha512sums=( + "SKIP" + "87fb25e2f2727b9c1231ce1c14a65dcccc3abc81131c24ec4732b35796695305caabf0b57a74197152814c06747ace70628cb0fb8bd9e53072ca5361e90c74b9" + "f7baffce92cd0ab44a83fc2e236068668f47c8ef78398f354af8ae982b820fe2549320cb9996a14fd698df20f257c2daf69a8f6072b515611ea75afdff4d5f96" +) build() { + cd "${_archive}" make -j"${NCPU}" } package() { + cd "${_archive}" # Install license - sudo install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${gives}/LICENSE" # Install doas - sudo make -j"${NCPU}" PREFIX="/usr" DESTDIR="${pkgdir}" MANDIR="${pkgdir}/usr/share/man" install + make -j"${NCPU}" PREFIX="/usr" DESTDIR="${pkgdir}" MANDIR="${pkgdir}/usr/share/man" install # Install PAM configuration file - sudo install -Dm644 "doas-pam" "${pkgdir}/etc/pam.d/doas" + install -Dm644 "${srcdir}/doas-pam" "${pkgdir}/etc/pam.d/doas" - # Install doas configuration file - sudo install -Dm644 "doas.conf" "${pkgdir}/etc/doas.conf" + # Install ${srcdir}/doas.configuration file + install -Dm644 "${srcdir}/doas.conf" "${pkgdir}/etc/doas.conf" } post_install() { @@ -62,7 +50,7 @@ post_install() { post_remove() { # Remove empty directories - sudo rm -rf "/usr/share/licenses/${pkgname}" - sudo rm -rf "/usr/share/doc/${pkgname}" + sudo rm -rf "/usr/share/licenses/${gives}" + sudo rm -rf "/usr/share/doc/${gives}" } # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/docker-bin/docker-bin.pacscript b/packages/docker-bin/docker-bin.pacscript index cb02723056..ba43097044 100644 --- a/packages/docker-bin/docker-bin.pacscript +++ b/packages/docker-bin/docker-bin.pacscript @@ -1,28 +1,30 @@ -name="docker-bin" +pkgname="docker-bin" gives="docker" -replace=("${gives}-desktop" "${gives}-ce" "${gives}-ce-cli" "containerd.io") +replaces=("${gives}-desktop" "${gives}-ce" "${gives}-ce-cli" "containerd.io") repology=("project: ${gives}") pkgver="24.0.7" depends=("procps" "git" "iptables" "fuse-overlayfs") pkgdesc="Docker Engine Static Binaries" -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") arch=('arm64' 'amd64') +sha256sums_arm64=("fe6cf4b509307665af542a89454c2ecfbbd62670fc5a5d17bac7150a6f6a6776") +sha256sums_amd64=("984d59a77fa6acab97ea725a966facd33725e0e09c2fee975397fe1c6379bd3d") if [[ ${CARCH} == arm64 ]]; then gnuarch="aarch64" - hash="fe6cf4b509307665af542a89454c2ecfbbd62670fc5a5d17bac7150a6f6a6776" else gnuarch="x86_64" - hash="984d59a77fa6acab97ea725a966facd33725e0e09c2fee975397fe1c6379bd3d" fi -url="https://download.docker.com/linux/static/stable/${gnuarch}/${gives}-${pkgver}.tgz" +source=("https://download.docker.com/linux/static/stable/${gnuarch}/${gives}-${pkgver}.tgz") build() { - sudo mkdir -p "${pkgdir}/usr/bin" - sudo mkdir -p "${pkgdir}/lib/systemd/system" + cd "${_archive}" + mkdir -p "${pkgdir}/usr/bin" + mkdir -p "${pkgdir}/lib/systemd/system" } package() { - sudo cp -r "../${gives}"/* -t "${pkgdir}/usr/bin" + cd "${_archive}" + cp -r "../${gives}"/* -t "${pkgdir}/usr/bin" # shellcheck disable=SC2016 echo '[Unit] Description=Docker Application Container Engine @@ -49,7 +51,7 @@ KillMode=process OOMScoreAdjust=-500 [Install] -WantedBy=multi-user.target' | sudo tee "${pkgdir}/lib/systemd/system/docker.service" > /dev/null +WantedBy=multi-user.target' | tee "${pkgdir}/lib/systemd/system/docker.service" > /dev/null echo '[Unit] Description=Docker Socket for the API @@ -61,7 +63,7 @@ SocketUser=root SocketGroup=docker [Install] -WantedBy=sockets.target' | sudo tee "${pkgdir}/lib/systemd/system/docker.socket" > /dev/null +WantedBy=sockets.target' | tee "${pkgdir}/lib/systemd/system/docker.socket" > /dev/null echo '# Copyright The containerd Authors. # @@ -102,7 +104,7 @@ TasksMax=infinity OOMScoreAdjust=-999 [Install] -WantedBy=multi-user.target' | sudo tee "${pkgdir}/lib/systemd/system/containerd.service" > /dev/null +WantedBy=multi-user.target' | tee "${pkgdir}/lib/systemd/system/containerd.service" > /dev/null } post_install() { diff --git a/packages/docker-buildx-plugin-bin/docker-buildx-plugin-bin.pacscript b/packages/docker-buildx-plugin-bin/docker-buildx-plugin-bin.pacscript index 9c6c64445a..270f6e9389 100644 --- a/packages/docker-buildx-plugin-bin/docker-buildx-plugin-bin.pacscript +++ b/packages/docker-buildx-plugin-bin/docker-buildx-plugin-bin.pacscript @@ -1,21 +1,19 @@ -name="docker-buildx-plugin-bin" +pkgname="docker-buildx-plugin-bin" gives="docker-buildx-plugin" -replace=("${gives}") +replaces=("${gives}") pkgver="0.12.1" pkgdesc="Docker Buildx cli plugin" homepage='https://github.com/docker/buildx' -url="https://github.com/docker/buildx/releases/download/v${pkgver}/buildx-v${pkgver}.linux-${CARCH}" +source=("https://github.com/docker/buildx/releases/download/v${pkgver}/buildx-v${pkgver}.linux-${CARCH}") arch=('amd64' 'arm64') repology=("project: docker-buildx") -maintainer="Oren Klopfer " -if [[ ${CARCH} == "arm64" ]]; then - hash="fb72d627f2ee080bba70375c367f4292867821e29ca9a8cf485622f6ede8f436" -else - hash="716321df8ca9c82ffe96f37e9f4aa1199d4969795836dbd57ef72d12e3ac5085" -fi +maintainer=("Oren Klopfer ") +sha256sums_amd64=("716321df8ca9c82ffe96f37e9f4aa1199d4969795836dbd57ef72d12e3ac5085") +sha256sums_arm64=("fb72d627f2ee080bba70375c367f4292867821e29ca9a8cf485622f6ede8f436") package() { - sudo mkdir -p "${pkgdir}/usr/libexec/docker/cli-plugins" - sudo chmod a+x ./"buildx-v${pkgver}.linux-${CARCH}" - sudo mv ./"buildx-v${pkgver}.linux-${CARCH}" "${pkgdir}/usr/libexec/docker/cli-plugins/docker-buildx" + cd "${_archive}" + mkdir -p "${pkgdir}/usr/libexec/docker/cli-plugins" + chmod a+x ./"buildx-v${pkgver}.linux-${CARCH}" + mv ./"buildx-v${pkgver}.linux-${CARCH}" "${pkgdir}/usr/libexec/docker/cli-plugins/docker-buildx" } diff --git a/packages/docker-compose-plugin-bin/docker-compose-plugin-bin.pacscript b/packages/docker-compose-plugin-bin/docker-compose-plugin-bin.pacscript index 4776ccc4fa..9addf8eb79 100644 --- a/packages/docker-compose-plugin-bin/docker-compose-plugin-bin.pacscript +++ b/packages/docker-compose-plugin-bin/docker-compose-plugin-bin.pacscript @@ -1,23 +1,24 @@ -name="docker-compose-plugin-bin" +pkgname="docker-compose-plugin-bin" gives="docker-compose-plugin" -replace=("${gives}") +replaces=("${gives}") pkgver="2.24.7" pkgdesc="Docker Compose cli plugin" homepage='https://github.com/docker/compose' arch=('amd64' 'arm64') repology=("project: docker-compose") -maintainer="Oren Klopfer " -if [[ ${CARCH} == "arm64" ]]; then - hash="86fa6982c55e1bb741ac71ebbbb78c715224eeb46a820364ec6075cf87047d53" - gnuarch="aarch64" -else - hash="19c9deb6f4d3915f5c93441b8d2da751a09af82df62d55eab097c2cbfebd519f" +maintainer=("Oren Klopfer ") +sha256sums_amd64=("19c9deb6f4d3915f5c93441b8d2da751a09af82df62d55eab097c2cbfebd519f") +sha256sums_arm64=("86fa6982c55e1bb741ac71ebbbb78c715224eeb46a820364ec6075cf87047d53") +if [[ ${CARCH} == amd64 ]]; then gnuarch="x86_64" +else + gnuarch="aarch64" fi -url="https://github.com/docker/compose/releases/download/v${pkgver}/docker-compose-linux-${gnuarch}" +source=("https://github.com/docker/compose/releases/download/v${pkgver}/docker-compose-linux-${gnuarch}") package() { - sudo mkdir -p "${pkgdir}/usr/libexec/docker/cli-plugins" - sudo chmod a+x ./"docker-compose-linux-${gnuarch}" - sudo mv ./"docker-compose-linux-${gnuarch}" "${pkgdir}/usr/libexec/docker/cli-plugins/docker-compose" + cd "${_archive}" + mkdir -p "${pkgdir}/usr/libexec/docker/cli-plugins" + chmod a+x ./"docker-compose-linux-${gnuarch}" + mv ./"docker-compose-linux-${gnuarch}" "${pkgdir}/usr/libexec/docker/cli-plugins/docker-compose" } diff --git a/packages/dotdrop/dotdrop.pacscript b/packages/dotdrop/dotdrop.pacscript index b14ad8f3f4..69bfc7e9b2 100644 --- a/packages/dotdrop/dotdrop.pacscript +++ b/packages/dotdrop/dotdrop.pacscript @@ -1,17 +1,18 @@ -name="dotdrop" +pkgname="dotdrop" pkgver="1.13.2" -url="https://github.com/deadc0de6/dotdrop/archive/refs/tags/v${pkgver}.zip" -hash="b69deab3cf22b0cde5faacf5d90292abcade142da0b00513dc774dfc2e8f6203" -maintainer="Elsie19 " +source=("https://github.com/deadc0de6/dotdrop/archive/refs/tags/v${pkgver}.zip") +sha256sums=("b69deab3cf22b0cde5faacf5d90292abcade142da0b00513dc774dfc2e8f6203") +maintainer=("Elsie19 ") pkgdesc="Save your dotfiles once, deploy them everywhere" depends=("python3" "python3-docopt" "python3-setools" "python3-jinja2" "python3-ruamel.yaml" "python3-magic" "diffutils") -repology=("project: ${name}") +repology=("project: ${pkgname}") package() { - sudo python3 setup.py install --root="${pkgdir}/" --optimize=1 - sudo install -Dm644 completion/dotdrop-completion.bash "${pkgdir}/usr/share/bash-completion/completions/${name}" - sudo install -Dm644 completion/_dotdrop-completion.zsh "${pkgdir}/usr/share/zsh/site-functions/_${name}" - sudo install -Dm644 completion/dotdrop.fish "${pkgdir}/usr/share/fish/completions/${name}.fish" + cd "${_archive}" + python3 setup.py install --root="${pkgdir}/" --optimize=1 + install -Dm644 completion/dotdrop-completion.bash "${pkgdir}/usr/share/bash-completion/completions/${pkgname}" + install -Dm644 completion/_dotdrop-completion.zsh "${pkgdir}/usr/share/zsh/site-functions/_${pkgname}" + install -Dm644 completion/dotdrop.fish "${pkgdir}/usr/share/fish/completions/${pkgname}.fish" } # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/drawio-desktop-deb/drawio-desktop-deb.pacscript b/packages/drawio-desktop-deb/drawio-desktop-deb.pacscript index 5443e6127b..14bf289685 100644 --- a/packages/drawio-desktop-deb/drawio-desktop-deb.pacscript +++ b/packages/drawio-desktop-deb/drawio-desktop-deb.pacscript @@ -1,9 +1,9 @@ -name="drawio-desktop-deb" +pkgname="drawio-desktop-deb" repology=("project: drawio-desktop" "visiblename: drawio-desktop") pkgver="24.0.4" -url="https://github.com/jgraph/drawio-desktop/releases/download/v${pkgver}/drawio-amd64-${pkgver}.deb" +source=("https://github.com/jgraph/drawio-desktop/releases/download/v${pkgver}/drawio-amd64-${pkgver}.deb") gives="draw.io" pkgdesc="Diagram drawing application built on web technology" -hash="ae529d3b9664fc24bd9e90092314e144e3893ecfbb7483bc0951734bc79c6d25" +sha256sums=("ae529d3b9664fc24bd9e90092314e144e3893ecfbb7483bc0951734bc79c6d25") arch=('amd64') -maintainer="JonBoyleCoding " +maintainer=("JonBoyleCoding ") diff --git a/packages/dropbox-deb/dropbox-deb.pacscript b/packages/dropbox-deb/dropbox-deb.pacscript index 451292ea13..233c5ae48c 100644 --- a/packages/dropbox-deb/dropbox-deb.pacscript +++ b/packages/dropbox-deb/dropbox-deb.pacscript @@ -1,8 +1,8 @@ -name="dropbox-deb" +pkgname="dropbox-deb" gives="dropbox" pkgver="2020.03.04" -url="https://linux.dropbox.com/packages/ubuntu/dropbox_${pkgver}_amd64.deb" +source=("https://linux.dropbox.com/packages/ubuntu/dropbox_${pkgver}_amd64.deb") pkgdesc="A free service that lets you bring your photos, docs, and videos anywhere and share them easily." -hash="e2ea3317e8e0e6dc9e1846f55f0bdfa74c178a0c729e7b1ac57b30bb12233c1b" +sha256sums=("e2ea3317e8e0e6dc9e1846f55f0bdfa74c178a0c729e7b1ac57b30bb12233c1b") arch=('amd64') -maintainer="Korkmatik <9c54efc1-143b-4f5f-9d2f-f6f189583f0f@aleeas.com>" +maintainer=("Korkmatik <9c54efc1-143b-4f5f-9d2f-f6f189583f0f@aleeas.com>") diff --git a/packages/duf-deb/duf-deb.pacscript b/packages/duf-deb/duf-deb.pacscript index 9e56366155..2b09995d8a 100644 --- a/packages/duf-deb/duf-deb.pacscript +++ b/packages/duf-deb/duf-deb.pacscript @@ -1,11 +1,11 @@ -name="duf-deb" +pkgname="duf-deb" gives="duf" breaks=("${gives}-bin" "${gives}-git") repology=("project: ${gives}") -replace=("${gives}") +replaces=("${gives}") pkgver="0.8.1" -url="https://github.com/muesli/${gives}/releases/download/v${pkgver}/${gives}_${pkgver}_linux_amd64.deb" +source=("https://github.com/muesli/${gives}/releases/download/v${pkgver}/${gives}_${pkgver}_linux_amd64.deb") pkgdesc="Disk Usage/Free Utility - a better 'df' alternative" -hash="746983b4065e80b14f2e5af70c58e2283bb8b3a128cb076954d7329d476d5fad" +sha256sums=("746983b4065e80b14f2e5af70c58e2283bb8b3a128cb076954d7329d476d5fad") arch=('amd64') -maintainer="KwonNam Son " +maintainer=("KwonNam Son ") diff --git a/packages/dunst/dunst.pacscript b/packages/dunst/dunst.pacscript index f1d929064d..1f59d861f9 100644 --- a/packages/dunst/dunst.pacscript +++ b/packages/dunst/dunst.pacscript @@ -1,16 +1,18 @@ -name="dunst" +pkgname="dunst" pkgver="1.9.2" -url="https://github.com/dunst-project/dunst/archive/refs/tags/v${pkgver}.tar.gz" +source=("https://github.com/dunst-project/dunst/archive/refs/tags/v${pkgver}.tar.gz") makedepends=("libdbus-1-dev" "libxinerama1" "libxrandr2" "libxss1" "libxss-dev" "libgtk-3-dev" "libnotify-dev") pkgdesc="A highly configurable and lightweight notification daemon" -hash="fa6ce45c0af4bae188b0d679a5ba92f8f9b7e4301bb1bb476e82df26bce9e71a" -maintainer="Elsie19 " -repology=("project: ${name}") +sha256sums=("fa6ce45c0af4bae188b0d679a5ba92f8f9b7e4301bb1bb476e82df26bce9e71a") +maintainer=("Elsie19 ") +repology=("project: ${pkgname}") build() { + cd "${_archive}" make -j"${NCPU}" } package() { - sudo make install -j"${NCPU}" DESTDIR="${pkgdir}" + cd "${_archive}" + make install -j"${NCPU}" DESTDIR="${pkgdir}" } diff --git a/packages/dust-bin/dust-bin.pacscript b/packages/dust-bin/dust-bin.pacscript index 9ca2dafd6f..69bac25835 100644 --- a/packages/dust-bin/dust-bin.pacscript +++ b/packages/dust-bin/dust-bin.pacscript @@ -4,33 +4,33 @@ # \ // \/ -- \ # \__/\ / \_______ \______ / # \/ \/ \/ -maintainer="wizard-28 " +maintainer=("wizard-28 ") -name="dust-bin" -pkgname="dust" +pkgname="dust-bin" +gives="dust" pkgver="0.8.6" pkgdesc="A more intuitive version of du in rust" -url="https://github.com/bootandy/dust/releases/download/v${pkgver}/dust-v${pkgver}-x86_64-unknown-linux-musl.tar.gz" -gives="${pkgname}" -breaks=("${pkgname}" "${pkgname}-git" "${pkgname}-deb" "${pkgname}-app") -hash="06e9bcac22ba29e74395dde046cfd5b260cf6fabab48e1ed3dfc017b4e8bada7" +source=("https://github.com/bootandy/dust/releases/download/v${pkgver}/dust-v${pkgver}-x86_64-unknown-linux-musl.tar.gz") +breaks=("${gives}" "${gives}-git" "${gives}-deb" "${gives}-app") +sha256sums=("06e9bcac22ba29e74395dde046cfd5b260cf6fabab48e1ed3dfc017b4e8bada7") arch=('amd64') repology=("project: du-dust") package() { + cd "${_archive}" # Install license - sudo install -Dm644 "LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}" + install -Dm644 "LICENSE" -t "${pkgdir}/usr/share/licenses/${gives}" # Install doc - sudo install -Dm644 "README.md" -t "${pkgdir}/usr/share/doc/${pkgname}" + install -Dm644 "README.md" -t "${pkgdir}/usr/share/doc/${gives}" # Install binary - sudo install -Dm755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}" + install -Dm755 "${gives}" "${pkgdir}/usr/bin/${gives}" } post_remove() { # Remove empty directories - sudo rm -rf "/usr/share/licenses/${pkgname}" - sudo rm -rf "/usr/share/doc/${pkgname}" + sudo rm -rf "/usr/share/licenses/${gives}" + sudo rm -rf "/usr/share/doc/${gives}" } # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/easy-zsh-config-git/easy-zsh-config-git.pacscript b/packages/easy-zsh-config-git/easy-zsh-config-git.pacscript old mode 100755 new mode 100644 index b9548e2a9f..5f514ddfa9 --- a/packages/easy-zsh-config-git/easy-zsh-config-git.pacscript +++ b/packages/easy-zsh-config-git/easy-zsh-config-git.pacscript @@ -1,25 +1,23 @@ -name="easy-zsh-config-git" -pkgname="easy-zsh-config" -url="https://github.com/wszqkzqk/easy-zsh-config.git" +pkgname="easy-zsh-config-git" +gives="easy-zsh-config" +source=("https://github.com/wszqkzqk/easy-zsh-config.git") pkgver="0.6.2" pacdeps=("oh-my-posh-git" "zsh-history-substring-search-git") depends=("zsh" "zsh-syntax-highlighting" "zsh-autosuggestions") -breaks=("${pkgname}") -replace=("${pkgname}") -gives=("${pkgname}") +breaks=("${gives}") +replaces=("${gives}") pkgdesc="A simple but fast and out of the box configuration of zsh powered by oh-my-posh and zsh plugins" -maintainer="Zahrun " -pkgver() { - git ls-remote "${url}" refs/heads/master | cut -f1 | cut -c1-8 -} +maintainer=("Zahrun ") prepare() { + cd "${_archive}" sed -i s:/usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh:/usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh:g easy-zsh-config sed -i s:/usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh:/usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh:g easy-zsh-config } package() { - sudo install -Dm644 zshrc "${pkgdir}/etc/zsh/zshrc-easy-zsh-config" - sudo install -Dm644 "LICENSE" -t "${pkgdir}/usr/share/licenses/${name}/" - sudo install -Dm644 easy-zsh-config "${pkgdir}/usr/share/zsh/easy-zsh-config" + cd "${_archive}" + install -Dm644 zshrc "${pkgdir}/etc/zsh/zshrc-easy-zsh-config" + install -Dm644 "LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}/" + install -Dm644 easy-zsh-config "${pkgdir}/usr/share/zsh/easy-zsh-config" } diff --git a/packages/eddie-ui-deb/eddie-ui-deb.pacscript b/packages/eddie-ui-deb/eddie-ui-deb.pacscript index 236a0ae66f..f5ca3c246a 100644 --- a/packages/eddie-ui-deb/eddie-ui-deb.pacscript +++ b/packages/eddie-ui-deb/eddie-ui-deb.pacscript @@ -1,10 +1,10 @@ -name="eddie-ui-deb" +pkgname="eddie-ui-deb" gives="eddie-ui" repology=("project: ${gives}") breaks=("${gives}-bin" "${gives}-git") -replace=("${gives}") +replaces=("${gives}") pkgver="2.21.8" -url="https://eddie.website/repository/apt/pool/main/e/${gives}/${gives}_${pkgver}_amd64.deb" +source=("https://eddie.website/repository/apt/pool/main/e/${gives}/${gives}_${pkgver}_amd64.deb") pkgdesc="OpenVPN/WireGuard UI with additional user-friendly features made by AirVPN" -hash="f9e4ece5d96ff8653578cdd037339f429ec874e461f8f1de63b970ad184aad34" +sha256sums=("f9e4ece5d96ff8653578cdd037339f429ec874e461f8f1de63b970ad184aad34") arch=('amd64') diff --git a/packages/electerm-deb/electerm-deb.pacscript b/packages/electerm-deb/electerm-deb.pacscript index 4c962faf08..f210f3b965 100644 --- a/packages/electerm-deb/electerm-deb.pacscript +++ b/packages/electerm-deb/electerm-deb.pacscript @@ -1,10 +1,10 @@ -name="electerm-deb" +pkgname="electerm-deb" gives="electerm" repology=("project: ${gives}") pkgver="1.38.30" -url="https://github.com/electerm/electerm/releases/download/v${pkgver}/electerm-${pkgver}-linux-amd64.deb" +source=("https://github.com/electerm/electerm/releases/download/v${pkgver}/electerm-${pkgver}-linux-amd64.deb") breaks=("${gives}-bin") pkgdesc="Open-sourced terminal/ssh/telnet/serialport/sftp client" -hash="21ce0fda5f2db860ca6832ffcf3ef38383a4f4a3fd7d4c54610bd2cf60577319" +sha256sums=("21ce0fda5f2db860ca6832ffcf3ef38383a4f4a3fd7d4c54610bd2cf60577319") arch=('amd64') -maintainer="Gianluca Mastrolonardo " +maintainer=("Gianluca Mastrolonardo ") diff --git a/packages/electronmail-deb/electronmail-deb.pacscript b/packages/electronmail-deb/electronmail-deb.pacscript index 34f738a3e2..5eedc333c1 100644 --- a/packages/electronmail-deb/electronmail-deb.pacscript +++ b/packages/electronmail-deb/electronmail-deb.pacscript @@ -1,10 +1,10 @@ -name="electronmail-deb" +pkgname="electronmail-deb" gives="electron-mail" -replace=("${gives}") +replaces=("${gives}") breaks=("${gives}-app") repology=("project: electronmail") pkgver="5.1.8" -url="https://github.com/vladimiry/ElectronMail/releases/download/v${pkgver}/${gives}-${pkgver}-linux-amd64.deb" +source=("https://github.com/vladimiry/ElectronMail/releases/download/v${pkgver}/${gives}-${pkgver}-linux-amd64.deb") pkgdesc="Unofficial ProtonMail Desktop App" -hash="36d3a99e390fc3e33a275f27ca93e50f1027e04a56bd0d5192f66c80b312075a" +sha256sums=("36d3a99e390fc3e33a275f27ca93e50f1027e04a56bd0d5192f66c80b312075a") arch=('amd64') diff --git a/packages/electrum-git/electrum-git.pacscript b/packages/electrum-git/electrum-git.pacscript index e77ccda298..13d107b33a 100644 --- a/packages/electrum-git/electrum-git.pacscript +++ b/packages/electrum-git/electrum-git.pacscript @@ -1,19 +1,18 @@ -name="electrum-git" -pkgname="electrum" -url="https://github.com/spesmilo/electrum.git" +pkgname="electrum-git" +gives="electrum" +source=("https://github.com/spesmilo/electrum.git") pkgver="4.4.5" makedepends=("python3-setuptools") depends=("python3-pyqt5" "python3" "libsecp256k1-0" "python3-cryptography") -breaks=("${pkgname}-bin" "${pkgname}" "${pkgname}-app") +breaks=("${gives}-bin" "${gives}" "${gives}-app") pkgdesc="FOSS Bitcoin wallet written in Python - Git version" -pkgver() { - git ls-remote "${url}" master | cut -f1 | cut -c1-8 -} build() { + cd "${_archive}" python3 setup.py build } package() { - sudo python3 setup.py install --root="${pkgdir}" --optimize=1 + cd "${_archive}" + python3 setup.py install --root="${pkgdir}" --optimize=1 } diff --git a/packages/element-desktop-deb/element-desktop-deb.pacscript b/packages/element-desktop-deb/element-desktop-deb.pacscript index b67bad7308..822aa8428b 100644 --- a/packages/element-desktop-deb/element-desktop-deb.pacscript +++ b/packages/element-desktop-deb/element-desktop-deb.pacscript @@ -1,12 +1,12 @@ -name="element-desktop-deb" +pkgname="element-desktop-deb" gives="element-desktop" pkgver="1.11.55" -replace=("${gives}") +replaces=("${gives}") repology=("project: ${gives}") breaks=("${gives}-git" "${gives}-bin" "${gives}-app") -url="https://packages.element.io/debian/pool/main/e/${gives}/${gives}_${pkgver}_amd64.deb" +source=("https://packages.element.io/debian/pool/main/e/${gives}/${gives}_${pkgver}_amd64.deb") homepage='https://element.io/' pkgdesc="Element is a feature-packed Matrix client" -hash="1f70c00b7177c78bace7c7987da58a4bc3bb99209bcff0303bf0461ab3655299" +sha256sums=("1f70c00b7177c78bace7c7987da58a4bc3bb99209bcff0303bf0461ab3655299") arch=('amd64') -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") diff --git a/packages/emacs-git/emacs-git.pacscript b/packages/emacs-git/emacs-git.pacscript index 13620dad39..031cc9da69 100644 --- a/packages/emacs-git/emacs-git.pacscript +++ b/packages/emacs-git/emacs-git.pacscript @@ -7,7 +7,7 @@ # \ // \/ -- \ # \__/\ / \_______ \______ / # \/ \/ \/ -maintainer="wizard-28 " +maintainer=("wizard-28 ") ### This pacscript is made with (ported to pacstall) the help of https://aur.archlinux.org/cgit/aur.git/commit/?h=emacs-git&id=b9eb3b405717f8df37b38217dbb7d361b8ffca08 ################################################################################### @@ -71,20 +71,16 @@ DOCS_PDF= # Generate and install pdf documentation. NOGZ="YES" # Don't compress .el files. ################################################################################# -name="emacs-git" -pkgname="emacs" +pkgname="emacs-git" +gives="emacs" pkgdesc="An extensible, customizable, free/libre text editor — and more." makedepends=("git" "autoconf" "texinfo" "pkg-config" "libncurses-dev" "libjpeg-dev" "libpng-dev" "libtiff-dev" "libgnutls28-dev" "libgif-dev" "libxaw7-dev" "libxpm-dev") depends_nox=("libalsaplayer0" "libgnutls28-dev" "libxml2" "libjansson-dev gpm") depends=("${depends_nox[@]}" "m17n-lib-bin" "libharfbuzz0b") -gives="${name}" -breaks=("${name}" "${name}-nox") -replace=("${name}" "${name}-nox") -url="https://github.com/emacs-mirror/emacs.git" +breaks=("${pkgname}" "${pkgname}-nox") +replaces=("${pkgname}" "${pkgname}-nox") +source=("https://github.com/emacs-mirror/emacs.git") pkgver="29.1" -pkgver() { - git ls-remote "${url}" master | cut -f1 | cut -c1-8 -} ################################################################################# # Weird dependency shenanigans @@ -198,6 +194,7 @@ if [[ ${DOCS_PDF} == "YES" && ! -d "/usr/local/texlive" ]]; then fi prepare() { + cd "${_archive}" [[ -x configure ]] || (./autogen.sh git && ./autogen.sh autoconf) if [[ ${CHECK} == "YES" ]]; then make -j"${NCPU}" check @@ -205,6 +202,7 @@ prepare() { } build() { + cd "${_archive}" local _conf=( --prefix=/usr --sysconfdir=/etc @@ -297,7 +295,7 @@ build() { # You may need to run this if "loaddefs.el" files become corrupt. #cd "/usr/pacstall/src/emacs-git/lisp" #make autoloads - #cd ../ + #cd "${srcdir}"/ # Optional documentation formats. if [[ ${DOCS_HTML} == "YES" ]]; then @@ -310,19 +308,20 @@ build() { } package() { - sudo make -j"${NCPU}" DESTDIR="${pkgdir}" install + cd "${_archive}" + make -j"${NCPU}" DESTDIR="${pkgdir}" install # Install optional documentation formats - if [[ ${DOCS_HTML} == "YES" ]]; then sudo make -j"${NCPU}" DESTDIR="${pkgdir}" install-html; fi - if [[ ${DOCS_PDF} == "YES" ]]; then sudo make -j"${NCPU}" DESTDIR="${pkgdir}" install-pdf; fi + if [[ ${DOCS_HTML} == "YES" ]]; then make -j"${NCPU}" DESTDIR="${pkgdir}" install-html; fi + if [[ ${DOCS_PDF} == "YES" ]]; then make -j"${NCPU}" DESTDIR="${pkgdir}" install-pdf; fi # fix user/root permissions on usr/local/share files - find "${pkgdir}/usr/share/emacs/" -print0 | sudo xargs -0 chown root:root + find "${pkgdir}/usr/share/emacs/" -print0 | xargs -0 chown root:root # fix permssions on /var/games - sudo mkdir -p "${pkgdir}/var/games/emacs" - sudo chmod 775 "${pkgdir}/var/games" - sudo chmod 775 "${pkgdir}/var/games/emacs" - sudo chown -R root:games "${pkgdir}/var/games" + mkdir -p "${pkgdir}/var/games/emacs" + chmod 775 "${pkgdir}/var/games" + chmod 775 "${pkgdir}/var/games/emacs" + chown -R root:games "${pkgdir}/var/games" } # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/emacs/emacs.pacscript b/packages/emacs/emacs.pacscript index 3116114afa..9cf958ba25 100644 --- a/packages/emacs/emacs.pacscript +++ b/packages/emacs/emacs.pacscript @@ -7,7 +7,7 @@ # \ // \/ -- \ # \__/\ / \_______ \______ / # \/ \/ \/ -maintainer="wizard-28 " +maintainer=("wizard-28 ") ### This pacscript is made with (ported to pacstall) the help of https://aur.archlinux.org/cgit/aur.git/commit/?h=emacs-git&id=b9eb3b405717f8df37b38217dbb7d361b8ffca08 ################################################################################### @@ -71,17 +71,17 @@ DOCS_PDF= # Generate and install pdf documentation. NOGZ="YES" # Don't compress .el files. ################################################################################# -name="emacs" +pkgname="emacs" pkgver="28.2" -url="http://ftpmirror.gnu.org/emacs/emacs-${pkgver}.tar.xz" +source=("http://ftpmirror.gnu.org/emacs/emacs-${pkgver}.tar.xz") pkgdesc="An extensible, customizable, free/libre text editor — and more." makedepends=("git" "autoconf" "texinfo" "pkg-config" "libncurses-dev" "libjpeg-dev" "libpng-dev" "libtiff-dev" "libgnutls28-dev" "libgif-dev" "libxaw7-dev" "libxpm-dev") depends_nox=("libalsaplayer0" "libgnutls28-dev" "libxml2" "libjansson-dev gpm") depends=("${depends_nox[@]}" "m17n-lib-bin" "libharfbuzz0b") -gives="${name}" -breaks=("${name}-git" "${name}-nox") -replace=("${name}-git" "${name}-nox") -hash="ee21182233ef3232dc97b486af2d86e14042dbb65bbc535df562c3a858232488" +gives="${pkgname}" +breaks=("${pkgname}-git" "${pkgname}-nox") +replaces=("${pkgname}-git" "${pkgname}-nox") +sha256sums=("ee21182233ef3232dc97b486af2d86e14042dbb65bbc535df562c3a858232488") repology=("project: emacs") ################################################################################# @@ -196,6 +196,7 @@ if [[ ${DOCS_PDF} == "YES" && ! -d "/usr/local/texlive" ]]; then fi prepare() { + cd "${_archive}" [[ -x configure ]] || (./autogen.sh git && ./autogen.sh autoconf) if [[ ${CHECK} == "YES" ]]; then make -j"${NCPU}" check @@ -203,6 +204,7 @@ prepare() { } build() { + cd "${_archive}" local _conf=( --prefix=/usr --sysconfdir=/etc @@ -295,7 +297,7 @@ build() { # You may need to run this if "loaddefs.el" files become corrupt. #cd "/usr/pacstall/src/emacs-git/lisp" #make autoloads - #cd ../ + #cd "${srcdir}"/ # Optional documentation formats. if [[ ${DOCS_HTML} == "YES" ]]; then @@ -308,19 +310,20 @@ build() { } package() { - sudo make -j"${NCPU}" DESTDIR="${pkgdir}" install + cd "${_archive}" + make -j"${NCPU}" DESTDIR="${pkgdir}" install # Install optional documentation formats - if [[ ${DOCS_HTML} == "YES" ]]; then sudo make -j"${NCPU}" DESTDIR="${pkgdir}" install-html; fi - if [[ ${DOCS_PDF} == "YES" ]]; then sudo make -j"${NCPU}" DESTDIR="${pkgdir}" install-pdf; fi + if [[ ${DOCS_HTML} == "YES" ]]; then make -j"${NCPU}" DESTDIR="${pkgdir}" install-html; fi + if [[ ${DOCS_PDF} == "YES" ]]; then make -j"${NCPU}" DESTDIR="${pkgdir}" install-pdf; fi # fix user/root permissions on usr/local/share files - find "${pkgdir}/usr/share/emacs/" -print0 | sudo xargs -0 chown root:root + find "${pkgdir}/usr/share/emacs/" -print0 | xargs -0 chown root:root # fix permssions on /var/games - sudo mkdir -p "${pkgdir}/var/games/emacs" - sudo chmod 775 "${pkgdir}/var/games" - sudo chmod 775 "${pkgdir}/var/games/emacs" - sudo chown -R root:games "${pkgdir}/var/games" + mkdir -p "${pkgdir}/var/games/emacs" + chmod 775 "${pkgdir}/var/games" + chmod 775 "${pkgdir}/var/games/emacs" + chown -R root:games "${pkgdir}/var/games" } # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/emby-server-deb/emby-server-deb.pacscript b/packages/emby-server-deb/emby-server-deb.pacscript index dbccb8dc74..978679a3a9 100644 --- a/packages/emby-server-deb/emby-server-deb.pacscript +++ b/packages/emby-server-deb/emby-server-deb.pacscript @@ -1,10 +1,10 @@ -name="emby-server-deb" +pkgname="emby-server-deb" pkgver="4.7.13.0" repology=("project: emby") gives="emby-server" breaks=("${gives}" "${gives}-bin" "${gives}-git") -url="https://github.com/MediaBrowser/Emby.Releases/releases/download/${pkgver}/${name}_${pkgver}_amd64.deb" -hash="de95964faa185782f3dc6df5f8894f02dab631fbd9aec283fb72829617b13cea" +source=("https://github.com/MediaBrowser/Emby.Releases/releases/download/${pkgver}/${pkgname}_${pkgver}_amd64.deb") +sha256sums=("de95964faa185782f3dc6df5f8894f02dab631fbd9aec283fb72829617b13cea") arch=('amd64') pkgdesc="Emby brings together your personal videos, music, photos, and live television" -maintainer="Warofzen " +maintainer=("Warofzen ") diff --git a/packages/endlessh-git/endlessh-git.pacscript b/packages/endlessh-git/endlessh-git.pacscript index 6ac49e4c61..17823f15cb 100644 --- a/packages/endlessh-git/endlessh-git.pacscript +++ b/packages/endlessh-git/endlessh-git.pacscript @@ -1,37 +1,33 @@ -name="endlessh-git" -pkgname="endlessh" +pkgname="endlessh-git" gives="endlessh" breaks=("${gives}" "${gives}-deb" "${gives}-app" "${gives}-bin") -url="https://github.com/skeeto/endlessh.git" +source=( + "https://github.com/skeeto/endlessh.git" + "sample-config::https://raw.githubusercontent.com/pacstall/pacstall-programs/master/packages/endlessh-git/sample-config" +) +sha256sums=( + "SKIP" + "f92a2341103a7c6243d7cbc32a3400e0f01ecd5fae12a0731029f6c50ba9f451" +) pkgver="1.1" pkgdesc="SSH tarpit that very slowly sends an endless, random SSH banner" -maintainer="Elsie19 " -pkgver() { - git ls-remote "${url}" master | cut -f1 | cut -c1-8 -} - -prepare() { - # Download sample config - wget -q https://raw.githubusercontent.com/pacstall/pacstall-programs/master/packages/endlessh-git/sample-config - if [[ "$(sha256sum sample-config | cut -d' ' -f 1)" != "f92a2341103a7c6243d7cbc32a3400e0f01ecd5fae12a0731029f6c50ba9f451" ]]; then - fancy_message error "Checksum for sample config failed" - return 1 - fi -} +maintainer=("Elsie19 ") build() { + cd "${_archive}" make -j"${NCPU}" } package() { - sudo make install DESTDIR="${pkgdir}" - sudo install -Dm644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}" - sudo install -Dm644 UNLICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" - sudo install -Dm644 sample-config "${pkgdir}/etc/endlessh/config" + cd "${_archive}" + make install DESTDIR="${pkgdir}" + install -Dm644 README.md -t "${pkgdir}/usr/share/doc/${gives}" + install -Dm644 UNLICENSE -t "${pkgdir}/usr/share/licenses/${gives}" + install -Dm644 "${srcdir}"/sample-config "${pkgdir}/etc/endlessh/config" } post_remove() { - sudo rm -rf "/usr/share/licenses/${pkgname}" - sudo rm -rf "/usr/share/doc/${pkgname}" + sudo rm -rf "/usr/share/licenses/${gives}" + sudo rm -rf "/usr/share/doc/${gives}" } # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/enpass-deb/enpass-deb.pacscript b/packages/enpass-deb/enpass-deb.pacscript index 2f13695bcc..4e7852fbaa 100644 --- a/packages/enpass-deb/enpass-deb.pacscript +++ b/packages/enpass-deb/enpass-deb.pacscript @@ -1,13 +1,12 @@ -name="enpass-deb" -pkgname="enpass" +pkgname="enpass-deb" gives="enpass" arch=('amd64') pkgver="6.9.0.1467" pkgdesc="Multiplatform password manager" -url="https://apt.enpass.io/pool/main/e/enpass/${pkgname}_${pkgver}_amd64.deb" -hash="fe405f7119d45822164da3ad009b99c5cd516685198c1d335b7803d84e5ba2ca" +source=("https://apt.enpass.io/pool/main/e/enpass/${gives}_${pkgver}_amd64.deb") +sha256sums=("fe405f7119d45822164da3ad009b99c5cd516685198c1d335b7803d84e5ba2ca") depends=("libxss" "lsof" "curl" "libxkbcommon-x11" "libxcb" "xcb-util-wm" "xcb-util-image" "xcb-util-keysyms" "xcb-util-renderutil") optdepends=('libxdg-basedir: Open links in the default browser.' 'libqtxdg: Open links in the default browser (Qt implementation)') repology=("project: enpass") -maintainer="smokeythemonkey " +maintainer=("smokeythemonkey ") diff --git a/packages/epson-inkjet-printer-stylus-nx110-series-deb/epson-inkjet-printer-stylus-nx110-series-deb.pacscript b/packages/epson-inkjet-printer-stylus-nx110-series-deb/epson-inkjet-printer-stylus-nx110-series-deb.pacscript index 4f047909cf..fc8b39be81 100644 --- a/packages/epson-inkjet-printer-stylus-nx110-series-deb/epson-inkjet-printer-stylus-nx110-series-deb.pacscript +++ b/packages/epson-inkjet-printer-stylus-nx110-series-deb/epson-inkjet-printer-stylus-nx110-series-deb.pacscript @@ -1,11 +1,11 @@ -name="epson-inkjet-printer-stylus-nx110-series-deb" +pkgname="epson-inkjet-printer-stylus-nx110-series-deb" gives="epson-inkjet-printer-stylus-nx110-series" pkgver="1.0.0" -url="http://download.ebz.epson.net/dsc/f/01/00/01/68/42/287f0fb8185a2fd39b6ce51df9e7c05bac9b616a/${gives}_${pkgver}-1lsb3.2_amd64.deb" +source=("http://download.ebz.epson.net/dsc/f/01/00/01/68/42/287f0fb8185a2fd39b6ce51df9e7c05bac9b616a/${gives}_${pkgver}-1lsb3.2_amd64.deb") depends=("lsb") pkgdesc="Driver for Epson Stylus NX110, Epson Stylus SX110, Epson Stylus TX110, Epson Stylus TX111, Epson Stylus TX112 , Epson Stylus TX115, Epson Stylus TX117" -hash="4bc20572b7f4bf9d4a8fa344e0bc161f38fa2caf7d636973e68945e433e24afb" +sha256sums=("4bc20572b7f4bf9d4a8fa344e0bc161f38fa2caf7d636973e68945e433e24afb") arch=('amd64') -maintainer="Zahrun " +maintainer=("Zahrun ") repology=("project: ${gives}") incompatible=("ubuntu:lunar" "ubuntu:mantic" "debian:*") diff --git a/packages/epson-printer-utility-deb/epson-printer-utility-deb.pacscript b/packages/epson-printer-utility-deb/epson-printer-utility-deb.pacscript index 3045178d0c..cf91965f01 100644 --- a/packages/epson-printer-utility-deb/epson-printer-utility-deb.pacscript +++ b/packages/epson-printer-utility-deb/epson-printer-utility-deb.pacscript @@ -1,20 +1,25 @@ -name="epson-printer-utility-deb" +pkgname="epson-printer-utility-deb" gives="epson-printer-utility" pkgver="1.1.2" # find the correct url at http://support.epson.net/linux/Printer/LSB_distribution_pages/en/utility.php -url="https://download3.ebz.epson.net/dsc/f/03/00/14/68/92/d73ac45cccd3c5c349dbe365b5e99ae3112cbe49/${gives}_${pkgver}-1_amd64.deb" +source=( + "https://download3.ebz.epson.net/dsc/f/03/00/14/68/92/d73ac45cccd3c5c349dbe365b5e99ae3112cbe49/${gives}_${pkgver}-1_amd64.deb" + "epson-printer-utility.desktop::https://gist.github.com/Zahrun/0759d7356d7b55985292b65642e976f6/raw/c9ef796e550812456dc2990879118ad1a481d792/epson-printer-utility.desktop" +) depends=("lsb" "libqtgui4") ppa=("gezakovacs/ppa") pkgdesc="This is a Printer Utility program for Epson Printer Driver. Using this software, you can check ink levels, view error and other status... on EPSON Printers." -hash="c34c08476ab185f8fd339e9681a3697cdb3c2e85d454be2aaed11e40b09aedff" +sha256sums=( + "c34c08476ab185f8fd339e9681a3697cdb3c2e85d454be2aaed11e40b09aedff" + "SKIP" +) arch=('amd64') -maintainer="Zahrun " +maintainer=("Zahrun ") repology=("project: ${gives}") incompatible=("ubuntu:lunar" "ubuntu:mantic" "debian:*") post_install() { # install .desktop file - wget -q https://gist.github.com/Zahrun/0759d7356d7b55985292b65642e976f6/raw/c9ef796e550812456dc2990879118ad1a481d792/epson-printer-utility.desktop sudo install -Dm644 "${gives}.desktop" "/usr/share/applications/" # enable service to avoid communication error sudo systemctl enable ecbd.service diff --git a/packages/exa-git/exa-git.pacscript b/packages/exa-git/exa-git.pacscript index 16ccad4c8f..7dba3b1ae2 100644 --- a/packages/exa-git/exa-git.pacscript +++ b/packages/exa-git/exa-git.pacscript @@ -1,19 +1,18 @@ -name="exa-git" +pkgname="exa-git" gives="exa" -url="https://github.com/ogham/exa.git" +source=("https://github.com/ogham/exa.git") pkgver="0.10.1" homepage='https://the.exa.website/' makedepends=("cargo" "libgit2-dev" "cmake" "rustc") pkgdesc="exa is an improved file lister with more features and better defaults" -maintainer="Elsie19 " -pkgver() { - git ls-remote "${url}" master | cut -f1 | cut -c1-8 -} +maintainer=("Elsie19 ") build() { + cd "${_archive}" cargo build -j"${NCPU}" --release } package() { - sudo install -Dm755 target/release/exa -t "${pkgdir}/usr/bin" + cd "${_archive}" + install -Dm755 target/release/exa -t "${pkgdir}/usr/bin" } diff --git a/packages/exercism-cli-bin/exercism-cli-bin.pacscript b/packages/exercism-cli-bin/exercism-cli-bin.pacscript index 0fa4b78c21..70dd115bde 100644 --- a/packages/exercism-cli-bin/exercism-cli-bin.pacscript +++ b/packages/exercism-cli-bin/exercism-cli-bin.pacscript @@ -1,21 +1,22 @@ -name="exercism-cli-bin" +pkgname="exercism-cli-bin" repology=("project: exercism-cli") pkgver="3.2.0" arch=('amd64' 'arm64') +sha256sums_amd64=("4ea3e1ea8916a8003da95dbd6eef7a3a29802e637ed6a0f2aaaa2f1c98754915") +sha256sums_arm64=("57f9620e5346bf045ca72b581cb106f9dc56841ac1ff0a3070188c49d5d0b573") if [[ ${CARCH} == amd64 ]]; then - hash="4ea3e1ea8916a8003da95dbd6eef7a3a29802e637ed6a0f2aaaa2f1c98754915" arch_suffix="x86_64" else - hash="57f9620e5346bf045ca72b581cb106f9dc56841ac1ff0a3070188c49d5d0b573" arch_suffix="arm64" fi -url="https://github.com/exercism/cli/releases/download/v${pkgver}/exercism-${pkgver}-linux-${arch_suffix}.tar.gz" +source=("https://github.com/exercism/cli/releases/download/v${pkgver}/exercism-${pkgver}-linux-${arch_suffix}.tar.gz") pkgdesc="Go based command line tool for exercism.org" homepage='https://exercism.org' -maintainer="Andrew Barchuk " +maintainer=("Andrew Barchuk ") package() { - sudo install -Dm755 "./exercism" -t "${pkgdir}/usr/bin" + cd "${_archive}" + install -Dm755 "./exercism" -t "${pkgdir}/usr/bin" } # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/exploitdb-git/exploitdb-git.pacscript b/packages/exploitdb-git/exploitdb-git.pacscript index 0a9d63da6c..7a66f52b30 100644 --- a/packages/exploitdb-git/exploitdb-git.pacscript +++ b/packages/exploitdb-git/exploitdb-git.pacscript @@ -1,20 +1,16 @@ -name="exploitdb-git" -pkgname="exploitdb" -breaks=("${pkgname}" "${pkgname}-bin" "${pkgname}-app" "${pkgname}-deb") -replace=("${pkgname}") -gives="${pkgname}" -url="https://gitlab.com/exploit-database/exploitdb" +pkgname="exploitdb-git" +gives="exploitdb" +breaks=("${gives}" "${gives}-bin" "${gives}-app" "${gives}-deb") +replaces=("${gives}") +source=("git+https://gitlab.com/exploit-database/exploitdb") pkgver="2023-08-05" pkgdesc="Exploit Database" -maintainer="echometerain " -pkgver() { - git ls-remote "${url}" main | cut -f1 | cut -c1-8 -} +maintainer=("echometerain ") package() { - cd .. - sudo mkdir -p "${pkgdir}/opt" - sudo mv "${SRCDIR}/exploitdb" "${pkgdir}/opt/${name}" - sudo mkdir -p "${pkgdir}/usr/bin" - sudo ln -sf "/opt/${name}/searchsploit" "${pkgdir}/usr/bin/searchsploit" + cd "${srcdir}" + mkdir -p "${pkgdir}/opt" + mv "${srcdir}/exploitdb" "${pkgdir}/opt/${pkgname}" + mkdir -p "${pkgdir}/usr/bin" + ln -sf "/opt/${pkgname}/searchsploit" "${pkgdir}/usr/bin/searchsploit" } diff --git a/packages/expressvpn-deb/expressvpn-deb.pacscript b/packages/expressvpn-deb/expressvpn-deb.pacscript index 8dfd29fdd6..7f233f785b 100644 --- a/packages/expressvpn-deb/expressvpn-deb.pacscript +++ b/packages/expressvpn-deb/expressvpn-deb.pacscript @@ -1,8 +1,8 @@ -name="expressvpn-deb" +pkgname="expressvpn-deb" gives="expressvpn" pkgver="3.46.0.7-1" -url="https://www.expressvpn.works/clients/linux/${gives}_${pkgver}_amd64.deb" +source=("https://www.expressvpn.works/clients/linux/${gives}_${pkgver}_amd64.deb") pkgdesc="ExpressVPN's CLI tool" -hash="bf4aebd6cdf68e3efd03c2067c9812189565cfbad29d9627e1e6a53a9a9e7b4c" +sha256sums=("bf4aebd6cdf68e3efd03c2067c9812189565cfbad29d9627e1e6a53a9a9e7b4c") arch=('amd64') repology=("project: ${gives}" "repo: aur") diff --git a/packages/eza-git/eza-git.pacscript b/packages/eza-git/eza-git.pacscript index 941cb124f5..59f6f8d85a 100644 --- a/packages/eza-git/eza-git.pacscript +++ b/packages/eza-git/eza-git.pacscript @@ -1,21 +1,20 @@ -name="eza-git" +pkgname="eza-git" gives="eza" -url="https://github.com/eza-community/eza.git" +source=("https://github.com/eza-community/eza.git") pkgver="0.18.9" homepage='https://the.exa.website/' makedepends=("cargo" "libgit2-dev" "cmake" "rustc" "pandoc") pkgdesc="A modern, maintained replacement for ls" -maintainer="Elsie19 " +maintainer=("Elsie19 ") incompatible=('debian:bookworm') -pkgver() { - git ls-remote "${url}" main | cut -f1 | cut -c1-8 -} prepare() { + cd "${_archive}" mkdir -p target/man1 target/man5 } build() { + cd "${_archive}" cargo build -j"${NCPU}" --release --locked pandoc --standalone -f markdown -t man "man/eza.1.md" > target/man1/eza.1 pandoc --standalone -f markdown -t man "man/eza_colors.5.md" > target/man5/eza_colors.5 @@ -23,15 +22,16 @@ build() { } package() { + cd "${_archive}" # Install package - sudo install -Dm755 target/release/eza -t "${pkgdir}/usr/bin" + install -Dm755 target/release/eza -t "${pkgdir}/usr/bin" # Install completions - sudo install -Dm644 completions/bash/eza -t "${pkgdir}/usr/share/bash-completion/completions/" - sudo install -Dm644 completions/fish/eza.fish -t "${pkgdir}/usr/share/fish/vendor_completions.d/" - sudo install -Dm644 completions/zsh/_eza -t "${pkgdir}/usr/share/zsh/vendor-completions/" + install -Dm644 completions/bash/eza -t "${pkgdir}/usr/share/bash-completion/completions/" + install -Dm644 completions/fish/eza.fish -t "${pkgdir}/usr/share/fish/vendor_completions.d/" + install -Dm644 completions/zsh/_eza -t "${pkgdir}/usr/share/zsh/vendor-completions/" # Install man pages - sudo install -Dm644 target/man1/* -t "${pkgdir}/usr/share/man/man1/" - sudo install -Dm644 target/man5/* -t "${pkgdir}/usr/share/man/man5/" - sudo install -Dm644 "README.md" "${pkgdir}/usr/share/doc/${gives}/README.md" - sudo install -Dm644 "LICENCE" "${pkgdir}/usr/share/licenses/${gives}/LICENSE-MIT" + install -Dm644 target/man1/* -t "${pkgdir}/usr/share/man/man1/" + install -Dm644 target/man5/* -t "${pkgdir}/usr/share/man/man5/" + install -Dm644 "README.md" "${pkgdir}/usr/share/doc/${gives}/README.md" + install -Dm644 "LICENCE" "${pkgdir}/usr/share/licenses/${gives}/LICENSE-MIT" } diff --git a/packages/f1multiviewer-deb/f1multiviewer-deb.pacscript b/packages/f1multiviewer-deb/f1multiviewer-deb.pacscript index 69c7b44acf..165234a100 100644 --- a/packages/f1multiviewer-deb/f1multiviewer-deb.pacscript +++ b/packages/f1multiviewer-deb/f1multiviewer-deb.pacscript @@ -1,11 +1,11 @@ -name="f1multiviewer-deb" +pkgname="f1multiviewer-deb" gives="multiviewer-for-f1" repology=("project: f1multiviewer") pkgver="1.29.0" buildver="137424055" -maintainer="DismissedGuy " -homepage="https://multiviewer.app/" -url="https://releases.multiviewer.app/download/${buildver}/multiviewer-for-f1_${pkgver}_amd64.deb" +maintainer=("DismissedGuy ") +url="https://multiviewer.app/" +source=("https://releases.multiviewer.app/download/${buildver}/multiviewer-for-f1_${pkgver}_amd64.deb") pkgdesc="Unofficial desktop client for F1 TV" -hash="84aca436bda7792954af7f32b743c82af78160318622c181e8ae949603e7868e" +sha256sums=("84aca436bda7792954af7f32b743c82af78160318622c181e8ae949603e7868e") arch=('amd64') diff --git a/packages/fake-ubuntu-advantage-tools-deb/fake-ubuntu-advantage-tools-deb.pacscript b/packages/fake-ubuntu-advantage-tools-deb/fake-ubuntu-advantage-tools-deb.pacscript index f2ad21a0bd..bdaff4ec91 100644 --- a/packages/fake-ubuntu-advantage-tools-deb/fake-ubuntu-advantage-tools-deb.pacscript +++ b/packages/fake-ubuntu-advantage-tools-deb/fake-ubuntu-advantage-tools-deb.pacscript @@ -1,7 +1,7 @@ -name="fake-ubuntu-advantage-tools-deb" +pkgname="fake-ubuntu-advantage-tools-deb" gives="fake-ubuntu-advantage-tools" pkgver="0.1" -url="https://github.com/Elsie19/fake-ubuntu-advantage-tools/raw/master/fake-ubuntu-advantage-tools.deb" +source=("https://github.com/Elsie19/fake-ubuntu-advantage-tools/raw/master/fake-ubuntu-advantage-tools.deb") pkgdesc="Ban ubuntu-advantage-tools while satisfying ubuntu-minimal dependency" -hash="78a153d33409abfd8a487bfcba335f184b9d52d88d6820f5deaa2f9027043d37" -maintainer="Elsie19 " +sha256sums=("78a153d33409abfd8a487bfcba335f184b9d52d88d6820f5deaa2f9027043d37") +maintainer=("Elsie19 ") diff --git a/packages/fast/fast.pacscript b/packages/fast/fast.pacscript index 7264e02dcf..763432b24b 100644 --- a/packages/fast/fast.pacscript +++ b/packages/fast/fast.pacscript @@ -1,14 +1,15 @@ -name="fast" +pkgname="fast" pkgver="0.0.4" -url="https://github.com/ddo/fast/releases/download/v${pkgver}/fast_linux_amd64" -hash="2775964dc15c0d677eefa4a391559689ebd4c8c8169d3b6c717c15f804f89bf6" +source=("https://github.com/ddo/fast/releases/download/v${pkgver}/fast_linux_amd64") +sha256sums=("2775964dc15c0d677eefa4a391559689ebd4c8c8169d3b6c717c15f804f89bf6") arch=('amd64') pkgdesc="Minimal zero-dependency utility for testing your internet download speed from terminal" -maintainer="Elsie19 " +maintainer=("Elsie19 ") package() { - sudo mv fast_linux_amd64 fast - sudo chmod +x fast - sudo mkdir -p "${pkgdir}/fast/usr/bin" - sudo mv fast "${pkgdir}/fast/usr/bin" + cd "${_archive}" + mv fast_linux_amd64 fast + chmod +x fast + mkdir -p "${pkgdir}/fast/usr/bin" + mv fast "${pkgdir}/fast/usr/bin" } diff --git a/packages/fastfetch-git/fastfetch-git.pacscript b/packages/fastfetch-git/fastfetch-git.pacscript index 31c48a6724..c9e9d3598f 100644 --- a/packages/fastfetch-git/fastfetch-git.pacscript +++ b/packages/fastfetch-git/fastfetch-git.pacscript @@ -4,12 +4,12 @@ # \ // \/ -- \ # \__/\ / \_______ \______ / # \/ \/ \/ -maintainer="wizard-28 " +maintainer=("wizard-28 ") -name="fastfetch-git" -pkgname="fastfetch" +pkgname="fastfetch-git" +gives="fastfetch" pkgdesc="Like neofetch, but much faster because written in c" -url="https://github.com/LinusDierheimer/fastfetch.git" +source=("https://github.com/LinusDierheimer/fastfetch.git") pkgver="2.9.1" makedepends=("cmake" "libpci-dev" "libvulkan-dev" "libwayland-dev" "libxrandr-dev" "libxcb-randr0-dev" "libdconf-dev" "libmagick++-dev" "libmagickcore-dev" "libdbus-1-dev" "libpci-dev" "libxfconf-0-dev" "libegl-dev" "libglx-dev" "libosmesa6-dev" "ocl-icd-opencl-dev" "libnm-dev" "libpulse-dev" "libddcutil-dev" "directx-headers-dev") optdepends=("libvulkan1: Vulkan module and GPU fallback" @@ -25,12 +25,10 @@ optdepends=("libvulkan1: Vulkan module and GPU fallback" "libdbus-1-3: Used for bluetooth, Player & Media detection" "kitty: Terminal emulator GPU accelerated and display images" ) -breaks=("${pkgname}" "${pkgname}-bin" "${pkgname}-deb" "${pkgname}-app") -pkgver() { - git ls-remote "${url}" dev | cut -f1 | cut -c1-8 -} +breaks=("${gives}" "${gives}-bin" "${gives}-deb" "${gives}-app") build() { + cd "${_archive}" # Build fastfetch mkdir -p build/ ( @@ -41,28 +39,29 @@ build() { } package() { + cd "${_archive}" # Install license - sudo install -Dm644 "LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}" + install -Dm644 "LICENSE" -t "${pkgdir}/usr/share/licenses/${gives}" # Install doc - sudo install -Dm644 "README.md" -t "${pkgdir}/usr/share/doc/${pkgname}" + install -Dm644 "README.md" -t "${pkgdir}/usr/share/doc/${gives}" # Install fastfetch and flashfetch binary - sudo install -Dm755 "build/fastfetch" "build/flashfetch" -t "${pkgdir}/usr/bin" + install -Dm755 "build/fastfetch" "build/flashfetch" -t "${pkgdir}/usr/bin" # Install bash completions - sudo install -Dm644 "completions/bash" "${pkgdir}/usr/share/bash-completion/completions/${pkgname}" + install -Dm644 "completions/bash" "${pkgdir}/usr/share/bash-completion/completions/${gives}" # Install presets - sudo mkdir -p "${pkgdir}/usr/share/${pkgname}/presets" - sudo cp -r presets/* "${pkgdir}/usr/share/${pkgname}/presets" + mkdir -p "${pkgdir}/usr/share/${gives}/presets" + cp -r presets/* "${pkgdir}/usr/share/${gives}/presets" } post_remove() { # Remove empty directories - sudo rm -rf "/usr/share/licenses/${pkgname}" - sudo rm -rf "/usr/share/doc/${pkgname}" - sudo rm -rf "/usr/share/${pkgname}" + sudo rm -rf "/usr/share/licenses/${gives}" + sudo rm -rf "/usr/share/doc/${gives}" + sudo rm -rf "/usr/share/${gives}" # Remove left over directories if ask "Do you want to remove the configuration files?" Y; then diff --git a/packages/fblog-deb/fblog-deb.pacscript b/packages/fblog-deb/fblog-deb.pacscript index ccea0bbe64..704c9d43f2 100644 --- a/packages/fblog-deb/fblog-deb.pacscript +++ b/packages/fblog-deb/fblog-deb.pacscript @@ -1,8 +1,7 @@ -name="fblog-deb" -pkgname="fblog" -pkgver="2.3.0" +pkgname="fblog-deb" gives="fblog" -url="https://github.com/brocode/fblog/releases/download/v${pkgver}/fblog.deb" +pkgver="2.3.0" +source=("https://github.com/brocode/fblog/releases/download/v${pkgver}/fblog.deb") pkgdesc="Small command-line JSON Log viewer" -hash="53ce3853a6ca267f6be7aac92509fdd4f875022ec4f48c3904ebf1fcb63afdfb" -maintainer="KwonNam Son " +sha256sums=("53ce3853a6ca267f6be7aac92509fdd4f875022ec4f48c3904ebf1fcb63afdfb") +maintainer=("KwonNam Son ") diff --git a/packages/fennel-bin/fennel-bin.pacscript b/packages/fennel-bin/fennel-bin.pacscript index 598413b1db..af34b1b02d 100644 --- a/packages/fennel-bin/fennel-bin.pacscript +++ b/packages/fennel-bin/fennel-bin.pacscript @@ -4,21 +4,22 @@ # \ // \/ -- \ # \__/\ / \_______ \______ / # \/ \/ \/ -maintainer="wizard-28 " +maintainer=("wizard-28 ") -name="fennel-bin" -pkgname="fennel" +pkgname="fennel-bin" +gives="fennel" pkgver="1.3.1" pkgdesc="A Lua Lisp language" -url="https://fennel-lang.org/downloads/fennel-${pkgver}-x86_64" -breaks=("${pkgname}" "${pkgname}-git" "${pkgname}-deb" "${pkgname}-app") -hash="85b71175739dfd5e8893726d7244b0f0b58fd21eaec009e39eea44ad7169f060" +source=("https://fennel-lang.org/downloads/fennel-${pkgver}-x86_64") +breaks=("${gives}" "${gives}-git" "${gives}-deb" "${gives}-app") +sha256sums=("85b71175739dfd5e8893726d7244b0f0b58fd21eaec009e39eea44ad7169f060") arch=('amd64') repology=("project: fennel") package() { + cd "${_archive}" # Install binary - sudo install -Dm755 "fennel-${pkgver}-x86_64" "${pkgdir}/usr/bin/${pkgname}" + install -Dm755 "fennel-${pkgver}-x86_64" "${pkgdir}/usr/bin/${gives}" } # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/fennel/fennel.pacscript b/packages/fennel/fennel.pacscript index 0e77954758..dd30f058aa 100644 --- a/packages/fennel/fennel.pacscript +++ b/packages/fennel/fennel.pacscript @@ -4,19 +4,20 @@ # \ // \/ -- \ # \__/\ / \_______ \______ / # \/ \/ \/ -maintainer="wizard-28 " +maintainer=("wizard-28 ") -name="fennel" +pkgname="fennel" pkgver="1.3.1" pkgdesc="A Lua Lisp language" depends=("lua5.3") -url="https://fennel-lang.org/downloads/fennel-${pkgver}" -breaks=("${name}-bin" "${name}-git" "${name}-deb" "${name}-app") -hash="40a64d31a69803213d0e56f839814d5a13ae6fc40cc435b0c3be294e2ccda1ca" +source=("https://fennel-lang.org/downloads/fennel-${pkgver}") +breaks=("${pkgname}-bin" "${pkgname}-git" "${pkgname}-deb" "${pkgname}-app") +sha256sums=("40a64d31a69803213d0e56f839814d5a13ae6fc40cc435b0c3be294e2ccda1ca") repology=("project: fennel") package() { + cd "${_archive}" # Install binary - sudo install -Dm755 "fennel-${pkgver}" "${pkgdir}/usr/bin/${name}" + install -Dm755 "fennel-${pkgver}" "${pkgdir}/usr/bin/${pkgname}" } # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/ferdium-deb/ferdium-deb.pacscript b/packages/ferdium-deb/ferdium-deb.pacscript index 22ab958d8a..db637014a4 100644 --- a/packages/ferdium-deb/ferdium-deb.pacscript +++ b/packages/ferdium-deb/ferdium-deb.pacscript @@ -1,9 +1,9 @@ -name="ferdium-deb" +pkgname="ferdium-deb" gives="ferdium" repology=("project: ferdium") pkgver="6.7.2" -url="https://github.com/ferdium/ferdium-app/releases/download/v${pkgver}/Ferdium-linux-${pkgver}-amd64.deb" +source=("https://github.com/ferdium/ferdium-app/releases/download/v${pkgver}/Ferdium-linux-${pkgver}-amd64.deb") pkgdesc="Ferdium is a desktop app that helps you organize how you use your favourite apps by combining them into one application" -hash="447f221ea27435ddf09179affd9197e49796b71c89b552d56f4b73ead9e48ebc" +sha256sums=("447f221ea27435ddf09179affd9197e49796b71c89b552d56f4b73ead9e48ebc") arch=('amd64') -maintainer="Zahrun " +maintainer=("Zahrun ") diff --git a/packages/ferium-bin/ferium-bin.pacscript b/packages/ferium-bin/ferium-bin.pacscript index e9e9e8f539..434892ed15 100644 --- a/packages/ferium-bin/ferium-bin.pacscript +++ b/packages/ferium-bin/ferium-bin.pacscript @@ -1,20 +1,21 @@ -name="ferium-bin" -pkgname="ferium" -breaks=("${pkgname}") -replace=("${pkgname}-git") -repology=("project: ${pkgname}") +pkgname="ferium-bin" +gives="ferium" +breaks=("${gives}") +replaces=("${gives}-git") +repology=("project: ${gives}") pkgver="4.4.1" -url="https://github.com/gorilla-devs/${pkgname}/releases/download/v${pkgver}/${pkgname}-linux-nogui.zip" -hash="efb1a82381a429e4240f2872ac6b4394389b1a75f407f7e0659ab5d3f7d7319c" +source=("https://github.com/gorilla-devs/${gives}/releases/download/v${pkgver}/${gives}-linux-nogui.zip") +sha256sums=("efb1a82381a429e4240f2872ac6b4394389b1a75f407f7e0659ab5d3f7d7319c") pkgdesc="Fast and multi-source CLI program for managing Minecraft mods" -maintainer="Elsie19 " +maintainer=("Elsie19 ") package() { - sudo install -Dm755 ferium "${pkgdir}/usr/bin/${pkgname}" + cd "${_archive}" + install -Dm755 ferium "${pkgdir}/usr/bin/${gives}" # install shell completions - "${pkgdir}/usr/bin/${pkgname}" complete bash | sudo install -Dm644 /dev/stdin "${pkgdir}/usr/share/bash-completion/completions/ferium" - "${pkgdir}/usr/bin/${pkgname}" complete fish | sudo install -Dm644 /dev/stdin "${pkgdir}/usr/share/fish/vendor_completions.d/ferium.fish" - "${pkgdir}/usr/bin/${pkgname}" complete zsh | sudo install -Dm644 /dev/stdin "${pkgdir}/usr/share/zsh/site-functions/_ferium" + "${pkgdir}/usr/bin/${gives}" complete bash | install -Dm644 /dev/stdin "${pkgdir}/usr/share/bash-completion/completions/ferium" + "${pkgdir}/usr/bin/${gives}" complete fish | install -Dm644 /dev/stdin "${pkgdir}/usr/share/fish/vendor_completions.d/ferium.fish" + "${pkgdir}/usr/bin/${gives}" complete zsh | install -Dm644 /dev/stdin "${pkgdir}/usr/share/zsh/site-functions/_ferium" } # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/feroxbuster-bin/feroxbuster-bin.pacscript b/packages/feroxbuster-bin/feroxbuster-bin.pacscript index 1aed4d8c28..2df379f2de 100644 --- a/packages/feroxbuster-bin/feroxbuster-bin.pacscript +++ b/packages/feroxbuster-bin/feroxbuster-bin.pacscript @@ -1,30 +1,37 @@ -maintainer="0x262D " -name="feroxbuster-bin" -pkgname="feroxbuster" +maintainer=("0x262D ") +pkgname="feroxbuster-bin" gives="feroxbuster" depends=("fonts-noto-color-emoji") pkgver="2.10.0" pkgdesc="A fast, simple, recursive content discovery tool written in Rust" -url="https://github.com/epi052/${gives}/releases/download/v${pkgver}/x86_64-linux-${gives}.tar.gz" -hash="dc511b6b2da4462cacd8d8985b49620e29f431d97d45efc7d305c436d4603b13" +source=( + "https://github.com/epi052/${gives}/releases/download/v${pkgver}/x86_64-linux-${gives}.tar.gz" + "${gives}.bash::https://raw.githubusercontent.com/epi052/${gives}/${pkgver}/shell_completions/${gives}.bash" + "_${gives}::https://raw.githubusercontent.com/epi052/${gives}/${pkgver}/shell_completions/_${gives}" + "${gives}.fish::https://raw.githubusercontent.com/epi052/${gives}/${pkgver}/shell_completions/${gives}.fish" +) +sha256sums=( + "dc511b6b2da4462cacd8d8985b49620e29f431d97d45efc7d305c436d4603b13" + "SKIP" + "SKIP" + "SKIP" +) arch=('amd64') -breaks=("${pkgname}" "${pkgname}-deb" "${pkgname}-git") -repology=("project: ${pkgname}") +breaks=("${gives}" "${gives}-deb" "${gives}-git") +repology=("project: ${gives}") package() { + cd "${_archive}" # Install bin - sudo install -Dm755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}" + install -Dm755 "${gives}" "${pkgdir}/usr/bin/${gives}" # Bash - wget -q -O "${pkgname}.bash" "https://raw.githubusercontent.com/epi052/${pkgname}/${pkgver}/shell_completions/${pkgname}.bash" - sudo install -Dm644 "./feroxbuster.bash" "${pkgdir}/usr/share/bash-completion/completions/feroxbuster.bash" + install -Dm644 "./feroxbuster.bash" "${pkgdir}/usr/share/bash-completion/completions/feroxbuster.bash" # Zsh - wget -q -O "_${pkgname}" "https://raw.githubusercontent.com/epi052/${pkgname}/${pkgver}/shell_completions/_${pkgname}" - sudo install -Dm644 "./_feroxbuster" "${pkgdir}/usr/share/zsh/site-functions/_feroxbuster" + install -Dm644 "./_feroxbuster" "${pkgdir}/usr/share/zsh/site-functions/_feroxbuster" # Fish - wget -q -O "${pkgname}.fish" "https://raw.githubusercontent.com/epi052/${pkgname}/${pkgver}/shell_completions/${pkgname}.fish" - sudo install -Dm644 "./feroxbuster.fish" "${pkgdir}/usr/share/fish/vendor_completions.d/feroxbuster.fish" + install -Dm644 "./feroxbuster.fish" "${pkgdir}/usr/share/fish/vendor_completions.d/feroxbuster.fish" } # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/ffsend-bin/ffsend-bin.pacscript b/packages/ffsend-bin/ffsend-bin.pacscript index 2204a4a357..7993a9748e 100644 --- a/packages/ffsend-bin/ffsend-bin.pacscript +++ b/packages/ffsend-bin/ffsend-bin.pacscript @@ -1,4 +1,4 @@ -name="ffsend-bin" +pkgname="ffsend-bin" gives="ffsend" pkgver="0.2.76" pkgdesc="Easily and securely share files from the command line" @@ -9,21 +9,27 @@ breaks=("${gives}") depends=("ca-certificates") optdepends=("xclip: clipboard support" "bash-completion: support auto-completion for bash") -maintainer="vigress8 " -url="https://github.com/timvisee/${gives}/releases/download/v${pkgver}/${gives}-v${pkgver}-linux-x64-static" -hash="ee3292c87a2d77bbe92f101a2d7b2723de811279ceac5d8257f7e95ddc982579" +maintainer=("vigress8 ") +source=( + "https://github.com/timvisee/${gives}/releases/download/v${pkgver}/${gives}-v${pkgver}-linux-x64-static" + "https://gitlab.com/timvisee/${gives}/raw/v${pkgver}/contrib/completions/${gives}.bash" + "https://gitlab.com/timvisee/${gives}/raw/v${pkgver}/contrib/completions/_${gives}" + "https://gitlab.com/timvisee/${gives}/raw/v${pkgver}/contrib/completions/${gives}.fish" + "https://gitlab.com/timvisee/${gives}/raw/v${pkgver}/LICENSE" +) +sha256sums=( + "ee3292c87a2d77bbe92f101a2d7b2723de811279ceac5d8257f7e95ddc982579" + "SKIP" + "SKIP" + "SKIP" + "SKIP" +) package() { - sudo install -Dm755 "${gives}-v${pkgver}-linux-x64-static" "${pkgdir}/usr/bin/${gives}" - - # Shell completions and LICENSE file - wget -q "https://gitlab.com/timvisee/${gives}/raw/v${pkgver}/contrib/completions/${gives}.bash" \ - "https://gitlab.com/timvisee/${gives}/raw/v${pkgver}/contrib/completions/_${gives}" \ - "https://gitlab.com/timvisee/${gives}/raw/v${pkgver}/contrib/completions/${gives}.fish" \ - "https://gitlab.com/timvisee/${gives}/raw/v${pkgver}/LICENSE" - - sudo install -Dm644 "${gives}.bash" "${pkgdir}/usr/share/bash-completion/completions/${gives}" - sudo install -Dm644 "_${gives}" "${pkgdir}/usr/share/zsh/site-functions/_${gives}" - sudo install -Dm644 "${gives}.fish" "${pkgdir}/usr/share/fish/vendor_completions.d/${gives}.fish" - sudo install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${gives}/LICENSE" + cd "${_archive}" + install -Dm755 "${gives}-v${pkgver}-linux-x64-static" "${pkgdir}/usr/bin/${gives}" + install -Dm644 "${srcdir}/${gives}.bash" "${pkgdir}/usr/share/bash-completion/completions/${gives}" + install -Dm644 "${srcdir}/_${gives}" "${pkgdir}/usr/share/zsh/site-functions/_${gives}" + install -Dm644 "${srcdir}/${gives}.fish" "${pkgdir}/usr/share/fish/vendor_completions.d/${gives}.fish" + install -Dm644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${gives}/LICENSE" } diff --git a/packages/firefox-arm64-deb/firefox-arm64-deb.pacscript b/packages/firefox-arm64-deb/firefox-arm64-deb.pacscript index ab56254705..7269480dbd 100644 --- a/packages/firefox-arm64-deb/firefox-arm64-deb.pacscript +++ b/packages/firefox-arm64-deb/firefox-arm64-deb.pacscript @@ -1,11 +1,11 @@ -name="firefox-arm64-deb" +pkgname="firefox-arm64-deb" gives="firefox" pkgver="125.0.2+build1" ubversion="22.04" arch=("arm64") repology=("project: ${gives}" "repo: ubuntu_20_04") -url="https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu/pool/main/f/${gives}/${gives}_${pkgver}-0ubuntu0.${ubversion}.1~mt1_arm64.deb" +source=("https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu/pool/main/f/${gives}/${gives}_${pkgver}-0ubuntu0.${ubversion}.1~mt1_arm64.deb") homepage='https://www.mozilla.org/en-US/firefox' pkgdesc="Free and open-source web browser developed by the Mozilla Foundation" -maintainer="Oren Klopfer " -hash="8e7847a1fa525ee5e6b0cc54929608c2d6a9dbe451e02176cffd3cc678fcd9d7" +maintainer=("Oren Klopfer ") +sha256sums=("8e7847a1fa525ee5e6b0cc54929608c2d6a9dbe451e02176cffd3cc678fcd9d7") diff --git a/packages/firefox-bin/firefox-bin.pacscript b/packages/firefox-bin/firefox-bin.pacscript index 1c7f1b2b4d..af1f11bb28 100644 --- a/packages/firefox-bin/firefox-bin.pacscript +++ b/packages/firefox-bin/firefox-bin.pacscript @@ -1,21 +1,21 @@ -name="firefox-bin" +pkgname="firefox-bin" gives="firefox" pkgver="125.0.2" repology=("project: ${gives}") -url="https://download-installer.cdn.mozilla.net/pub/firefox/releases/${pkgver}/linux-x86_64/en-US/firefox-${pkgver}.tar.bz2" +source=("https://download-installer.cdn.mozilla.net/pub/firefox/releases/${pkgver}/linux-x86_64/en-US/firefox-${pkgver}.tar.bz2") homepage='https://www.mozilla.org/en-US/firefox' pkgdesc="Free and open-source web browser developed by the Mozilla Foundation" -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") arch=('amd64') -hash="ecd3d99be21bc2c3afb6f1a89fc587adb3dcd2a4ef22f95350d461f86251ae7b" +sha256sums=("ecd3d99be21bc2c3afb6f1a89fc587adb3dcd2a4ef22f95350d461f86251ae7b") package() { - cd .. - sudo mkdir -p "${pkgdir}/lib/firefox" - sudo cp -r firefox/* "${pkgdir}/lib/firefox" - sudo chmod +x "${pkgdir}/lib/firefox/firefox" - sudo chmod +x "${pkgdir}/lib/firefox/firefox-bin" - sudo mkdir -p "${pkgdir}/usr/share/applications/" + cd "${srcdir}" + mkdir -p "${pkgdir}/lib/firefox" + cp -r firefox/* "${pkgdir}/lib/firefox" + chmod +x "${pkgdir}/lib/firefox/firefox" + chmod +x "${pkgdir}/lib/firefox/firefox-bin" + mkdir -p "${pkgdir}/usr/share/applications/" echo '[Desktop Entry] Name=Firefox Stable Comment=Web Browser @@ -30,8 +30,8 @@ Actions=Private; [Desktop Action Private] Exec=/lib/firefox/firefox --private-window %u -Name=Open in private mode' | sudo tee "${pkgdir}/usr/share/applications/firefox.desktop" > /dev/null - sudo mkdir -p "${pkgdir}/usr/bin" - sudo ln -sf "/lib/firefox/firefox-bin" "${pkgdir}/usr/bin/firefox-bin" - sudo ln -sf "/lib/firefox/firefox" "${pkgdir}/usr/bin/firefox" +Name=Open in private mode' | tee "${pkgdir}/usr/share/applications/firefox.desktop" > /dev/null + mkdir -p "${pkgdir}/usr/bin" + ln -sf "/lib/firefox/firefox-bin" "${pkgdir}/usr/bin/firefox-bin" + ln -sf "/lib/firefox/firefox" "${pkgdir}/usr/bin/firefox" } diff --git a/packages/firefox-developer-edition-bin/firefox-developer-edition-bin.pacscript b/packages/firefox-developer-edition-bin/firefox-developer-edition-bin.pacscript index 5eccdf5fa5..8f1e5342b1 100644 --- a/packages/firefox-developer-edition-bin/firefox-developer-edition-bin.pacscript +++ b/packages/firefox-developer-edition-bin/firefox-developer-edition-bin.pacscript @@ -1,27 +1,32 @@ -name="firefox-developer-edition-bin" -maintainer="Oren Klopfer " -pkgname="firefox-developer-edition" +pkgname="firefox-developer-edition-bin" +maintainer=("Oren Klopfer ") +gives="firefox-developer-edition" pkgver="125.0b9" pkgdesc="The browser made for developers. All the latest developer tools in beta, plus experimental features like the Multi-line Console Editor and WebSocket Inspector." -url="https://download-installer.cdn.mozilla.net/pub/devedition/releases/${pkgver}/linux-x86_64/en-US/firefox-${pkgver}.tar.bz2" +source=( + "https://download-installer.cdn.mozilla.net/pub/devedition/releases/${pkgver}/linux-x86_64/en-US/firefox-${pkgver}.tar.bz2" + "${gives}.desktop" + "${gives}.png::https://www.mozilla.org/media/img/structured-data/logo-firefox-developer.8aedc8028e4d.png" +) homepage='https://www.mozilla.org/en-US/firefox/developer/' -breaks=("${pkgname}" "${pkgname}-git" "${pkgname}-deb" "${pkgname}-app") -hash="044ecea7ba76658458a4993bdde9f3ee11f728ee80f30814549a0650479918d5" +breaks=("${gives}" "${gives}-git" "${gives}-deb" "${gives}-app") +sha256sums=( + "044ecea7ba76658458a4993bdde9f3ee11f728ee80f30814549a0650479918d5" + "SKIP" + "SKIP" +) arch=('amd64') repology=("project: firefox" "visiblename: firefox-developer-edition" "status: devel") -__icon_url="https://www.mozilla.org/media/img/structured-data/logo-firefox-developer.8aedc8028e4d.png" package() { - cd .. + cd "${srcdir}" # Make dirs and assign permissions - sudo mkdir -p "${pkgdir}/opt/firefox-developer-edition" - sudo cp -r firefox/* "${pkgdir}/opt/firefox-developer-edition" + mkdir -p "${pkgdir}/opt/firefox-developer-edition" + cp -r firefox/* "${pkgdir}/opt/firefox-developer-edition" # Install the icon for the desktop file - wget -q -O "${pkgname}.png" "${__icon_url}" - sudo install -Dm644 "${pkgname}.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png" + install -Dm644 "${srcdir}/${gives}.png" "${pkgdir}/usr/share/pixmaps/${gives}.png" # Install the desktop file - wget -q "https://raw.githubusercontent.com/pacstall/pacstall-programs/master/packages/${name}/${pkgname}.desktop" - sudo install -Dm644 "${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop" + install -Dm644 "${srcdir}/${gives}.desktop" "${pkgdir}/usr/share/applications/${gives}.desktop" } diff --git a/packages/fishui-git/fishui-git.pacscript b/packages/fishui-git/fishui-git.pacscript index 3f95b47a7d..6dcc69f6a6 100644 --- a/packages/fishui-git/fishui-git.pacscript +++ b/packages/fishui-git/fishui-git.pacscript @@ -1,25 +1,25 @@ -name="fishui-git" +pkgname="fishui-git" gives="fishui" -url="https://github.com/cutefishos/fishui.git" +source=("https://github.com/cutefishos/fishui.git") pkgver="0.8" license="GPL-3.0" makedepends=("extra-cmake-modules" "ninja-build" "qttools5-dev-tools" "qtbase5-dev" "qtdeclarative5-dev" "qtquickcontrols2-5-dev" "qttools5-dev") depends=("libkf5windowsystem5" "libxcb-icccm4-dev" "qtquickcontrols2-5-dev" "qtbase5-private-dev" "libxcb-shape0-dev" "libxcb-keysyms1-dev") pkgdesc="FishUI is a GUI library based on QQC2 (Qt Quick Controls 2), every Cutefish application uses it." -pkgver() { - git ls-remote "${url}" main | cut -f1 | cut -c1-8 -} prepare() { + cd "${_archive}" mkdir build cd build || return 1 } build() { + cd "${_archive}" cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr .. make -j"${NCPU}" } package() { - sudo make install DESTDIR="${pkgdir}" + cd "${_archive}" + make install DESTDIR="${pkgdir}" } diff --git a/packages/floorp-bin/floorp-bin.pacscript b/packages/floorp-bin/floorp-bin.pacscript index 065cdb080f..985a426de9 100644 --- a/packages/floorp-bin/floorp-bin.pacscript +++ b/packages/floorp-bin/floorp-bin.pacscript @@ -1,39 +1,38 @@ -name="floorp-bin" +pkgname="floorp-bin" gives="floorp" pkgver="11.10.5" repology=("project: ${gives}") -if [[ ${CARCH} == "arm64" ]]; then - gnuarch="aarch" - hash="695dc6185df33b5ee22b802f3ba1d0043c1ebe366cce2a897431dcd8e77fa922" -else +sha256sums_amd64=("64d264d503a669188e2b38db07490a8a7d82a114c0f18c6b18d4253e6e8af710") +sha256sums_arm64=("695dc6185df33b5ee22b802f3ba1d0043c1ebe366cce2a897431dcd8e77fa922") +if [[ ${CARCH} == amd64 ]]; then gnuarch="x86_" - hash="64d264d503a669188e2b38db07490a8a7d82a114c0f18c6b18d4253e6e8af710" -fi -url="https://github.com/Floorp-Projects/Floorp/releases/download/v${pkgver}/${gives}-${pkgver}.linux-${gnuarch}64.tar.bz2" -homepage='https://floorp.app/' -pkgdesc="Firefox-based Browser build for keeping the Open, Private and Sustainable Web alive" -maintainer="Oren Klopfer " -arch=('amd64' 'arm64') -if [[ ${CARCH} == "arm64" ]]; then +else + gnuarch="aarch" fancy_message warn "Floorp is not running properly on ${BBlue}arm64${NC}. It should only be installed for development." - if [[ ! -f "${METADIR}/${name}-override" && ${PWD} == "/tmp/pacstall" ]]; then + if [[ ! -f "${METADIR}/${pkgname}-override" && ${PWD} == "/tmp/pacstall" ]]; then if ask "[${BYellow}*${NC}] ${BOLD}WARNING${NC}: Cancel installation?" Y; then exit fi fi fi +source=("https://github.com/Floorp-Projects/Floorp/releases/download/v${pkgver}/${gives}-${pkgver}.linux-${gnuarch}64.tar.bz2") +homepage='https://floorp.app/' +pkgdesc="Firefox-based Browser build for keeping the Open, Private and Sustainable Web alive" +maintainer=("Oren Klopfer ") +arch=('amd64' 'arm64') package() { + cd "${_archive}" if [[ ${CARCH} == "arm64" ]]; then - sudo mkdir -p "${pkgdir}/${METADIR}" - sudo touch "${pkgdir}/${METADIR}/${name}-override" + mkdir -p "${pkgdir}/${METADIR}" + touch "${pkgdir}/${METADIR}/${pkgname}-override" fi - cd .. - sudo mkdir -p "${pkgdir}/usr/lib/floorp" - sudo cp -r floorp/* "${pkgdir}/usr/lib/floorp" - sudo chmod +x "${pkgdir}/usr/lib/floorp/floorp" - sudo chmod +x "${pkgdir}/usr/lib/floorp/floorp-bin" - sudo mkdir -p "${pkgdir}/usr/share/applications/" + cd "${srcdir}" + mkdir -p "${pkgdir}/usr/lib/floorp" + cp -r floorp/* "${pkgdir}/usr/lib/floorp" + chmod +x "${pkgdir}/usr/lib/floorp/floorp" + chmod +x "${pkgdir}/usr/lib/floorp/floorp-bin" + mkdir -p "${pkgdir}/usr/share/applications/" echo '[Desktop Entry] Name=Floorp Comment=Web Browser @@ -57,8 +56,8 @@ Exec=/usr/lib/floorp/floorp --class="floorp" --private-window [Desktop Action profile-manager-window] Name=Open the Profile Manager -Exec=/usr/lib/floorp/floorp --class="floorp" --ProfileManager' | sudo tee "${pkgdir}/usr/share/applications/floorp.desktop" > /dev/null - sudo mkdir -p "${pkgdir}/usr/bin" - sudo ln -sf "/lib/floorp/floorp-bin" "${pkgdir}/usr/bin/floorp-bin" - sudo ln -sf "/lib/floorp/floorp" "${pkgdir}/usr/bin/floorp" +Exec=/usr/lib/floorp/floorp --class="floorp" --ProfileManager' | tee "${pkgdir}/usr/share/applications/floorp.desktop" > /dev/null + mkdir -p "${pkgdir}/usr/bin" + ln -sf "/lib/floorp/floorp-bin" "${pkgdir}/usr/bin/floorp-bin" + ln -sf "/lib/floorp/floorp" "${pkgdir}/usr/bin/floorp" } diff --git a/packages/flyctl-bin/flyctl-bin.pacscript b/packages/flyctl-bin/flyctl-bin.pacscript index 03426d3b50..aada8c36f1 100644 --- a/packages/flyctl-bin/flyctl-bin.pacscript +++ b/packages/flyctl-bin/flyctl-bin.pacscript @@ -1,22 +1,23 @@ -name="flyctl-bin" +pkgname="flyctl-bin" repology=("project: flyctl") pkgver="0.2.31" arch=("amd64" "arm64") +sha256sums_amd64=("2af82bd13c9fed05fd11682ddc646c436353c87519d91482350d7a0edbb59841") +sha256sums_arm64=("b7d5b38c6e6e0d6907520db81caf66cefd086a34d959b9d1fcf7427510f63c60") if [[ ${CARCH} == amd64 ]]; then - hash="2af82bd13c9fed05fd11682ddc646c436353c87519d91482350d7a0edbb59841" arch_suffix="x86_64" else - hash="b7d5b38c6e6e0d6907520db81caf66cefd086a34d959b9d1fcf7427510f63c60" arch_suffix="arm64" fi -url="https://github.com/superfly/flyctl/releases/download/v${pkgver}/flyctl_${pkgver}_Linux_${arch_suffix}.tar.gz" +source=("https://github.com/superfly/flyctl/releases/download/v${pkgver}/flyctl_${pkgver}_Linux_${arch_suffix}.tar.gz") pkgdesc="Command line tool for fly.io services" homepage='https://fly.io' -maintainer="Andrew Barchuk " +maintainer=("Andrew Barchuk ") package() { - sudo install -Dm755 "./flyctl" -t "${pkgdir}/usr/bin" - sudo ln -s /usr/bin/flyctl "${pkdir}/usr/bin/fly" + cd "${_archive}" + install -Dm755 "./flyctl" -t "${pkgdir}/usr/bin" + ln -s /usr/bin/flyctl "${pkdir}/usr/bin/fly" } # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/fm6000-git/fm6000-git.pacscript b/packages/fm6000-git/fm6000-git.pacscript index 015d8c227f..0576cc2d86 100644 --- a/packages/fm6000-git/fm6000-git.pacscript +++ b/packages/fm6000-git/fm6000-git.pacscript @@ -1,20 +1,19 @@ -name="fm6000-git" +pkgname="fm6000-git" pkgver="0.0.1" -url="https://github.com/anhsirk0/fetch-master-6000.git" +source=("https://github.com/anhsirk0/fetch-master-6000.git") depends=("perl") breaks=("fm6000") gives="fm6000" pkgdesc="A simple fetch tool written in Perl" -hash="d0127441a11db8d640a28753a8494a5155514e161415ca7b2c5ab3b33024517f" -pkgver() { - git ls-remote "${url}" master | cut -f1 | cut -c1-8 -} +sha256sums=("d0127441a11db8d640a28753a8494a5155514e161415ca7b2c5ab3b33024517f") build() { + cd "${_archive}" chmod +x fm6000.pl } package() { - sudo mkdir -p "${pkgdir}/usr/bin/" - sudo cp fm6000.pl "${pkgdir}/usr/bin" + cd "${_archive}" + mkdir -p "${pkgdir}/usr/bin/" + cp fm6000.pl "${pkgdir}/usr/bin" } diff --git a/packages/fnlfmt/fnlfmt.pacscript b/packages/fnlfmt/fnlfmt.pacscript index 03312797e2..a71f73a964 100644 --- a/packages/fnlfmt/fnlfmt.pacscript +++ b/packages/fnlfmt/fnlfmt.pacscript @@ -9,25 +9,26 @@ # \ // \/ -- \ # \__/\ / \_______ \______ / # \/ \/ \/ -maintainer="wizard-28 " +maintainer=("wizard-28 ") -name="fnlfmt" +pkgname="fnlfmt" pkgver="0.3.0" pkgdesc="A formatter for fennel source code" -url="https://git.sr.ht/~technomancy/fnlfmt/archive/${pkgver}.tar.gz" -gives="${pkgname}" -breaks=("${pkgname}-bin" "${pkgname}-git" "${pkgname}-deb" "${pkgname}-app") +source=("https://git.sr.ht/~technomancy/fnlfmt/archive/${pkgver}.tar.gz") +breaks=("${gives}-bin" "${gives}-git" "${gives}-deb" "${gives}-app") depends=("lua5.3") makedepends=("lua5.3") -hash="8baa2f5ed98f449139f6bd8b4859575c4cfeacc60c0a8884ecaa27bc94e69156" +sha256sums=("8baa2f5ed98f449139f6bd8b4859575c4cfeacc60c0a8884ecaa27bc94e69156") repology=("project: fnlfmt") build() { + cd "${_archive}" make -j"${NCPU}" } package() { - sudo install -D "${name}" "${pkgdir}/usr/bin/${name}" + cd "${_archive}" + install -D "${pkgname}" "${pkgdir}/usr/bin/${pkgname}" } # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/foliate-deb/foliate-deb.pacscript b/packages/foliate-deb/foliate-deb.pacscript index 26bf4940bc..dcab92585d 100644 --- a/packages/foliate-deb/foliate-deb.pacscript +++ b/packages/foliate-deb/foliate-deb.pacscript @@ -1,9 +1,9 @@ -name="foliate-deb" +pkgname="foliate-deb" gives="foliate" -replace=("${gives}") +replaces=("${gives}") pkgver="3.0.1" -url="https://github.com/johnfactotum/${gives}/releases/download/${pkgver}/${gives}_${pkgver}_all.deb" -hash="933bb5235586cb59a2aa7d5df056cae2b504c5e928621ed6d6e084870279c195" -homepage="https://johnfactotum.github.io/foliate/" +source=("https://github.com/johnfactotum/${gives}/releases/download/${pkgver}/${gives}_${pkgver}_all.deb") +sha256sums=("933bb5235586cb59a2aa7d5df056cae2b504c5e928621ed6d6e084870279c195") +url="https://johnfactotum.github.io/foliate/" pkgdesc="A simple and modern GTK e-book reader" -maintainer="Diegiwg " +maintainer=("Diegiwg ") diff --git a/packages/font-downloader/font-downloader.pacscript b/packages/font-downloader/font-downloader.pacscript index 472469faf6..465e23a3d9 100644 --- a/packages/font-downloader/font-downloader.pacscript +++ b/packages/font-downloader/font-downloader.pacscript @@ -1,19 +1,21 @@ -name="font-downloader" +pkgname="font-downloader" gives="font-downloader" pkgver="10.0.0" makedepends=("meson" "libhandy-1-dev" "gettext") # HACK: https://github.com/pacstall/pacstall/issues/727 depends=("python3-gi" "libhandy-1-dev") -url="https://github.com/GustavoPeredo/Font-Downloader/archive/refs/tags/v${pkgver}.zip" +source=("https://github.com/GustavoPeredo/Font-Downloader/archive/refs/tags/v${pkgver}.zip") repology=("project: fontdownloader") pkgdesc="Install fonts from online sources" -hash="eeafd4ac9cb0d47fd0c1512e07805d0f7a639cdbbc688647249eaee8d1753e23" -maintainer="সৌম্যদীপ " +sha256sums=("eeafd4ac9cb0d47fd0c1512e07805d0f7a639cdbbc688647249eaee8d1753e23") +maintainer=("সৌম্যদীপ ") build() { + cd "${_archive}" meson --prefix=/usr build ninja -C build } package() { - sudo DESTDIR="${pkgdir}" ninja -C build install + cd "${_archive}" + DESTDIR="${pkgdir}" ninja -C build install } diff --git a/packages/forticlient-deb/forticlient-deb.pacscript b/packages/forticlient-deb/forticlient-deb.pacscript index 66269b35ba..6d2f1e715d 100644 --- a/packages/forticlient-deb/forticlient-deb.pacscript +++ b/packages/forticlient-deb/forticlient-deb.pacscript @@ -1,8 +1,8 @@ -name="forticlient-deb" -pkgname="forticlient" +pkgname="forticlient-deb" +gives="forticlient" pkgver="7.0.0.0018" -url="https://filestore.fortinet.com/forticlient/downloads/forticlient_vpn_${pkgver}_amd64.deb" -breaks=("${pkgname}" "${pkgname}-git" "${pkgname}-bin" "${pkgname}-app" "${pkgname}-deb") +source=("https://filestore.fortinet.com/forticlient/downloads/forticlient_vpn_${pkgver}_amd64.deb") +breaks=("${gives}" "${gives}-git" "${gives}-bin" "${gives}-app" "${gives}-deb") pkgdesc="The VPN-only version of FortiClient offers SSL VPN and IPSecVPN, but does not include any support." -hash="82e5817048a60ff95d2e88b4a95512f9f0035fa37240ce57580c203b5a8a79c9" +sha256sums=("82e5817048a60ff95d2e88b4a95512f9f0035fa37240ce57580c203b5a8a79c9") arch=('amd64') diff --git a/packages/fpc-laz-deb/fpc-laz-deb.pacscript b/packages/fpc-laz-deb/fpc-laz-deb.pacscript index 5bdcb57f6c..4b8d5e2ceb 100644 --- a/packages/fpc-laz-deb/fpc-laz-deb.pacscript +++ b/packages/fpc-laz-deb/fpc-laz-deb.pacscript @@ -1,10 +1,10 @@ -name="fpc-laz-deb" +pkgname="fpc-laz-deb" pkgver="3.2" gives="fpc-laz" -replace=("fpc") +replaces=("fpc") provides=("fpc") repology=("project: lazarus") -url="https://sourceforge.net/projects/lazarus/files/Lazarus%20Linux%20amd64%20DEB/Lazarus%203.2/fpc-laz_3.2.2-210709_amd64.deb" +source=("https://sourceforge.net/projects/lazarus/files/Lazarus%20Linux%20amd64%20DEB/Lazarus%203.2/fpc-laz_3.2.2-210709_amd64.deb") pkgdesc='Delphi-like IDE for FreePascal gtk2 version' -hash="92000f2b831184e153aab0c910f8ae9240450e5c6d76dc189cf53116ee501d83" -maintainer="xdavius " +sha256sums=("92000f2b831184e153aab0c910f8ae9240450e5c6d76dc189cf53116ee501d83") +maintainer=("xdavius ") diff --git a/packages/fpc-src-deb/fpc-src-deb.pacscript b/packages/fpc-src-deb/fpc-src-deb.pacscript index 3a46af305c..7200ed6404 100644 --- a/packages/fpc-src-deb/fpc-src-deb.pacscript +++ b/packages/fpc-src-deb/fpc-src-deb.pacscript @@ -1,8 +1,8 @@ -name="fpc-src-deb" +pkgname="fpc-src-deb" pkgver="3.2" gives="fpc-src" repology=("project: lazarus") -url="https://sourceforge.net/projects/lazarus/files/Lazarus%20Linux%20amd64%20DEB/Lazarus%203.2/fpc-src_3.2.2-210709_amd64.deb" +source=("https://sourceforge.net/projects/lazarus/files/Lazarus%20Linux%20amd64%20DEB/Lazarus%203.2/fpc-src_3.2.2-210709_amd64.deb") pkgdesc='Delphi-like IDE for FreePascal gtk2 version' -hash="8c9e145d8056754a9ca39ce3e52e982b8e4816124984c5f542f2a874e721ad53" -maintainer="xdavius " +sha256sums=("8c9e145d8056754a9ca39ce3e52e982b8e4816124984c5f542f2a874e721ad53") +maintainer=("xdavius ") diff --git a/packages/freetube-deb/freetube-deb.pacscript b/packages/freetube-deb/freetube-deb.pacscript index 9ed13b1ad7..aff69f93e7 100644 --- a/packages/freetube-deb/freetube-deb.pacscript +++ b/packages/freetube-deb/freetube-deb.pacscript @@ -1,8 +1,8 @@ -name="freetube-deb" +pkgname="freetube-deb" gives="freetube" pkgver="0.20.0" -url="https://github.com/FreeTubeApp/FreeTube/releases/download/v${pkgver}-beta/${gives}_${pkgver}_amd64.deb" +source=("https://github.com/FreeTubeApp/FreeTube/releases/download/v${pkgver}-beta/${gives}_${pkgver}_amd64.deb") pkgdesc="An Open Source YouTube app for privacy." repology=("project: freetube") -hash="5a848ff7a9e77a1d285954bf9821fe16021a13180fac852913602936592a7fe2" +sha256sums=("5a848ff7a9e77a1d285954bf9821fe16021a13180fac852913602936592a7fe2") arch=('amd64') diff --git a/packages/fsearch-deb/fsearch-deb.pacscript b/packages/fsearch-deb/fsearch-deb.pacscript index 844b38dead..8a995306b7 100644 --- a/packages/fsearch-deb/fsearch-deb.pacscript +++ b/packages/fsearch-deb/fsearch-deb.pacscript @@ -1,4 +1,4 @@ -name="fsearch-deb" +pkgname="fsearch-deb" gives="fsearch" repology=("project: fsearch") pkgver="0.2.3" @@ -6,23 +6,23 @@ codename="$(lsb_release -cs)" echo "Installing for ${codename}" case "${codename}" in bullseye) - url="https://download.opensuse.org/repositories/home:/cboxdoerfer/Debian_11/amd64/fsearch_${pkgver}-1+3.1_amd64.deb" - hash="1ecaacb7e1f2b3eab3c15c7307bab0cbea9c0a8aa32ffc195e0d354a86d3a0f6" + source=("https://download.opensuse.org/repositories/home:/cboxdoerfer/Debian_11/amd64/fsearch_${pkgver}-1+3.1_amd64.deb") + sha256sums=("1ecaacb7e1f2b3eab3c15c7307bab0cbea9c0a8aa32ffc195e0d354a86d3a0f6") ;; bookworm) - url="https://download.opensuse.org/repositories/home:/cboxdoerfer/Debian_12/amd64/fsearch_${pkgver}-1+3.1_amd64.deb" - hash="2f8b3b9a0153499b161866df64e081777f9085c789911817178986d96c220fcb" + source=("https://download.opensuse.org/repositories/home:/cboxdoerfer/Debian_12/amd64/fsearch_${pkgver}-1+3.1_amd64.deb") + sha256sums=("2f8b3b9a0153499b161866df64e081777f9085c789911817178986d96c220fcb") ;; jammy) - url="https://download.opensuse.org/repositories/home:/cboxdoerfer/Debian_12/amd64/fsearch_${pkgver}-1+3.1_amd64.deb" - hash="2f8b3b9a0153499b161866df64e081777f9085c789911817178986d96c220fcb" + source=("https://download.opensuse.org/repositories/home:/cboxdoerfer/Debian_12/amd64/fsearch_${pkgver}-1+3.1_amd64.deb") + sha256sums=("2f8b3b9a0153499b161866df64e081777f9085c789911817178986d96c220fcb") pacdeps=("libicu-deb") ;; *) - url="https://download.opensuse.org/repositories/home:/cboxdoerfer/Debian_Unstable/amd64/fsearch_${pkgver}-1+3.15_amd64.deb" - hash="40d5453743c8bca6e15a80b6d4d035594d6629048c98b07c1d30d61a182eebd8" + source=("https://download.opensuse.org/repositories/home:/cboxdoerfer/Debian_Unstable/amd64/fsearch_${pkgver}-1+3.15_amd64.deb") + sha256sums=("40d5453743c8bca6e15a80b6d4d035594d6629048c98b07c1d30d61a182eebd8") ;; esac pkgdesc="FSearch is a fast file search utility, inspired by Everything Search Engine" -maintainer="Zahrun " +maintainer=("Zahrun ") arch=('amd64') diff --git a/packages/fsearch-git/fsearch-git.pacscript b/packages/fsearch-git/fsearch-git.pacscript index e3c395a778..c7c0ed7f2a 100644 --- a/packages/fsearch-git/fsearch-git.pacscript +++ b/packages/fsearch-git/fsearch-git.pacscript @@ -1,22 +1,22 @@ -name="fsearch-git" +pkgname="fsearch-git" gives="fsearch" pkgdesc="FSearch is a fast file search utility, inspired by Everything Search Engine. It's written in C and based on GTK3." -url="https://github.com/cboxdoerfer/${gives}.git" +source=("https://github.com/cboxdoerfer/${gives}.git") pkgver="0.2.2" makedepends=("git" "build-essential" "automake" "autopoint" "autoconf" "libtool" "pkg-config" "intltool" "autoconf-archive" "libicu-dev" "libpcre3-dev" "libglib2.0-dev" "libgtk-3-dev" "libxml2-utils") -pkgver() { - git ls-remote "${url}" master | cut -f1 | cut -c1-8 -} prepare() { + cd "${_archive}" ./autogen.sh } build() { + cd "${_archive}" ./configure make -j"${NCPU}" } package() { - sudo make install DESTDIR="${pkgdir}" + cd "${_archive}" + make install DESTDIR="${pkgdir}" } diff --git a/packages/fselect-git/fselect-git.pacscript b/packages/fselect-git/fselect-git.pacscript index 109a45006b..264c76017a 100644 --- a/packages/fselect-git/fselect-git.pacscript +++ b/packages/fselect-git/fselect-git.pacscript @@ -1,19 +1,18 @@ -name="fselect-git" +pkgname="fselect-git" gives="fselect" makedepends=("cargo" "rustc") pkgdesc="Find files with SQL-like queries" -url="https://github.com/jhspetersson/fselect.git" +source=("https://github.com/jhspetersson/fselect.git") pkgver="0.8.4" -maintainer="Diego Magdaleno " +maintainer=("Diego Magdaleno ") incompatible=("debian:bullseye") -pkgver() { - git ls-remote "${url}" master | cut -f1 | cut -c1-8 -} build() { + cd "${_archive}" cargo build -j"${NCPU}" --release --locked } package() { - sudo install -Dm755 target/release/fselect -t "${pkgdir}/usr/bin" + cd "${_archive}" + install -Dm755 target/release/fselect -t "${pkgdir}/usr/bin" } diff --git a/packages/galaxybudsclient-bin/galaxybudsclient-bin.pacscript b/packages/galaxybudsclient-bin/galaxybudsclient-bin.pacscript index cb2cf5a380..079a73a05f 100644 --- a/packages/galaxybudsclient-bin/galaxybudsclient-bin.pacscript +++ b/packages/galaxybudsclient-bin/galaxybudsclient-bin.pacscript @@ -1,36 +1,43 @@ -name="galaxybudsclient-bin" +pkgname="galaxybudsclient-bin" gives="galaxybudsclient" pkgver="4.6.0" pkgdesc="Unofficial Galaxy Buds Manager for Windows and Linux" repology=("project: galaxybudsclient") -homepage="https://github.com/ThePBone/GalaxyBudsClient" +url="https://github.com/ThePBone/GalaxyBudsClient" arch=("amd64" "arm64" "armhf") depends=("bluetooth") -maintainer="vigress8 " +maintainer=("vigress8 ") + +source=( + "https://github.com/ThePBone/GalaxyBudsClient/releases/download/${pkgver}/GalaxyBudsClient_Linux-${CARCH/armhf/arm}_portable.zip" + "${gives}.desktop::https://raw.githubusercontent.com/pacstall/pacstall-programs/master/packages/${pkgname}/${gives}.desktop" + "${gives}.png::https://raw.githubusercontent.com/ThePBone/GalaxyBudsClient/master/GalaxyBudsClient/Resources/icon_white.png" +) +sha256sums_amd64=( + "b3c4af4c56b2a023e289a1eb379e939c8cb786376adf971ac011a3060ff7f8db" + "SKIP" + "SKIP" +) +sha256sums_arm64=( + "f467063efd0344798564830e6ce1231380a960af715f6e7b1264d0223aaa7362" + "SKIP" + "SKIP" +) +sha256sums_armhf=( + "e6842fc6392312f8de568eb268aaf38d672f904995ba5c215dc23eddbff28d9f" + "SKIP" + "SKIP" +) -url="https://github.com/ThePBone/GalaxyBudsClient/releases/download/${pkgver}/GalaxyBudsClient_Linux-${CARCH/armhf/arm}_portable.zip" -case "${CARCH}" in - amd64) - hash="b3c4af4c56b2a023e289a1eb379e939c8cb786376adf971ac011a3060ff7f8db" - ;; - arm64) - hash="f467063efd0344798564830e6ce1231380a960af715f6e7b1264d0223aaa7362" - ;; - armhf) - hash="e6842fc6392312f8de568eb268aaf38d672f904995ba5c215dc23eddbff28d9f" - ;; - *) ;; -esac package() { + cd "${_archive}" # Install icon - wget -q -O "${gives}.png" "https://raw.githubusercontent.com/ThePBone/GalaxyBudsClient/master/GalaxyBudsClient/Resources/icon_white.png" - sudo install -Dm644 "${gives}.png" -t "${pkgdir}/usr/share/pixmaps" + install -Dm644 "${srcdir}/${gives}.png" -t "${pkgdir}/usr/share/pixmaps" # Install desktop file - wget -q "https://raw.githubusercontent.com/pacstall/pacstall-programs/master/packages/${name}/${gives}.desktop" - sudo install -Dm644 "${gives}.desktop" -t "${pkgdir}/usr/share/applications" + install -Dm644 "${srcdir}/${gives}.desktop" -t "${pkgdir}/usr/share/applications" # Install binary - sudo install -Dm755 GalaxyBudsClient "${pkgdir}/usr/bin/${gives}" + install -Dm755 GalaxyBudsClient "${pkgdir}/usr/bin/${gives}" } diff --git a/packages/geekbench-bin/geekbench-bin.pacscript b/packages/geekbench-bin/geekbench-bin.pacscript index 2f4253d1e3..2275d24abd 100644 --- a/packages/geekbench-bin/geekbench-bin.pacscript +++ b/packages/geekbench-bin/geekbench-bin.pacscript @@ -1,15 +1,16 @@ -name="geekbench-bin" +pkgname="geekbench-bin" gives="geekbench" pkgver="5.4.5" -url="https://cdn.geekbench.com/Geekbench-${pkgver}-Linux.tar.gz" +source=("https://cdn.geekbench.com/Geekbench-${pkgver}-Linux.tar.gz") pkgdesc="Geekbench is a cross-platform benchmark that measures your system's performance with the press of a button" arch=('amd64') -hash="240f5bbd16fcbb4a86e99b1047da89df2695f678bf324756a3dc51b663e9f762" +sha256sums=("240f5bbd16fcbb4a86e99b1047da89df2695f678bf324756a3dc51b663e9f762") package() { - sudo install -Dm755 "${gives}5" -t "${pkgdir}/opt/${gives}" - sudo install -Dm755 "${gives}_x86_64" -t "${pkgdir}/opt/${gives}" - sudo install -Dm644 "${gives}.plar" -t "${pkgdir}/opt/${gives}/" - sudo mkdir -p "${pkgdir}/usr/bin" - sudo ln -sf "/opt/${gives}/${gives}5" "${pkgdir}/usr/bin/${gives}5" + cd "${_archive}" + install -Dm755 "${gives}5" -t "${pkgdir}/opt/${gives}" + install -Dm755 "${gives}_x86_64" -t "${pkgdir}/opt/${gives}" + install -Dm644 "${gives}.plar" -t "${pkgdir}/opt/${gives}/" + mkdir -p "${pkgdir}/usr/bin" + ln -sf "/opt/${gives}/${gives}5" "${pkgdir}/usr/bin/${gives}5" } diff --git a/packages/genymotion-bin/genymotion-bin.pacscript b/packages/genymotion-bin/genymotion-bin.pacscript index 6b9e5aeefe..4ac383ebaa 100644 --- a/packages/genymotion-bin/genymotion-bin.pacscript +++ b/packages/genymotion-bin/genymotion-bin.pacscript @@ -1,37 +1,39 @@ -name="genymotion-bin" +pkgname="genymotion-bin" gives="genymotion" repology=("project: genymotion") pkgver="3.6.0" -replace=("${gives}") +replaces=("${gives}") breaks=("${gives}" "${gives}-bin" "${gives}-git" "${gives}-app" "${gives}-deb") arch=("amd64") -hash="092d40f6e76de3b6e1827609aaa9021b7cf85da3d51e6cf8d7b553b18d9c70e0" -url="https://dl.genymotion.com/releases/genymotion-${pkgver}/genymotion-${pkgver}-linux_x64.bin" -homepage="https://genymotion.com" +sha256sums=("092d40f6e76de3b6e1827609aaa9021b7cf85da3d51e6cf8d7b553b18d9c70e0") +source=("https://dl.genymotion.com/releases/genymotion-${pkgver}/genymotion-${pkgver}-linux_x64.bin") +url="https://genymotion.com" pkgdesc="Android virtual devices" -maintainer="Arrowsome " +maintainer=("Arrowsome ") _GENYMOTION_FILE="./genymotion-${pkgver}-linux_x64.bin" _GENYMOTION_INSTALLDIR="${pkgdir}/opt/genymotion" prepare() { - sudo rm -rf "/opt/${gives}" - sudo mkdir -p "${_GENYMOTION_INSTALLDIR}" + cd "${_archive}" + rm -rf "/opt/${gives}" + mkdir -p "${_GENYMOTION_INSTALLDIR}" - sudo chmod +x "${_GENYMOTION_FILE}" + chmod +x "${_GENYMOTION_FILE}" } package() { + cd "${_archive}" # Retrieve line number where tar.bzip2 binary begins local skip skip=$(awk "/^__TARFILE_FOLLOWS__/ { print NR + 1; exit 0; }" "${_GENYMOTION_FILE}") # Untar following archive - if ! tail -n +"${skip}" "${_GENYMOTION_FILE}" | sudo tar -xj --no-same-owner -C "${_GENYMOTION_INSTALLDIR}"; then + if ! tail -n +"${skip}" "${_GENYMOTION_FILE}" | tar -xj --no-same-owner -C "${_GENYMOTION_INSTALLDIR}"; then return 1 fi - sudo install -Dm644 "/dev/stdin" "${pkgdir}/usr/share/applications/${gives}.desktop" <<- END + install -Dm644 "/dev/stdin" "${pkgdir}/usr/share/applications/${gives}.desktop" <<- END [Desktop Entry] Type=Application Version=1.0 diff --git a/packages/gfn-electron-bin/gfn-electron-bin.pacscript b/packages/gfn-electron-bin/gfn-electron-bin.pacscript index 1cbca4fcff..19ef953b41 100644 --- a/packages/gfn-electron-bin/gfn-electron-bin.pacscript +++ b/packages/gfn-electron-bin/gfn-electron-bin.pacscript @@ -1,28 +1,33 @@ -name="gfn-electron-bin" -pkgname="geforcenow-electron" +pkgname="gfn-electron-bin" +gives="geforcenow-electron" pkgver="2.0.1" pkgdesc="Linux desktop client for GeForce NOW, using Electron" repology=("project: geforcenow-electron") -url="https://github.com/hmlendea/gfn-electron/releases/download/v${pkgver}/geforcenow-electron_${pkgver}_linux.zip" -hash="43ce97be4029df53b5f8e7d3a8d93c2a6857a69aaf4213be4f4a6dfd0432d75e" -maintainer="Marie Piontek " -gives="${pkgname}" -breaks=("${pkgname}" "${pkgname}-deb" "${pkgname}-app" "${pkgname}-git") +source=( + "https://github.com/hmlendea/gfn-electron/releases/download/v${pkgver}/geforcenow-electron_${pkgver}_linux.zip" + "icon.png::https://raw.githubusercontent.com/hmlendea/geforcenow-electron/master/icon.png" +) +sha256sums=( + "43ce97be4029df53b5f8e7d3a8d93c2a6857a69aaf4213be4f4a6dfd0432d75e" + "SKIP" +) +maintainer=("Marie Piontek ") +breaks=("${gives}" "${gives}-deb" "${gives}-app" "${gives}-git") depends=("libatk-bridge2.0-0" "libatspi2.0-0" "libgtk-3-0" "libnspr4" "libnss3" "libva2" "libva-glx2" "libva-drm2" "libva-wayland2" "libva-x11-2") package() { + cd "${_archive}" # Get icon from github and install it - wget -q "https://raw.githubusercontent.com/hmlendea/geforcenow-electron/master/icon.png" - sudo install -Dm644 icon.png "${pkgdir}/usr/share/pixmaps/nvidia.png" + install -Dm644 "${srcdir}"/icon.png "${pkgdir}/usr/share/pixmaps/nvidia.png" # Install desktop file - sudo install -Dm644 "${SRCDIR}/com.github.hmlendea.${pkgname}.desktop" -t "${pkgdir}/usr/share/applications" + install -Dm644 "${srcdir}/com.github.hmlendea.${gives}.desktop" -t "${pkgdir}/usr/share/applications" # Install the rest of the app - sudo install -d "${pkgdir}/opt/${pkgname}/" "${pkgdir}/usr/bin" + install -d "${pkgdir}/opt/${gives}/" "${pkgdir}/usr/bin" - sudo cp -r "${SRCDIR}"/* "${pkgdir}"/opt/"${pkgname}"/ - sudo chmod +x "${pkgdir}/opt/${pkgname}/geforcenow-electron" - sudo mkdir -p "${pkgdir}/usr/bin" - sudo ln -sf "/opt/${pkgname}/geforcenow-electron" "${pkgdir}/usr/bin/geforcenow" + cp -r "${srcdir}"/* "${pkgdir}"/opt/"${gives}"/ + chmod +x "${pkgdir}/opt/${gives}/geforcenow-electron" + mkdir -p "${pkgdir}/usr/bin" + ln -sf "/opt/${gives}/geforcenow-electron" "${pkgdir}/usr/bin/geforcenow" } diff --git a/packages/ghcup-bin/ghcup-bin.pacscript b/packages/ghcup-bin/ghcup-bin.pacscript index 3c2c894c77..ccc6dbe047 100644 --- a/packages/ghcup-bin/ghcup-bin.pacscript +++ b/packages/ghcup-bin/ghcup-bin.pacscript @@ -1,36 +1,27 @@ -name="ghcup-bin" +pkgname="ghcup-bin" gives="ghcup" pkgver="0.1.22.0" pkgdesc="Installer for Haskell, a general-purpose programming language" arch=('amd64' 'arm64' 'arm' 'i386') homepage='https://www.haskell.org/ghcup/' breaks=("${gives}-git") -maintainer="vigress8 " +maintainer=("vigress8 ") repology=("project: ${gives}") _baseurl="https://downloads.haskell.org/~${gives}/${pkgver}" -case "${CARCH}" in - amd64) - url="${_baseurl}/x86_64-linux-${gives}-${pkgver}" - hash='bf213f4dfd2271b46ca52e2f14e96850ce32e9115e5acc90f1dc5a4e815e32af' - ;; - arm64) - url="${_baseurl}/aarch64-linux-${gives}-${pkgver}" - hash='3eda556959462579b73558616646c9fc01a583acc7a4611bb21a32706deae142' - ;; - armhf) - url="${_baseurl}/armv7-linux-${gives}-${pkgver}" - hash='7c66253e52c5fb627a4d4b203a69e69f4d7732348ad6a830a41d7e2d79a61c5d' - ;; - i386) - url="${_baseurl}/i386-linux-${gives}-${pkgver}" - hash='1fd4fa989653a127d33f90cb4cc11fd024ea4085e795c0b0f6ed97afc5e8b634' - ;; - *) ;; -esac +source_amd64=("${_baseurl}/x86_64-linux-${gives}-${pkgver}") +sha256sums_amd64=("bf213f4dfd2271b46ca52e2f14e96850ce32e9115e5acc90f1dc5a4e815e32af") +source_arm64=("${_baseurl}/aarch64-linux-${gives}-${pkgver}") +sha256sums_arm64=("3eda556959462579b73558616646c9fc01a583acc7a4611bb21a32706deae142") +source_armhf=("${_baseurl}/armv7-linux-${gives}-${pkgver}") +sha256sums_armhf=("7c66253e52c5fb627a4d4b203a69e69f4d7732348ad6a830a41d7e2d79a61c5d") +source_i386=("${_baseurl}/i386-linux-${gives}-${pkgver}") +sha256sums_i386=("1fd4fa989653a127d33f90cb4cc11fd024ea4085e795c0b0f6ed97afc5e8b634") + package() { - sudo install -Dm755 "${url/${_baseurl}\//}" "${pkgdir}/usr/bin/ghcup" + cd "${_archive}" + install -Dm755 "${source[0]/${_baseurl}\//}" "${pkgdir}/usr/bin/ghcup" _install_completion bash bash-completion/completions/ghcup _install_completion zsh zsh/site-functions/_ghcup _install_completion fish fish/vendor_completions.d/ghcup.fish diff --git a/packages/gir1.2-xapp-1.0-deb/gir1.2-xapp-1.0-deb.pacscript b/packages/gir1.2-xapp-1.0-deb/gir1.2-xapp-1.0-deb.pacscript index 1d6e966ec6..56db3d2bdc 100644 --- a/packages/gir1.2-xapp-1.0-deb/gir1.2-xapp-1.0-deb.pacscript +++ b/packages/gir1.2-xapp-1.0-deb/gir1.2-xapp-1.0-deb.pacscript @@ -1,10 +1,10 @@ -name="gir1.2-xapp-1.0-deb" +pkgname="gir1.2-xapp-1.0-deb" gives="gir1.2-xapp-1.0" pkgver="2.8.2" repology=("project: xapps") pacdeps=("libxapp1-deb") -url="http://packages.linuxmint.com/pool/backport/x/xapp/gir1.2-xapp-1.0_${pkgver}+virginia_amd64.deb" -hash="634a2773352f796729d4128e211b20eb41526ae57bb999660fc25c895e26e7b6" +source=("http://packages.linuxmint.com/pool/backport/x/xapp/gir1.2-xapp-1.0_${pkgver}+virginia_amd64.deb") +sha256sums=("634a2773352f796729d4128e211b20eb41526ae57bb999660fc25c895e26e7b6") arch=('amd64') pkgdesc="Components which are common to multiple desktop environments and required to implement cross-DE solutions" -maintainer="Zahrun " +maintainer=("Zahrun ") diff --git a/packages/git-butler-deb/git-butler-deb.pacscript b/packages/git-butler-deb/git-butler-deb.pacscript index 723a3a9c0c..5fb2790156 100644 --- a/packages/git-butler-deb/git-butler-deb.pacscript +++ b/packages/git-butler-deb/git-butler-deb.pacscript @@ -1,14 +1,14 @@ -name="git-butler-deb" +pkgname="git-butler-deb" gives="git-butler" # there is no repology property, since the package is not even in repology (with the exception of an AUR package, with a name that doesnt match the official deb file arch=('amd64') pkgver="0.10.22-703" homepage='https://gitbutler.com/' -url="https://releases.gitbutler.com/releases/release/${pkgver}/linux/x86_64/git-butler_${pkgver%-*}_amd64.deb" +source=("https://releases.gitbutler.com/releases/release/${pkgver}/linux/x86_64/git-butler_${pkgver%-*}_amd64.deb") depends=("libayatana-appindicator3-1" "libwebkit2gtk-4.0-37" "libgtk-3-0") breaks=("git-butler-git" "git-butler-bin") -replace=("git-butler") +replaces=("git-butler") pkgdesc="Git Branching, Refined A Git client for simultaneous branches on top of your existing workflow." -hash="fb1e068b6b6fa8f191d5c48d2662c8b24b8c9f990a1b85d928721da2a48e5cfd" -maintainer="Nezred " +sha256sums=("fb1e068b6b6fa8f191d5c48d2662c8b24b8c9f990a1b85d928721da2a48e5cfd") +maintainer=("Nezred ") diff --git a/packages/git-credential-manager-core-deb/git-credential-manager-core-deb.pacscript b/packages/git-credential-manager-core-deb/git-credential-manager-core-deb.pacscript index e8be6fc6d6..1c2b2b69d7 100644 --- a/packages/git-credential-manager-core-deb/git-credential-manager-core-deb.pacscript +++ b/packages/git-credential-manager-core-deb/git-credential-manager-core-deb.pacscript @@ -1,11 +1,10 @@ -name="git-credential-manager-core-deb" -pkgname="git-credential-manager-core" -gives="gcm" -repology=("project: ${pkgname}") +pkgname="git-credential-manager-core-deb" +gives="git-credential-manager-core" +repology=("project: ${gives}") pkgver="2.4.1" depends=("git") -url="https://github.com/GitCredentialManager/git-credential-manager/releases/download/v${pkgver}/${gives}-linux_amd64.${pkgver}.deb" +source=("https://github.com/GitCredentialManager/git-credential-manager/releases/download/v${pkgver}/${gives}-linux_amd64.${pkgver}.deb") pkgdesc="Secure, cross-platform Git credential storage with authentication to GitHub, Azure Repos, and other popular Git hosting services" -hash="d65a166f6fc3d6638b356b84b4e1274a95352455f448b06a34926bf6568cd995" +sha256sums=("d65a166f6fc3d6638b356b84b4e1274a95352455f448b06a34926bf6568cd995") arch=('amd64') -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") diff --git a/packages/git-delta-deb/git-delta-deb.pacscript b/packages/git-delta-deb/git-delta-deb.pacscript index 6b1dfeaaba..b93d9baad1 100644 --- a/packages/git-delta-deb/git-delta-deb.pacscript +++ b/packages/git-delta-deb/git-delta-deb.pacscript @@ -1,12 +1,11 @@ # https://github.com/dandavison/delta # delta's deb package name conflicts with ubuntu's delta package. So deb package name is git-delta. -name="git-delta-deb" +pkgname="git-delta-deb" pkgver="0.17.0" -pkgname="git-delta" gives="git-delta" -url="https://github.com/dandavison/delta/releases/download/${pkgver}/git-delta_${pkgver}_amd64.deb" +source=("https://github.com/dandavison/delta/releases/download/${pkgver}/git-delta_${pkgver}_amd64.deb") pkgdesc="A viewer for git and diff output" -hash="e11c201107edc86212a8bfdf5ca51a7b5bd497008f1f57c4319a2746991ff7db" +sha256sums=("e11c201107edc86212a8bfdf5ca51a7b5bd497008f1f57c4319a2746991ff7db") arch=('amd64') incompatible=('debian:bullseye') repology=("project: git-delta") diff --git a/packages/git-extras-git/git-extras-git.pacscript b/packages/git-extras-git/git-extras-git.pacscript index a7cadd8986..71916b8104 100644 --- a/packages/git-extras-git/git-extras-git.pacscript +++ b/packages/git-extras-git/git-extras-git.pacscript @@ -1,17 +1,14 @@ -name="git-extras-git" -pkgname="git-extras" -breaks=("${pkgname}-bin") -replace=("${pkgname}") -gives="${pkgname}" +pkgname="git-extras-git" +gives="git-extras" +breaks=("${gives}-bin") +replaces=("${gives}") pkgdesc="GIT utilities -- repo summary, repl, changelog population, author commit percentages and more" -url="https://github.com/tj/git-extras.git" +source=("https://github.com/tj/git-extras.git") pkgver="7.0.0" depends=("git" "bsdmainutils") -maintainer="Elsie19 " -pkgver() { - git ls-remote "${url}" master | cut -f1 | cut -c1-8 -} +maintainer=("Elsie19 ") package() { - sudo make DESTDIR="${pkgdir}" PREFIX=/usr SYSCONFDIR=/etc install + cd "${_archive}" + make DESTDIR="${pkgdir}" PREFIX=/usr SYSCONFDIR=/etc install } diff --git a/packages/git/git.pacscript b/packages/git/git.pacscript index b346567433..f8c48e9cf0 100644 --- a/packages/git/git.pacscript +++ b/packages/git/git.pacscript @@ -1,23 +1,26 @@ -name="git" -replace=("${name}") +pkgname="git" +replaces=("${pkgname}") repology=("project: git") -breaks=("${name}-${name}") +breaks=("${pkgname}-${pkgname}") pkgver="2.43.0" -url="https://www.kernel.org/pub/software/scm/${name}/${name}-${pkgver}.tar.gz" +source=("https://www.kernel.org/pub/software/scm/${pkgname}/${pkgname}-${pkgver}.tar.gz") makedepends=("dh-autoreconf" "cmake" "gcc" "libcurl4-gnutls-dev" "libexpat1-dev" "gettext" "libz-dev" "libssl-dev" "asciidoc" "xmlto" "docbook2x" "install-info" "zlib1g-dev" "zlib1g") pkgdesc="git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals" -hash="ed238f5c72a014f238cc49fe7df4c6883732a3881111b381c105e2c5be77302f" -maintainer="Oren Klopfer " +sha256sums=("ed238f5c72a014f238cc49fe7df4c6883732a3881111b381c105e2c5be77302f") +maintainer=("Oren Klopfer ") prepare() { + cd "${_archive}" make configure } build() { + cd "${_archive}" ./configure make -j"${NCPU}" } package() { - sudo make install DESTDIR="${pkgdir}" + cd "${_archive}" + make install DESTDIR="${pkgdir}" } diff --git a/packages/gitblade-deb/gitblade-deb.pacscript b/packages/gitblade-deb/gitblade-deb.pacscript index d7b600afaf..7f08aa8875 100644 --- a/packages/gitblade-deb/gitblade-deb.pacscript +++ b/packages/gitblade-deb/gitblade-deb.pacscript @@ -1,7 +1,7 @@ -name="gitblade-deb" +pkgname="gitblade-deb" gives="gitblade" pkgver="1.0.6" -url="https://${gives}.com/ppa/${gives}_${pkgver}_amd64.deb" +source=("https://${gives}.com/ppa/${gives}_${pkgver}_amd64.deb") pkgdesc="Simple and elegant Git GUI client." -hash="06099839154579c28dd1a28dd631d23eff9b6a3a59c3d9b14ff04878956b4e2c" +sha256sums=("06099839154579c28dd1a28dd631d23eff9b6a3a59c3d9b14ff04878956b4e2c") arch=('amd64') diff --git a/packages/gitfiend-deb/gitfiend-deb.pacscript b/packages/gitfiend-deb/gitfiend-deb.pacscript index aa0117337a..24e3388028 100644 --- a/packages/gitfiend-deb/gitfiend-deb.pacscript +++ b/packages/gitfiend-deb/gitfiend-deb.pacscript @@ -1,10 +1,10 @@ -name="gitfiend-deb" +pkgname="gitfiend-deb" gives="gitfiend" breaks=("${gives}-app") -replace=("${gives}") +replaces=("${gives}") repology=("project: ${gives}") pkgver="0.42.1" -url="https://${gives}.com/resources/GitFiend_${pkgver}_amd64.deb" +source=("https://${gives}.com/resources/GitFiend_${pkgver}_amd64.deb") pkgdesc="A Git client designed for humans" -hash="6d93f6ebc5c7764c423e66af215c12ffcdc84d1aebf61b106605c0d7fb4f611c" +sha256sums=("6d93f6ebc5c7764c423e66af215c12ffcdc84d1aebf61b106605c0d7fb4f611c") arch=('amd64') diff --git a/packages/github-cli-bin/github-cli-bin.pacscript b/packages/github-cli-bin/github-cli-bin.pacscript index d499a3c721..920046e7fe 100644 --- a/packages/github-cli-bin/github-cli-bin.pacscript +++ b/packages/github-cli-bin/github-cli-bin.pacscript @@ -1,23 +1,23 @@ -name="github-cli-bin" -pkgname="github-cli" -gives="gh" +pkgname="github-cli-bin" +gives="github-cli" breaks=("${gives}-git" "${gives}-deb") -replace=("${gives}") -repology=("project: ${pkgname}") +replaces=("${gives}") +repology=("project: ${gives}") pkgver="2.42.1" -url="https://github.com/cli/cli/releases/download/v${pkgver}/${gives}_${pkgver}_linux_amd64.tar.gz" +source=("https://github.com/cli/cli/releases/download/v${pkgver}/${gives}_${pkgver}_linux_amd64.tar.gz") pkgdesc="GitHub's official command line tool - Binary version" -hash="c82c865545549131f284bf4df73c03c63971a87286fce5ab5d11c9dc0cee2cbb" +sha256sums=("c82c865545549131f284bf4df73c03c63971a87286fce5ab5d11c9dc0cee2cbb") arch=('amd64') -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") package() { + cd "${_archive}" # Binary - sudo mkdir -p "${pkgdir}/usr/bin" - sudo mv "./bin/gh" "${pkgdir}/usr/bin" + mkdir -p "${pkgdir}/usr/bin" + mv "./bin/gh" "${pkgdir}/usr/bin" # Man - sudo mkdir -p "${pkgdir}/usr/share/man/man1" - sudo mv "./share/man/man1" "${pkgdir}/usr/share/man" + mkdir -p "${pkgdir}/usr/share/man/man1" + mv "./share/man/man1" "${pkgdir}/usr/share/man" } # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/github-cli-deb/github-cli-deb.pacscript b/packages/github-cli-deb/github-cli-deb.pacscript index 6849047f21..cdf4c6a043 100644 --- a/packages/github-cli-deb/github-cli-deb.pacscript +++ b/packages/github-cli-deb/github-cli-deb.pacscript @@ -1,15 +1,12 @@ -name="github-cli-deb" +pkgname="github-cli-deb" gives="gh" breaks=("${gives}-bin" "${gives}-git") -replace=("${gives}") +replaces=("${gives}") pkgver="2.42.1" arch=('arm64' 'amd64') -if [[ ${CARCH} == arm64 ]]; then - hash="6eb3eac5eeb4467d74d917bea96a50a40cc6c3ac70b853f537c9843c3a551623" -else - hash="2b053228c8fd7902054cddd44015a77446c014652d5257a2150c694843c7fa36" -fi -url="https://github.com/cli/cli/releases/download/v${pkgver}/${gives}_${pkgver}_linux_${CARCH}.deb" +sha256sums_arm64=("6eb3eac5eeb4467d74d917bea96a50a40cc6c3ac70b853f537c9843c3a551623") +sha256sums_amd64=("2b053228c8fd7902054cddd44015a77446c014652d5257a2150c694843c7fa36") +source=("https://github.com/cli/cli/releases/download/v${pkgver}/${gives}_${pkgver}_linux_${CARCH}.deb") pkgdesc="GitHub's official command line tool" repology=("project: github-cli") -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") diff --git a/packages/github-desktop-deb/github-desktop-deb.pacscript b/packages/github-desktop-deb/github-desktop-deb.pacscript index 0bcbfd2b21..cb71544c8d 100644 --- a/packages/github-desktop-deb/github-desktop-deb.pacscript +++ b/packages/github-desktop-deb/github-desktop-deb.pacscript @@ -1,22 +1,12 @@ -name="github-desktop-deb" -pkgname="github-desktop" +pkgname="github-desktop-deb" gives="github-desktop" pkgver="3.3.10" arch=("amd64" "arm64" "armhf") -url="https://github.com/shiftkey/desktop/releases/download/release-${pkgver}-linux1/GitHubDesktop-linux-${CARCH}-${pkgver}-linux1.deb" +source=("https://github.com/shiftkey/desktop/releases/download/release-${pkgver}-linux1/GitHubDesktop-linux-${CARCH}-${pkgver}-linux1.deb") homepage='https://desktop.github.com' repology=("project: github-desktop" "visiblename: github-desktop" "repo: aur") pkgdesc="Fork of GitHub Desktop to support various Linux distributions" -maintainer="Elsie19 " -case "${CARCH}" in - amd64) - hash="cf3abaa7f0c0426812c38280518aadad02a420f92c2f39144231b3c0edba5a04" - ;; - arm64) - hash="aec957d95ec694113a650395a7e71f37d469192c3364358fe5b9b6fe44ed853a" - ;; - armhf) - hash="fd1340f570d06cdb6ef7652a49fc475ced8bbe2511af7f97359c2a7ebba2491f" - ;; - *) ;; -esac +maintainer=("Elsie19 ") +sha256sums_amd64=("cf3abaa7f0c0426812c38280518aadad02a420f92c2f39144231b3c0edba5a04") +sha256sums_arm64=("aec957d95ec694113a650395a7e71f37d469192c3364358fe5b9b6fe44ed853a") +sha256sums_armhf=("fd1340f570d06cdb6ef7652a49fc475ced8bbe2511af7f97359c2a7ebba2491f") diff --git a/packages/gitkraken-deb/gitkraken-deb.pacscript b/packages/gitkraken-deb/gitkraken-deb.pacscript index 27a4078208..ff30c06c9b 100644 --- a/packages/gitkraken-deb/gitkraken-deb.pacscript +++ b/packages/gitkraken-deb/gitkraken-deb.pacscript @@ -1,10 +1,10 @@ -name="gitkraken-deb" +pkgname="gitkraken-deb" gives="gitkraken" repology=("project: ${gives}") -replace=("${gives}") +replaces=("${gives}") breaks=("${gives}-bin") pkgver="9.13.0" -url="https://release.axocdn.com/linux/GitKraken-v${pkgver}.deb" +source=("https://release.axocdn.com/linux/GitKraken-v${pkgver}.deb") pkgdesc="Legendary Git GUI client for Windows, Mac & Linux" -hash="19aea9ebd8637e327e69d58d3d0f5da26db90d13ac5af0768bc8479d85f53948" -maintainer="Oren Klopfer " +sha256sums=("19aea9ebd8637e327e69d58d3d0f5da26db90d13ac5af0768bc8479d85f53948") +maintainer=("Oren Klopfer ") diff --git a/packages/gldriver-test-deb/gldriver-test-deb.pacscript b/packages/gldriver-test-deb/gldriver-test-deb.pacscript index 3bbb913bbe..1dce6836b2 100644 --- a/packages/gldriver-test-deb/gldriver-test-deb.pacscript +++ b/packages/gldriver-test-deb/gldriver-test-deb.pacscript @@ -1,9 +1,9 @@ -name="gldriver-test-deb" +pkgname="gldriver-test-deb" gives="gldriver-test" pacdeps=("raspi-config-deb") pkgver="0.15" -url="https://archive.raspberrypi.org/debian/pool/main/g/${gives}/${gives}_${pkgver}_all.deb" +source=("https://archive.raspberrypi.org/debian/pool/main/g/${gives}/${gives}_${pkgver}_all.deb") pkgdesc="Various graphics-related config services for Raspberry Pi" -hash="b0e0ea2e8ebde87f481639dfa016df6ea4335d97710cd10c8b14ab5a379aaa93" -maintainer="Oren Klopfer " +sha256sums=("b0e0ea2e8ebde87f481639dfa016df6ea4335d97710cd10c8b14ab5a379aaa93") +maintainer=("Oren Klopfer ") arch=("any") diff --git a/packages/glow-deb/glow-deb.pacscript b/packages/glow-deb/glow-deb.pacscript index 84bcdf8651..1a42d1b428 100644 --- a/packages/glow-deb/glow-deb.pacscript +++ b/packages/glow-deb/glow-deb.pacscript @@ -1,19 +1,13 @@ -name="glow-deb" +pkgname="glow-deb" gives="glow" -replace=("${gives}") +replaces=("${gives}") pkgver="1.5.1" arch=("amd64" "arm64") -case "${CARCH}" in - amd64) - url="https://github.com/charmbracelet/glow/releases/download/v${pkgver}/glow_${pkgver}_amd64.deb" - hash="99e904f9a599f8a007817d49814b2440ff4d95bb5fb9b26763cfc5bf58c579e2" - ;; - arm64) - url="https://github.com/charmbracelet/glow/releases/download/v${pkgver}/glow_${pkgver}_arm64.deb" - hash="edb4cb7b4f9a531e85be0060109ca7c053d0d02761cc145482f72604f874fed9" - ;; - *) return 1 ;; -esac +source_amd64=("https://github.com/charmbracelet/glow/releases/download/v${pkgver}/glow_${pkgver}_amd64.deb") +sha256sums_amd64=("99e904f9a599f8a007817d49814b2440ff4d95bb5fb9b26763cfc5bf58c579e2") +source_arm64=("https://github.com/charmbracelet/glow/releases/download/v${pkgver}/glow_${pkgver}_arm64.deb") +sha256sums_arm64=("edb4cb7b4f9a531e85be0060109ca7c053d0d02761cc145482f72604f874fed9") + pkgdesc="Render markdown on the CLI, with pizzazz!" repology=("project: glow") # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/gnome-shell-extension-installer-git/gnome-shell-extension-installer-git.pacscript b/packages/gnome-shell-extension-installer-git/gnome-shell-extension-installer-git.pacscript index 7cc0147c9a..4b707cdccb 100644 --- a/packages/gnome-shell-extension-installer-git/gnome-shell-extension-installer-git.pacscript +++ b/packages/gnome-shell-extension-installer-git/gnome-shell-extension-installer-git.pacscript @@ -1,18 +1,16 @@ -name="gnome-shell-extension-installer-git" +pkgname="gnome-shell-extension-installer-git" gives="gnome-shell-extension-installer" pkgver="1.7" pkgdesc="A bash script to install and search extensions from extensions.gnome.org" -url="https://github.com/brunelli/gnome-shell-extension-installer.git" -maintainer="D-Brox " +source=("https://github.com/brunelli/gnome-shell-extension-installer.git") +maintainer=("D-Brox ") depends=("curl" "perl" "dbus") -pkgver() { - git ls-remote "${url}" master | cut -f1 | cut -c1-8 -} package() { - sudo install -Dm755 "${gives}" -t "${pkgdir}/usr/bin" - sudo install -Dm644 "LICENSE" -t "${pkgdir}/usr/share/licenses/${gives}" - sudo install -Dm644 "README.md" -t "${pkgdir}/usr/share/doc/${gives}" + cd "${_archive}" + install -Dm755 "${gives}" -t "${pkgdir}/usr/bin" + install -Dm644 "LICENSE" -t "${pkgdir}/usr/share/licenses/${gives}" + install -Dm644 "README.md" -t "${pkgdir}/usr/share/doc/${gives}" } post_remove() { diff --git a/packages/gnome-tweaks/gnome-tweaks.pacscript b/packages/gnome-tweaks/gnome-tweaks.pacscript index c9059c98d5..5aaa3878c5 100644 --- a/packages/gnome-tweaks/gnome-tweaks.pacscript +++ b/packages/gnome-tweaks/gnome-tweaks.pacscript @@ -1,24 +1,26 @@ -name="gnome-tweaks" pkgname="gnome-tweaks" +gives="gnome-tweaks" pkgver="40.10" license="GPL-3.0" -url="https://github.com/GNOME/gnome-tweaks/archive/refs/tags/${pkgver}.zip" +source=("https://github.com/GNOME/gnome-tweaks/archive/refs/tags/${pkgver}.zip") makedepends=("meson" "python3-distutils") depends=("gettext" "gsettings-desktop-schemas" "python3" "gnome-settings-daemon" "gnome-shell-common" "mutter-common" "python3-gi" "gir1.2-gtk-3.0" "gir1.2-gnomedesktop-3.0" "libhandy-1-0" "gir1.2-soup-2.4" "gir1.2-notify-0.7" "gir1.2-glib-2.0" "gir1.2-pango-1.0" "gnome-shell-extension-prefs") -gives="gnome-tweaks" breaks=("${gives}" "${gives}-bin" "${gives}-git") pkgdesc="Graphical interface for advanced GNOME 3 settings" -hash="59d9597840335b0d71afd287bec09260e172ff89e14d6d12c3416f23557974ee" +sha256sums=("59d9597840335b0d71afd287bec09260e172ff89e14d6d12c3416f23557974ee") repology=("project: gnome-tweaks") prepare() { + cd "${_archive}" meson builddir } build() { + cd "${_archive}" ninja -C builddir } package() { - sudo DESTDIR="${pkgdir}" ninja -C builddir install -j"${NCPU}" + cd "${_archive}" + DESTDIR="${pkgdir}" ninja -C builddir install -j"${NCPU}" } diff --git a/packages/go-bin/go-bin.pacscript b/packages/go-bin/go-bin.pacscript index 61cc2ca4d5..0e53abf3f9 100644 --- a/packages/go-bin/go-bin.pacscript +++ b/packages/go-bin/go-bin.pacscript @@ -1,29 +1,29 @@ -maintainer="Paul Cosma (saenai) " +maintainer=("Paul Cosma (saenai) ") -name="go-bin" -pkgname="go" +pkgname="go-bin" +gives="go" pkgver="1.21.6" pkgdesc="Go is an open source programming language that makes it easy to build simple, reliable, and efficient software." -url="https://go.dev/dl/go${pkgver}.linux-amd64.tar.gz" -breaks=("${pkgname}" "${pkgname}-git" "${pkgname}-app" "${pkgname}-deb" "golang" "golang-git" "golang-deb" "golang-bin" "golang-app" "golang-go") -gives="golang-go" -replace=("golang-go") -hash="3f934f40ac360b9c01f616a9aa1796d227d8b0328bf64cb045c7b8c4ee9caea4" +source=("https://go.dev/dl/go${pkgver}.linux-amd64.tar.gz") +breaks=("${gives}" "${gives}-git" "${gives}-app" "${gives}-deb" "golang" "golang-git" "golang-deb" "golang-bin" "golang-app" "golang-go") +replaces=("golang-go") +sha256sums=("3f934f40ac360b9c01f616a9aa1796d227d8b0328bf64cb045c7b8c4ee9caea4") arch=('amd64') repology=("project: go") -__goroot_pkgdir="${pkgdir}/usr/local/${name}" -__goroot="/usr/local/${name}" +__goroot_pkgdir="${pkgdir}/usr/local/${pkgname}" +__goroot="/usr/local/${pkgname}" __shell_rcs=("${homedir}/.bashrc" "${homedir}/.zshrc" "${homedir}/.profile") package() { + cd "${_archive}" # Install binary - sudo install -Dm755 "bin/go" "${pkgdir}/usr/bin/go" - sudo install -Dm755 "bin/gofmt" "${pkgdir}/usr/bin/gofmt" + install -Dm755 "bin/go" "${pkgdir}/usr/bin/go" + install -Dm755 "bin/gofmt" "${pkgdir}/usr/bin/gofmt" - sudo mkdir -p "${__goroot_pkgdir}" - sudo cp -r "." "${__goroot_pkgdir}" - sudo chmod -R 755 "${__goroot_pkgdir}" + mkdir -p "${__goroot_pkgdir}" + cp -r "." "${__goroot_pkgdir}" + chmod -R 755 "${__goroot_pkgdir}" } __goroot_is_set() { diff --git a/packages/go-task-deb/go-task-deb.pacscript b/packages/go-task-deb/go-task-deb.pacscript index ced9ab705e..b633a9a908 100644 --- a/packages/go-task-deb/go-task-deb.pacscript +++ b/packages/go-task-deb/go-task-deb.pacscript @@ -1,18 +1,11 @@ -name="go-task-deb" +pkgname="go-task-deb" gives="task" pkgdesc="A task runner / simpler Make alternative written in Go" -maintainer="lfromanini " +maintainer=("lfromanini ") repology=("project: ${gives}") arch=("amd64" "arm64") pkgver="3.36.0" -case "${CARCH}" in - amd64) - url="https://github.com/go-task/task/releases/download/v${pkgver}/task_linux_amd64.deb" - hash="8d60fc4127347b48487d7da99ffe825dd9d2d1740dcad2a9d283d30d26925753" - ;; - arm64) - url="https://github.com/go-task/task/releases/download/v${pkgver}/task_linux_arm64.deb" - hash="d14fef178fa0afd02588154e179beef3972fe6d008f8bbfb86389671e63d6554" - ;; - *) return 1 ;; -esac +source_amd64=("https://github.com/go-task/task/releases/download/v${pkgver}/task_linux_amd64.deb") +sha256sums_amd64=("8d60fc4127347b48487d7da99ffe825dd9d2d1740dcad2a9d283d30d26925753") +source_arm64=("https://github.com/go-task/task/releases/download/v${pkgver}/task_linux_arm64.deb") +sha256sums_arm64=("d14fef178fa0afd02588154e179beef3972fe6d008f8bbfb86389671e63d6554") diff --git a/packages/gomuks-deb/gomuks-deb.pacscript b/packages/gomuks-deb/gomuks-deb.pacscript index b28164e0ab..83403f4d21 100644 --- a/packages/gomuks-deb/gomuks-deb.pacscript +++ b/packages/gomuks-deb/gomuks-deb.pacscript @@ -1,11 +1,11 @@ -name="gomuks-deb" +pkgname="gomuks-deb" gives="gomuks" repology=("project: ${gives}") breaks=("${gives}-git" "${gives}-bin" "${gives}-app") -replace=("${gives}") +replaces=("${gives}") pkgver="0.3.0" -url="https://github.com/tulir/${gives}/releases/download/v${pkgver}/${gives}_${pkgver}-1_amd64.deb" +source=("https://github.com/tulir/${gives}/releases/download/v${pkgver}/${gives}_${pkgver}-1_amd64.deb") pkgdesc="A terminal based Matrix client written in Go" -hash="c02fa1446744efc4b57ad4c4bad640e7c0f969ff78a3e594be92f30cfd115a66" +sha256sums=("c02fa1446744efc4b57ad4c4bad640e7c0f969ff78a3e594be92f30cfd115a66") arch=('amd64') -maintainer="WRM-42 " +maintainer=("WRM-42 ") diff --git a/packages/google-chrome-beta-deb/google-chrome-beta-deb.pacscript b/packages/google-chrome-beta-deb/google-chrome-beta-deb.pacscript index b3c487b55e..ee10332a77 100644 --- a/packages/google-chrome-beta-deb/google-chrome-beta-deb.pacscript +++ b/packages/google-chrome-beta-deb/google-chrome-beta-deb.pacscript @@ -1,10 +1,10 @@ -name="google-chrome-beta-deb" +pkgname="google-chrome-beta-deb" gives="google-chrome-beta" repology=("project: google-chrome" "visiblename: ${gives}") -replace=("${gives}") +replaces=("${gives}") pkgver="121.0.6167.85" -url="https://dl.google.com/linux/chrome/deb/pool/main/g/${gives}/${gives}_${pkgver}-1_amd64.deb" +source=("https://dl.google.com/linux/chrome/deb/pool/main/g/${gives}/${gives}_${pkgver}-1_amd64.deb") pkgdesc="The web browser built by Google - Beta channel" -hash="ee3d598e20a6bcfa511db82cf8ad388e17b244440d3361e3201383aeef4ead0e" +sha256sums=("ee3d598e20a6bcfa511db82cf8ad388e17b244440d3361e3201383aeef4ead0e") arch=('amd64') -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") diff --git a/packages/google-chrome-deb/google-chrome-deb.pacscript b/packages/google-chrome-deb/google-chrome-deb.pacscript index 75786505b0..169934ef7b 100644 --- a/packages/google-chrome-deb/google-chrome-deb.pacscript +++ b/packages/google-chrome-deb/google-chrome-deb.pacscript @@ -1,10 +1,10 @@ -name="google-chrome-deb" +pkgname="google-chrome-deb" gives="google-chrome-stable" repology=("project: google-chrome" "repo: aur") -replace=("${gives}") +replaces=("${gives}") pkgver="120.0.6099.199" -url="https://dl.google.com/linux/chrome/deb/pool/main/g/${gives}/${gives}_${pkgver}-1_amd64.deb" +source=("https://dl.google.com/linux/chrome/deb/pool/main/g/${gives}/${gives}_${pkgver}-1_amd64.deb") pkgdesc="The popular and trusted web browser by Google" -hash="e0158b9f4fa060d586e03b2895b63a5a54ef5d697bb59219ae7a9796b1941a34" +sha256sums=("e0158b9f4fa060d586e03b2895b63a5a54ef5d697bb59219ae7a9796b1941a34") arch=('amd64') -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") diff --git a/packages/google-chrome-unstable-deb/google-chrome-unstable-deb.pacscript b/packages/google-chrome-unstable-deb/google-chrome-unstable-deb.pacscript index 9098aca73e..0e546e490b 100644 --- a/packages/google-chrome-unstable-deb/google-chrome-unstable-deb.pacscript +++ b/packages/google-chrome-unstable-deb/google-chrome-unstable-deb.pacscript @@ -1,9 +1,9 @@ -name="google-chrome-unstable-deb" +pkgname="google-chrome-unstable-deb" gives="google-chrome-unstable" pkgver="122.0.6253.3" -url="https://dl.google.com/linux/chrome/deb/pool/main/g/${gives}/${gives}_${pkgver}-1_amd64.deb" +source=("https://dl.google.com/linux/chrome/deb/pool/main/g/${gives}/${gives}_${pkgver}-1_amd64.deb") pkgdesc="The web browser built by Google - Developer/Unstable channel" -hash="3fa6086320a475e7815bafd4088e4173a15a2526f26770d4b77763d89e9b2054" +sha256sums=("3fa6086320a475e7815bafd4088e4173a15a2526f26770d4b77763d89e9b2054") arch=('amd64') repology=("project: google-chrome" "visiblename: google-chrome-dev") -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") diff --git a/packages/google-earth-pro-stable-deb/google-earth-pro-stable-deb.pacscript b/packages/google-earth-pro-stable-deb/google-earth-pro-stable-deb.pacscript index 77d9bcd200..db333698ac 100644 --- a/packages/google-earth-pro-stable-deb/google-earth-pro-stable-deb.pacscript +++ b/packages/google-earth-pro-stable-deb/google-earth-pro-stable-deb.pacscript @@ -1,10 +1,9 @@ -name="google-earth-pro-stable-deb" -pkgname="google-earth-pro-stable" +pkgname="google-earth-pro-stable-deb" +gives="google-earth-pro-stable" pkgver="7.3.6.9345" repology=("project: google-earth-pro") -url="https://dl.google.com/dl/earth/client/current/google-earth-pro-stable_current_amd64.deb" -breaks=("${pkgname}" "${pkgname}-git" "${pkgname}-bin" "${pkgname}-app" "${pkgname}-deb") -gives="${pkgname}" +source=("https://dl.google.com/dl/earth/client/current/google-earth-pro-stable_current_amd64.deb") +breaks=("${gives}" "${gives}-git" "${gives}-bin" "${gives}-app" "${gives}-deb") pkgdesc="Renders a 3D representation of Earth based primarily on satellite imagery" -hash="88e8b1a8e09f08c8daac8e21d803d19203a725e1ff8437a65dc8fba753a12c3e" +sha256sums=("88e8b1a8e09f08c8daac8e21d803d19203a725e1ff8437a65dc8fba753a12c3e") arch=('amd64') diff --git a/packages/goverlay-bin/goverlay-bin.pacscript b/packages/goverlay-bin/goverlay-bin.pacscript index 9e4b2d17f8..3c3b5e5a55 100644 --- a/packages/goverlay-bin/goverlay-bin.pacscript +++ b/packages/goverlay-bin/goverlay-bin.pacscript @@ -1,19 +1,26 @@ -name="goverlay-bin" +pkgname="goverlay-bin" gives="goverlay" pkgver="1.0" -url="https://github.com/benjamimgois/goverlay/releases/download/${pkgver}/goverlay_${pkgver//.*/}.tar.xz" -hash="47754023d12b9eb730c83fe9aeec7b8523d1dbaa9860c90928ddaa904b89aa1f" +source=( + "https://github.com/benjamimgois/goverlay/releases/download/${pkgver}/goverlay_${pkgver//.*/}.tar.xz" + "https://raw.githubusercontent.com/benjamimgois/goverlay/master/data/icons/128x128/goverlay.png" +) +sha256sums=( + "47754023d12b9eb730c83fe9aeec7b8523d1dbaa9860c90928ddaa904b89aa1f" + "SKIP" +) depends=("mangohud" "libqt5pas-dev") -replace=("goverlay") +replaces=("goverlay") pkgdesc="Graphical UI to help manage Linux overlays" -maintainer="xdavius " +maintainer=("xdavius ") repology=("project: goverlay") package() { - sudo mkdir -p "${pkgdir}/usr/bin/" "${pkgdir}/opt/goverlay/" "${pkgdir}/usr/share/applications/" "${pkgdir}/usr/share/icons/hicolor/128x128/apps/" - echo -e "#!/bin/sh\nQT_QPA_PLATFORM=xcb mangohud --dlsym /opt/goverlay/goverlay" | sudo tee "${pkgdir}/usr/bin/goverlay" >/dev/null - sudo chmod +x "${pkgdir}/usr/bin/goverlay" - sudo install -Dm755 goverlay "${pkgdir}/opt/goverlay/goverlay" + cd "${_archive}" + mkdir -p "${pkgdir}/usr/bin/" "${pkgdir}/opt/goverlay/" "${pkgdir}/usr/share/applications/" "${pkgdir}/usr/share/icons/hicolor/128x128/apps/" + echo -e "#!/bin/sh\nQT_QPA_PLATFORM=xcb mangohud --dlsym /opt/goverlay/goverlay" | tee "${pkgdir}/usr/bin/goverlay" >/dev/null + chmod +x "${pkgdir}/usr/bin/goverlay" + install -Dm755 goverlay "${pkgdir}/opt/goverlay/goverlay" echo '[Desktop Entry] Name=GOverlay Comment=Graphical UI to help manage Vulkan / OpenGL overlays @@ -22,6 +29,6 @@ Icon=goverlay Terminal=false Type=Application Categories=Game; -Keywords=MangoHud;vkBasalt;ReplaySorcery;msi;afterburner;' | sudo tee "${pkgdir}/usr/share/applications/goverlay.desktop" >/dev/null - sudo wget -q https://raw.githubusercontent.com/benjamimgois/goverlay/master/data/icons/128x128/goverlay.png -P "${pkgdir}/usr/share/icons/hicolor/128x128/apps/" +Keywords=MangoHud;vkBasalt;ReplaySorcery;msi;afterburner;' | tee "${pkgdir}/usr/share/applications/goverlay.desktop" >/dev/null + install -Dm644 "${srcdir}/goverlay.png" -t "${pkgdir}/usr/share/icons/hicolor/128x128/apps/" } diff --git a/packages/goverlay/goverlay.pacscript b/packages/goverlay/goverlay.pacscript index 24869f0c98..a7077c2016 100644 --- a/packages/goverlay/goverlay.pacscript +++ b/packages/goverlay/goverlay.pacscript @@ -1,18 +1,25 @@ -name="goverlay" +pkgname="goverlay" gives="goverlay" pkgver="1.0" -url="https://github.com/benjamimgois/goverlay/releases/download/${pkgver}/goverlay_${pkgver//.*}.tar.xz" -hash="47754023d12b9eb730c83fe9aeec7b8523d1dbaa9860c90928ddaa904b89aa1f" +source=( + "https://github.com/benjamimgois/goverlay/releases/download/${pkgver}/goverlay_${pkgver//.*}.tar.xz" + "https://raw.githubusercontent.com/benjamimgois/goverlay/master/data/icons/128x128/goverlay.png" +) +sha256sums=( + "47754023d12b9eb730c83fe9aeec7b8523d1dbaa9860c90928ddaa904b89aa1f" + "SKIP" +) depends=("mangohud" "libqt5pas-dev") pkgdesc="Graphical UI to help manage Linux overlays" -maintainer="Elsie19 " +maintainer=("Elsie19 ") repology=("project: goverlay") package() { - sudo mkdir -p "${pkgdir}/usr/bin/" "${pkgdir}/opt/goverlay/" "${pkgdir}/usr/share/applications/" "${pkgdir}/usr/share/icons/hicolor/128x128/apps/" - echo -e "#!/bin/sh\nQT_QPA_PLATFORM=xcb mangohud --dlsym /opt/goverlay/goverlay" | sudo tee "${pkgdir}/usr/bin/goverlay" > /dev/null - sudo chmod +x "${pkgdir}/usr/bin/goverlay" - sudo install -Dm755 goverlay "${pkgdir}/opt/goverlay/goverlay" + cd "${_archive}" + mkdir -p "${pkgdir}/usr/bin/" "${pkgdir}/opt/goverlay/" "${pkgdir}/usr/share/applications/" "${pkgdir}/usr/share/icons/hicolor/128x128/apps/" + echo -e "#!/bin/sh\nQT_QPA_PLATFORM=xcb mangohud --dlsym /opt/goverlay/goverlay" | tee "${pkgdir}/usr/bin/goverlay" > /dev/null + chmod +x "${pkgdir}/usr/bin/goverlay" + install -Dm755 goverlay "${pkgdir}/opt/goverlay/goverlay" echo '[Desktop Entry] Name=GOverlay Comment=Graphical UI to help manage Vulkan / OpenGL overlays @@ -21,6 +28,6 @@ Icon=goverlay Terminal=false Type=Application Categories=Game; -Keywords=MangoHud;vkBasalt;ReplaySorcery;msi;afterburner;' | sudo tee "${pkgdir}/usr/share/applications/goverlay.desktop" > /dev/null - sudo wget -q https://raw.githubusercontent.com/benjamimgois/goverlay/master/data/icons/128x128/goverlay.png -P "${pkgdir}/usr/share/icons/hicolor/128x128/apps/" +Keywords=MangoHud;vkBasalt;ReplaySorcery;msi;afterburner;' | tee "${pkgdir}/usr/share/applications/goverlay.desktop" > /dev/null + install -Dm644 "${srcdir}/goverlay.png" -t "${pkgdir}/usr/share/icons/hicolor/128x128/apps/" } diff --git a/packages/graillon/graillon.pacscript b/packages/graillon/graillon.pacscript index 1807fd46a0..19e1d3a9ba 100644 --- a/packages/graillon/graillon.pacscript +++ b/packages/graillon/graillon.pacscript @@ -1,16 +1,17 @@ -name="graillon" +pkgname="graillon" _name="Graillon" pkgver="2.6" -url="https://www.auburnsounds.com/downloads/${_name}-FREE-${pkgver}.zip" +source=("https://www.auburnsounds.com/downloads/${_name}-FREE-${pkgver}.zip") pkgdesc="Graillon is a Vocal Live Changer that brings a world of possibilities right into your DAW" -hash="1a94c86c2d0da8a2830a6aa838e7d1f26454149a1a83592d500739bc5198659e" -maintainer="echometerain " +sha256sums=("1a94c86c2d0da8a2830a6aa838e7d1f26454149a1a83592d500739bc5198659e") +maintainer=("echometerain ") package() { - sudo mkdir -p "${pkgdir}/usr/lib/lv2" - sudo mv "./Linux/Linux-64b-LV2-FREE" "${pkgdir}/usr/lib/lv2/Auburn Sounds ${_name} 2.lv2" - sudo mkdir -p "${pkgdir}/usr/lib/vst" - sudo mv "./Linux/Linux-64b-VST2-FREE" "${pkgdir}/usr/lib/vst/Auburn Sounds ${_name} 2.VST2" - sudo mkdir -p "${pkgdir}/usr/lib/vst3" - sudo mv "./Linux/Linux-64b-VST3-FREE/Auburn Sounds ${_name} 2.vst3" "${pkgdir}/usr/lib/vst3/Auburn Sounds ${_name} 2.vst3" + cd "${_archive}" + mkdir -p "${pkgdir}/usr/lib/lv2" + mv "./Linux/Linux-64b-LV2-FREE" "${pkgdir}/usr/lib/lv2/Auburn Sounds ${_name} 2.lv2" + mkdir -p "${pkgdir}/usr/lib/vst" + mv "./Linux/Linux-64b-VST2-FREE" "${pkgdir}/usr/lib/vst/Auburn Sounds ${_name} 2.VST2" + mkdir -p "${pkgdir}/usr/lib/vst3" + mv "./Linux/Linux-64b-VST3-FREE/Auburn Sounds ${_name} 2.vst3" "${pkgdir}/usr/lib/vst3/Auburn Sounds ${_name} 2.vst3" } diff --git a/packages/grapejuice-git/grapejuice-git.pacscript b/packages/grapejuice-git/grapejuice-git.pacscript index 9b004bbfdf..1f11a0d92d 100644 --- a/packages/grapejuice-git/grapejuice-git.pacscript +++ b/packages/grapejuice-git/grapejuice-git.pacscript @@ -1,21 +1,19 @@ -name="grapejuice-git" +pkgname="grapejuice-git" pkgdesc="A simple wine+roblox management application" depends=("git" "python3-pip" "python3-wheel" "python3-dev" "python-is-python3" "pkg-config" "libcairo2-dev" "gtk-update-icon-cache" "desktop-file-utils" "xdg-utils" "libgirepository1.0-dev" "gir1.2-gtk-3.0" "gettext") -url="https://gitlab.com/brinkervii/grapejuice.git" +source=("https://gitlab.com/brinkervii/grapejuice.git") pkgver="7.11.4" -maintainer="Elsie19 " +maintainer=("Elsie19 ") gives="grapejuice" breaks=("grapejuice" "grapejuice-bin" "grapejuice-app" "grapejuice-deb") -pkgver() { - git ls-remote "${url}" master | cut -f1 | cut -c1-8 -} package() { + cd "${_archive}" export PYTHONPATH="${PWD}/src" python3 -m grapejuice_packaging linux_package || python -m grapejuice_packaging linux_package cd dist/linux_package - sudo mkdir -p "${pkgdir}" - sudo tar -xf ./*.tar.gz -C "${pkgdir}" + mkdir -p "${pkgdir}" + tar -xf ./*.tar.gz -C "${pkgdir}" } # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/grive2-git/grive2-git.pacscript b/packages/grive2-git/grive2-git.pacscript old mode 100755 new mode 100644 index 31aa39742c..ada629a3a3 --- a/packages/grive2-git/grive2-git.pacscript +++ b/packages/grive2-git/grive2-git.pacscript @@ -1,24 +1,22 @@ -name="grive2-git" -pkgname="grive2" +pkgname="grive2-git" +gives="grive2" pkgdesc="Google Drive client with support for new Drive REST API and partial sync" -url="https://github.com/vitalif/grive2.git" +source=("https://github.com/vitalif/grive2.git") pkgver="0.5.3" makedepends=("cmake" "libgcrypt20-dev" "libyajl-dev" "libboost-all-dev" "libcurl4-openssl-dev" "libexpat1-dev" "libcppunit-dev" "binutils-dev" "debhelper" "zlib1g-dev" "dpkg-dev" "pkg-config") depends=("libgcrypt20" "libyajl2" "libboost-all-dev" "libcurl4" "libexpat1") -replace=("grive") -breaks=("${pkgname}" "${pkgname}-bin" "${pkgname}-deb" "${pkgname}-app") -gives="grive2" -maintainer="KwonNam Son " -pkgver() { - git ls-remote "${url}" master | cut -f1 | cut -c1-8 -} +replaces=("grive") +breaks=("${gives}" "${gives}-bin" "${gives}-deb" "${gives}-app") +maintainer=("KwonNam Son ") prepare() { + cd "${_archive}" mkdir build cd build || exit } build() { + cd "${_archive}" cmake -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ .. @@ -26,6 +24,7 @@ build() { } package() { - sudo make install DESTDIR="${pkgdir}" + cd "${_archive}" + make install DESTDIR="${pkgdir}" } # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/grive2/grive2.pacscript b/packages/grive2/grive2.pacscript index df65c17fe7..9ad2e8d152 100644 --- a/packages/grive2/grive2.pacscript +++ b/packages/grive2/grive2.pacscript @@ -1,20 +1,22 @@ -name="grive2" pkgname="grive2" +gives="grive2" pkgdesc="Google Drive client with support for new Drive REST API and partial sync" pkgver="0.5.1" -url="https://github.com/vitalif/grive2/archive/v${pkgver}.tar.gz" +source=("https://github.com/vitalif/grive2/archive/v${pkgver}.tar.gz") makedepends=("cmake" "libgcrypt20-dev" "libyajl-dev" "libboost-all-dev" "libcurl4-openssl-dev" "libexpat1-dev" "libcppunit-dev" "binutils-dev" "debhelper" "zlib1g-dev" "dpkg-dev" "pkg-config") depends=("libgcrypt20" "libyajl2" "libboost-all-dev" "libcurl4" "libexpat1") -replace=("grive") -hash="9940bcd3e5a3ffd32b91477fba8ba1ca3e0a3a72e5ffa9c6d524db87951fdbbb" +replaces=("grive") +sha256sums=("9940bcd3e5a3ffd32b91477fba8ba1ca3e0a3a72e5ffa9c6d524db87951fdbbb") patch=("https://github.com/vitalif/grive2/commit/b4d6ac055f8f16ac735a70036243bc4ea2334039.patch") -maintainer="KwonNam Son " +maintainer=("KwonNam Son ") prepare() { + cd "${_archive}" patch -Np1 -i PACSTALL_patchesdir/b4d6ac055f8f16ac735a70036243bc4ea2334039.patch } build() { + cd "${_archive}" mkdir build cd build cmake .. @@ -22,6 +24,7 @@ build() { } package() { + cd "${_archive}" cd build - sudo make install DESTDIR="${pkgdir}" + make install DESTDIR="${pkgdir}" } diff --git a/packages/grub-customizer-git/grub-customizer-git.pacscript b/packages/grub-customizer-git/grub-customizer-git.pacscript index 53ed65666a..523fb5f15f 100644 --- a/packages/grub-customizer-git/grub-customizer-git.pacscript +++ b/packages/grub-customizer-git/grub-customizer-git.pacscript @@ -1,29 +1,27 @@ -name="grub-customizer-git" -pkgname="grub-customizer" -url="https://git.launchpad.net/${pkgname}" +pkgname="grub-customizer-git" +gives="grub-customizer" +source=("git+https://git.launchpad.net/${gives}") pkgver="5.0.6" makedepends=("cmake" "g++" "libgtkmm-3.0-dev" "gettext" "libssl-dev" "libarchive-dev" "hwinfo") -breaks=("${pkgname}-deb") +breaks=("${gives}-deb") pkgdesc="Grub Customizer is a graphical interface to configure the GRUB2/BURG settings and menuentries" -maintainer="ObsidianPresidium " -gives="${pkgname}" -pkgver() { - git ls-remote "${url}" refs/heads/master | cut -f1 | cut -c1-8 -} +maintainer=("ObsidianPresidium ") build() { + cd "${_archive}" cmake . make -j"${NCPU}" } package() { - sudo install -Dm755 "./grub-customizer" "${pkgdir}/usr/bin/grub-customizer" - sudo install -Dm755 "./misc/grub-customizer.desktop" "${pkgdir}/usr/share/applications/grub-customizer.desktop" - sudo install -Dm644 "./misc/manpage.gz" "${pkgdir}/usr/share/man/man1/grub-customizer.1.gz" - sudo install -Dm644 "./misc/icons/16x16.svg" "${pkgdir}/usr/share/icons/hicolor/16x16/apps/grub-customizer.svg" - sudo install -Dm644 "./misc/icons/24x24.svg" "${pkgdir}/usr/share/icons/hicolor/24x24/apps/grub-customizer.svg" - sudo install -Dm644 "./misc/icons/32x32.svg" "${pkgdir}/usr/share/icons/hicolor/32x32/apps/grub-customizer.svg" - sudo install -Dm644 "./misc/icons/48x48.svg" "${pkgdir}/usr/share/icons/hicolor/48x48/apps/grub-customizer.svg" - sudo install -Dm644 "./misc/icons/64x64.svg" "${pkgdir}/usr/share/icons/hicolor/64x64/apps/grub-customizer.svg" - sudo install -Dm644 "./misc/icons/128x128.svg" "${pkgdir}/usr/share/icons/hicolor/128x128/apps/grub-customizer.svg" + cd "${_archive}" + install -Dm755 "./grub-customizer" "${pkgdir}/usr/bin/grub-customizer" + install -Dm755 "./misc/grub-customizer.desktop" "${pkgdir}/usr/share/applications/grub-customizer.desktop" + install -Dm644 "./misc/manpage.gz" "${pkgdir}/usr/share/man/man1/grub-customizer.1.gz" + install -Dm644 "./misc/icons/16x16.svg" "${pkgdir}/usr/share/icons/hicolor/16x16/apps/grub-customizer.svg" + install -Dm644 "./misc/icons/24x24.svg" "${pkgdir}/usr/share/icons/hicolor/24x24/apps/grub-customizer.svg" + install -Dm644 "./misc/icons/32x32.svg" "${pkgdir}/usr/share/icons/hicolor/32x32/apps/grub-customizer.svg" + install -Dm644 "./misc/icons/48x48.svg" "${pkgdir}/usr/share/icons/hicolor/48x48/apps/grub-customizer.svg" + install -Dm644 "./misc/icons/64x64.svg" "${pkgdir}/usr/share/icons/hicolor/64x64/apps/grub-customizer.svg" + install -Dm644 "./misc/icons/128x128.svg" "${pkgdir}/usr/share/icons/hicolor/128x128/apps/grub-customizer.svg" } diff --git a/packages/gtkhash/gtkhash.pacscript b/packages/gtkhash/gtkhash.pacscript index d134ac966b..6f06f645fa 100644 --- a/packages/gtkhash/gtkhash.pacscript +++ b/packages/gtkhash/gtkhash.pacscript @@ -1,24 +1,26 @@ -name="gtkhash" +pkgname="gtkhash" pkgver="1.4" -url="https://github.com/tristanheaven/${name}/releases/download/v${pkgver}/${name}-${pkgver}.tar.xz" +source=("https://github.com/tristanheaven/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.xz") makedepends=("autoconf" "automake" "libtool" "intltool" "wget") depends=("libgtk-3-dev" "libglib2.0-dev" "libgcrypt-dev" "nettle-dev" "libb2-dev" "openssl" "libmbedtls-dev") -replace=("${name}") +replaces=("${pkgname}") pkgdesc="gtkhash is a desktop utility for computing message digests or checksums." -hash="20b57dbb8f6c6d7323f573c111a11640603a422c5f9da7b302a4981e4adc37c4" +sha256sums=("20b57dbb8f6c6d7323f573c111a11640603a422c5f9da7b302a4981e4adc37c4") build() { + cd "${_archive}" ./configure --enable-mbedtls --enable-nettle make -j"${NCPU}" } package() { - sudo make install DESTDIR="${pkgdir}" - sudo install -Dm644 COPYING -t "${pkgdir}/usr/share/licenses/${name}" - sudo install -Dm644 README.md -t "${pkgdir}/usr/share/doc/${name}" + cd "${_archive}" + make install DESTDIR="${pkgdir}" + install -Dm644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}" + install -Dm644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}" } post_remove() { - sudo rm -rf "/usr/share/licenses/${name}" - sudo rm -rf "/usr/share/doc/${name}" + sudo rm -rf "/usr/share/licenses/${pkgname}" + sudo rm -rf "/usr/share/doc/${pkgname}" } diff --git a/packages/hakuneko-deb/hakuneko-deb.pacscript b/packages/hakuneko-deb/hakuneko-deb.pacscript index f860c9584e..7b73c91b7e 100644 --- a/packages/hakuneko-deb/hakuneko-deb.pacscript +++ b/packages/hakuneko-deb/hakuneko-deb.pacscript @@ -1,28 +1,17 @@ -name="hakuneko-deb" +pkgname="hakuneko-deb" gives="hakuneko-desktop" pkgver="8.3.4" nightly="20200705.1" arch=("amd64" "arm64" "armhf" "i386") -homepage="https://github.com/manga-download/hakuneko" +url="https://github.com/manga-download/hakuneko" pkgdesc="HakuNeko is a cross-platform downloader for manga and anime from various websites" -maintainer="Diegiwg " +maintainer=("Diegiwg ") -case "${CARCH}" in - amd64) - url="https://github.com/manga-download/hakuneko/releases/download/nightly-${nightly}/hakuneko-desktop_${pkgver}_linux_${CARCH}.deb" - hash="48e9a77015695fe69390ac99b54184cf793f31c3452d174fcf41052ccb2ae211" - ;; - arm64) - url="https://github.com/manga-download/hakuneko/releases/download/nightly-${nightly}/hakuneko-desktop_${pkgver}_linux_${CARCH}.deb" - hash="5e4b992b58a67ddac96410975e10577befe67479c1c2b3d12b2bcbaf6f6c003a" - ;; - armhf) - url="https://github.com/manga-download/hakuneko/releases/download/nightly-${nightly}/hakuneko-desktop_${pkgver}_linux_${CARCH}.deb" - hash="4dabbfa9d775da72499f594bfdda86adc62a5caaa579c73b9d4ccf5d778c903d" - ;; - i386) - url="https://github.com/manga-download/hakuneko/releases/download/nightly-${nightly}/hakuneko-desktop_${pkgver}_linux_${CARCH}.deb" - hash="3608ff4e8a3257fffedfa2dcea6501cb6d0d203235a2e4c6e6bbf01b93dce240" - ;; - *) return 1 ;; -esac +source_amd64=("https://github.com/manga-download/hakuneko/releases/download/nightly-${nightly}/hakuneko-desktop_${pkgver}_linux_${CARCH}.deb") +sha256sums_amd64=("48e9a77015695fe69390ac99b54184cf793f31c3452d174fcf41052ccb2ae211") +source_arm64=("https://github.com/manga-download/hakuneko/releases/download/nightly-${nightly}/hakuneko-desktop_${pkgver}_linux_${CARCH}.deb") +sha256sums_arm64=("5e4b992b58a67ddac96410975e10577befe67479c1c2b3d12b2bcbaf6f6c003a") +source_armhf=("https://github.com/manga-download/hakuneko/releases/download/nightly-${nightly}/hakuneko-desktop_${pkgver}_linux_${CARCH}.deb") +sha256sums_armhf=("4dabbfa9d775da72499f594bfdda86adc62a5caaa579c73b9d4ccf5d778c903d") +source_i386=("https://github.com/manga-download/hakuneko/releases/download/nightly-${nightly}/hakuneko-desktop_${pkgver}_linux_${CARCH}.deb") +sha256sums_i386=("3608ff4e8a3257fffedfa2dcea6501cb6d0d203235a2e4c6e6bbf01b93dce240") diff --git a/packages/hamclock/hamclock.pacscript b/packages/hamclock/hamclock.pacscript index 3fe0005e73..6366ca1e0c 100644 --- a/packages/hamclock/hamclock.pacscript +++ b/packages/hamclock/hamclock.pacscript @@ -1,16 +1,17 @@ -name="hamclock" +pkgname="hamclock" pkgver="3.10" -url="https://github.com/kj7rrv/hamclock/archive/refs/tags/v${pkgver}.tar.gz" +source=("https://github.com/kj7rrv/hamclock/archive/refs/tags/v${pkgver}.tar.gz") homepage='https://clearskyinstitute.com/ham/HamClock' makedepends=("gcc" "make" "pkg-config" "libxau6" "libx11-6" "libx11-dev" "libxcb1") breaks=("hamclock-big" "hamclock-bigger" "hamclock-huge") -replace=("hamclock") +replaces=("hamclock") pkgdesc="Clock and world map with extra features for amateur radio (800x480 version)" -hash="49ee666ac5c2fd9c647119bf36a5d627f7fc8b1db22b0ad7140e9e60a30554c5" -maintainer="Roy Williams " -repology=("project: ${name}") +sha256sums=("49ee666ac5c2fd9c647119bf36a5d627f7fc8b1db22b0ad7140e9e60a30554c5") +maintainer=("Roy Williams ") +repology=("project: ${pkgname}") prepare() { + cd "${_archive}" cd "ESPHamClock" # Add -PAC to version for PACSTALL sed -i 's/"/-PAC"/g' version.h @@ -22,21 +23,23 @@ prepare() { } build() { + cd "${_archive}" cd "ESPHamClock" make -j"${NCPU}" hamclock-800x480 } package() { + cd "${_archive}" cd "ESPHamClock" - sudo mkdir -p "${pkgdir}/usr/bin" "${pkgdir}/usr/share/applications" "${pkgdir}/usr/share/icons" "${pkgdir}/usr/share/licenses/${pkgname}/" - sudo cp hamclock-800x480 "${pkgdir}/usr/bin/hamclock" - sudo cp hamclock.png "${pkgdir}/usr/share/icons" - sudo cp LICENSE "${pkgdir}/usr/share/licenses/${pkgname}" + mkdir -p "${pkgdir}/usr/bin" "${pkgdir}/usr/share/applications" "${pkgdir}/usr/share/icons" "${pkgdir}/usr/share/licenses/${gives}/" + cp hamclock-800x480 "${pkgdir}/usr/bin/hamclock" + cp hamclock.png "${pkgdir}/usr/share/icons" + cp LICENSE "${pkgdir}/usr/share/licenses/${gives}" echo '[Desktop Entry] Name=HamClock Exec=hamclock Icon=/usr/share/icons/hamclock.png Terminal=false Type=Application -Categories=HamRadio' | sudo tee "${pkgdir}/usr/share/applications/hamclock.desktop" > /dev/null +Categories=HamRadio' | tee "${pkgdir}/usr/share/applications/hamclock.desktop" > /dev/null } diff --git a/packages/harmonoid-deb/harmonoid-deb.pacscript b/packages/harmonoid-deb/harmonoid-deb.pacscript index fa253b1401..f98401c9ca 100644 --- a/packages/harmonoid-deb/harmonoid-deb.pacscript +++ b/packages/harmonoid-deb/harmonoid-deb.pacscript @@ -1,10 +1,10 @@ -name="harmonoid-deb" +pkgname="harmonoid-deb" gives="harmonoid" pkgver="0.3.8" -url="https://github.com/alexmercerind2/harmonoid-releases/releases/download/v${pkgver}/harmonoid-linux-x86_64.deb" +source=("https://github.com/alexmercerind2/harmonoid-releases/releases/download/v${pkgver}/harmonoid-linux-x86_64.deb") homepage='https://harmonoid.com/' pkgdesc="Plays & manages your music library. Looks beautiful & juicy. Playlists, visuals, synced lyrics, pitch shift, volume boost & more" repology=("project: harmonoid") -hash="e0078741f2df5a7146027c88c61547e7c920a0a43bfc21518e1d77f5dd7ec927" +sha256sums=("e0078741f2df5a7146027c88c61547e7c920a0a43bfc21518e1d77f5dd7ec927") arch=('amd64') -maintainer="Elsie19 " +maintainer=("Elsie19 ") diff --git a/packages/headset-deb/headset-deb.pacscript b/packages/headset-deb/headset-deb.pacscript index 44f0986615..145b453e2e 100644 --- a/packages/headset-deb/headset-deb.pacscript +++ b/packages/headset-deb/headset-deb.pacscript @@ -1,10 +1,10 @@ -name="headset-deb" +pkgname="headset-deb" pkgver="4.2.1" -url="https://github.com/headsetapp/headset-electron/releases/download/v${pkgver}/headset_${pkgver}_amd64.deb" +source=("https://github.com/headsetapp/headset-electron/releases/download/v${pkgver}/headset_${pkgver}_amd64.deb") pkgdesc="Discover and collect music on YouTube Headset is a desktop app that turns YouTube into a world class music streaming service" -hash="f3582c22aef8b2081ab84ea0f2933acf4e4a4e6b1b7b8f4265af5a450103c0ca" +sha256sums=("f3582c22aef8b2081ab84ea0f2933acf4e4a4e6b1b7b8f4265af5a450103c0ca") arch=('amd64') -maintainer="Elsie19 " +maintainer=("Elsie19 ") repology=("project: headset") post_install() { diff --git a/packages/helix/helix.pacscript b/packages/helix/helix.pacscript index 5ddc53f953..65250487db 100644 --- a/packages/helix/helix.pacscript +++ b/packages/helix/helix.pacscript @@ -1,31 +1,33 @@ -name="helix" +pkgname="helix" pkgver="24.03" repology=("project: helix") -url="https://github.com/helix-editor/helix/releases/download/${pkgver}/helix-${pkgver}-source.tar.xz" +source=("https://github.com/helix-editor/helix/releases/download/${pkgver}/helix-${pkgver}-source.tar.xz") makedepends=("cargo") pkgdesc="A post-modern modal text editor" -hash="c59a5988f066c2ab90132e03a0e6b35b3dd89f48d3d78bf0ec81bd7d88c7677e" +sha256sums=("c59a5988f066c2ab90132e03a0e6b35b3dd89f48d3d78bf0ec81bd7d88c7677e") build() { + cd "${_archive}" cargo build -j"${NCPU}" --release --locked } package() { - sudo install -Dm755 target/release/hx -t "${pkgdir}/usr/lib/${name}" + cd "${_archive}" + install -Dm755 target/release/hx -t "${pkgdir}/usr/lib/${pkgname}" printf '#!/bin/sh\nHELIX_RUNTIME=/usr/lib/helix/runtime exec /usr/lib/helix/hx "$@"\n' > hx - sudo install -Dm755 hx -t "${pkgdir}/usr/bin" + install -Dm755 hx -t "${pkgdir}/usr/bin" rm -f runtime/grammars/.gitkeep rm -f runtime/themes/README.md rm -rf runtime/grammars/sources - sudo mkdir -p "${pkgdir}/usr/lib/${name}" - sudo cp -r runtime "${pkgdir}/usr/lib/${name}/" + mkdir -p "${pkgdir}/usr/lib/${pkgname}" + cp -r runtime "${pkgdir}/usr/lib/${pkgname}/" - sudo install -Dm644 contrib/helix.png -t "${pkgdir}/usr/share/icons/hicolor/128x128/apps" - sudo install -Dm644 contrib/Helix.desktop -t "${pkgdir}/usr/share/applications" + install -Dm644 contrib/helix.png -t "${pkgdir}/usr/share/icons/hicolor/128x128/apps" + install -Dm644 contrib/Helix.desktop -t "${pkgdir}/usr/share/applications" - sudo install -Dm644 contrib/completion/hx.bash "${pkgdir}/usr/share/bash-completion/completions/hx" - sudo install -Dm644 contrib/completion/hx.fish -t "${pkgdir}/usr/share/fish/vendor_completions.d" - sudo install -Dm644 contrib/completion/hx.zsh "${pkgdir}/usr/share/zsh/vendor-completions/_hx" + install -Dm644 contrib/completion/hx.bash "${pkgdir}/usr/share/bash-completion/completions/hx" + install -Dm644 contrib/completion/hx.fish -t "${pkgdir}/usr/share/fish/vendor_completions.d" + install -Dm644 contrib/completion/hx.zsh "${pkgdir}/usr/share/zsh/vendor-completions/_hx" } diff --git a/packages/hello/hello.pacscript b/packages/hello/hello.pacscript index b8d94c4a0c..dca8b4a565 100644 --- a/packages/hello/hello.pacscript +++ b/packages/hello/hello.pacscript @@ -1,20 +1,22 @@ -name="hello" -repology=("project: ${name}") +pkgname="hello" +repology=("project: ${pkgname}") pkgver="2.12.1" -url="https://ftp.gnu.org/gnu/${name}/${name}-${pkgver}.tar.gz" +source=("https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz") makedepends=("build-essential") depends=("libc6") -breaks=("${name}-git" "${name}-traditional") -replace=("${name}") +breaks=("${pkgname}-git" "${pkgname}-traditional") +replaces=("${pkgname}") pkgdesc="GNU implementation of the classic program that prints 'Hello, world!' when you run it" -hash="8d99142afd92576f30b0cd7cb42a8dc6809998bc5d607d88761f512e26c7db20" -maintainer="WRM-42 " +sha256sums=("8d99142afd92576f30b0cd7cb42a8dc6809998bc5d607d88761f512e26c7db20") +maintainer=("WRM-42 ") build() { + cd "${_archive}" ./configure make -j"${NCPU}" } package() { - sudo make install DESTDIR="${pkgdir}" + cd "${_archive}" + make install DESTDIR="${pkgdir}" } diff --git a/packages/heroic-games-launcher-deb/heroic-games-launcher-deb.pacscript b/packages/heroic-games-launcher-deb/heroic-games-launcher-deb.pacscript index 93759bdc11..e6de89af5d 100644 --- a/packages/heroic-games-launcher-deb/heroic-games-launcher-deb.pacscript +++ b/packages/heroic-games-launcher-deb/heroic-games-launcher-deb.pacscript @@ -1,9 +1,9 @@ -name="heroic-games-launcher-deb" +pkgname="heroic-games-launcher-deb" gives="heroic" repology=("project: heroic-games-launcher") pkgver="2.14.1" -url="https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/releases/download/v${pkgver}/heroic_${pkgver}_amd64.deb" +source=("https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/releases/download/v${pkgver}/heroic_${pkgver}_amd64.deb") pkgdesc="An Open Source alternative to the Epic Games launcher" -hash="dc9e846e0fa31e9f584aec6d9c162598a07bb7035d1a9b65c5885c0fa967089f" +sha256sums=("dc9e846e0fa31e9f584aec6d9c162598a07bb7035d1a9b65c5885c0fa967089f") arch=('amd64') -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") diff --git a/packages/highlight-pointer-bin/highlight-pointer-bin.pacscript b/packages/highlight-pointer-bin/highlight-pointer-bin.pacscript index 4faf32c118..62cbacdd3f 100644 --- a/packages/highlight-pointer-bin/highlight-pointer-bin.pacscript +++ b/packages/highlight-pointer-bin/highlight-pointer-bin.pacscript @@ -1,16 +1,16 @@ -maintainer="0x262D " -name="highlight-pointer-bin" -pkgname="highlight-pointer" +maintainer=("0x262D ") +pkgname="highlight-pointer-bin" gives="highlight-pointer" pkgver="1.1.3" pkgdesc="Highlight mouse pointer/cursor using a colored dot" -url="https://github.com/swillner/${pkgname}/releases/download/v${pkgver}/${pkgname}" -hash="82ad3845ef9ec3626ab1c0fad67614d5c61b26a2bf4e96b669e2a78e0395cb62" -breaks=("${pkgname}" "${pkgname}-deb" "${pkgname}-git") -repology=("project: ${pkgname}") +source=("https://github.com/swillner/${gives}/releases/download/v${pkgver}/${gives}") +sha256sums=("82ad3845ef9ec3626ab1c0fad67614d5c61b26a2bf4e96b669e2a78e0395cb62") +breaks=("${gives}" "${gives}-deb" "${gives}-git") +repology=("project: ${gives}") package() { + cd "${_archive}" # Install bin - sudo install -Dm755 "highlight-pointer" "${pkgdir}/usr/bin/${pkgname}" + install -Dm755 "highlight-pointer" "${pkgdir}/usr/bin/${gives}" } # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/htop/htop.pacscript b/packages/htop/htop.pacscript index 550e048020..2a6ad55cdf 100644 --- a/packages/htop/htop.pacscript +++ b/packages/htop/htop.pacscript @@ -1,21 +1,24 @@ -name="htop" pkgname="htop" +gives="htop" pkgver="3.2.2" -url="https://github.com/htop-dev/htop/archive/refs/tags/${pkgver}.tar.gz" +source=("https://github.com/htop-dev/htop/archive/refs/tags/${pkgver}.tar.gz") makedepends=("dh-autoreconf" "libncurses5-dev" "libncursesw5-dev") -replace=("htop") +replaces=("htop") pkgdesc="htop is a cross-platform interactive process viewer." -hash="3829c742a835a0426db41bb039d1b976420c21ec65e93b35cd9bfd2d57f44ac8" +sha256sums=("3829c742a835a0426db41bb039d1b976420c21ec65e93b35cd9bfd2d57f44ac8") prepare() { + cd "${_archive}" ./autogen.sh ./configure } build() { + cd "${_archive}" make -j"${NCPU}" } package() { - sudo make install DESTDIR="${pkgdir}" - sudo install -Dm755 htop.desktop -t "${pkgdir}/usr/share/applications" + cd "${_archive}" + make install DESTDIR="${pkgdir}" + install -Dm755 htop.desktop -t "${pkgdir}/usr/share/applications" } diff --git a/packages/httptoolkit-deb/httptoolkit-deb.pacscript b/packages/httptoolkit-deb/httptoolkit-deb.pacscript index c0f49a758f..361e154e35 100644 --- a/packages/httptoolkit-deb/httptoolkit-deb.pacscript +++ b/packages/httptoolkit-deb/httptoolkit-deb.pacscript @@ -1,8 +1,8 @@ -name="httptoolkit-deb" +pkgname="httptoolkit-deb" gives="httptoolkit" pkgver="1.5.1" breaks=("httptoolkit" "httptoolkit-git" "httptoolkit-bin" "httptoolkit-app") -url="https://github.com/${gives}/${gives}-desktop/releases/download/v${pkgver}/HttpToolkit-${pkgver}.deb" +source=("https://github.com/${gives}/${gives}-desktop/releases/download/v${pkgver}/HttpToolkit-${pkgver}.deb") pkgdesc="HTTP(S) debugging, development & testing tool." -hash="6033a43dcd67b3bc12a7b77b3d15fe05696cd9d7cce67271e0103eb93b2bc1e1" -maintainer="WRM-42 " +sha256sums=("6033a43dcd67b3bc12a7b77b3d15fe05696cd9d7cce67271e0103eb93b2bc1e1") +maintainer=("WRM-42 ") diff --git a/packages/hyper-deb/hyper-deb.pacscript b/packages/hyper-deb/hyper-deb.pacscript index 730b9288e5..8a077bad93 100644 --- a/packages/hyper-deb/hyper-deb.pacscript +++ b/packages/hyper-deb/hyper-deb.pacscript @@ -1,9 +1,9 @@ -name="hyper-deb" +pkgname="hyper-deb" gives="hyper" pkgver="3.4.1" -url="https://github.com/vercel/hyper/releases/download/v${pkgver}/hyper_${pkgver}_amd64.deb" -hash="8c4cd9e8c58568d5c14bc080cdf9ffb9f30fa5672e6bd1e1045cdeb563251f56" +source=("https://github.com/vercel/hyper/releases/download/v${pkgver}/hyper_${pkgver}_amd64.deb") +sha256sums=("8c4cd9e8c58568d5c14bc080cdf9ffb9f30fa5672e6bd1e1045cdeb563251f56") arch=('amd64') pkgdesc="HTML/JS/CSS Terminal" -maintainer="Elsie19 " +maintainer=("Elsie19 ") repology=("project: hyper-terminal") diff --git a/packages/hyperfine-bin/hyperfine-bin.pacscript b/packages/hyperfine-bin/hyperfine-bin.pacscript index d17271d7b1..f929043691 100644 --- a/packages/hyperfine-bin/hyperfine-bin.pacscript +++ b/packages/hyperfine-bin/hyperfine-bin.pacscript @@ -4,41 +4,42 @@ # \ // \/ -- \ # \__/\ / \_______ \______ / # \/ \/ \/ -maintainer="wizard-28 " +maintainer=("wizard-28 ") -name="hyperfine-bin" -pkgname="hyperfine" +pkgname="hyperfine-bin" +gives="hyperfine" pkgver="1.17.0" pkgdesc="A command-line benchmarking tool" -url="https://github.com/sharkdp/${pkgname}/releases/download/v${pkgver}/${pkgname}-v${pkgver}-x86_64-unknown-linux-musl.tar.gz" -breaks=("${pkgname}" "${pkgname}-git" "${pkgname}-deb" "${pkgname}-app") -hash="563de47d843810de501e3e6bfcb4571a4ff957eab811c2af87be23d1c599ae47" +source=("https://github.com/sharkdp/${gives}/releases/download/v${pkgver}/${gives}-v${pkgver}-x86_64-unknown-linux-musl.tar.gz") +breaks=("${gives}" "${gives}-git" "${gives}-deb" "${gives}-app") +sha256sums=("563de47d843810de501e3e6bfcb4571a4ff957eab811c2af87be23d1c599ae47") arch=('amd64') repology=("project: hyperfine") package() { + cd "${_archive}" # Install license - sudo install -Dm644 "LICENSE-APACHE" "LICENSE-MIT" -t "${pkgdir}/usr/share/licenses/${pkgname}" + install -Dm644 "LICENSE-APACHE" "LICENSE-MIT" -t "${pkgdir}/usr/share/licenses/${gives}" # Install doc - sudo install -Dm644 "README.md" -t "${pkgdir}/usr/share/doc/${pkgname}" + install -Dm644 "README.md" -t "${pkgdir}/usr/share/doc/${gives}" # Install binary - sudo install -Dm755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}" + install -Dm755 "${gives}" "${pkgdir}/usr/bin/${gives}" # Install completions - sudo install -Dm644 "autocomplete/${pkgname}.bash" "${pkgdir}/usr/share/bash-completion/completions/${pkgname}" - sudo install -Dm644 "autocomplete/${pkgname}.fish" "${pkgdir}/usr/share/fish/vendor_completions.d/${pkgname}.fish" - sudo install -Dm644 "autocomplete/_${pkgname}" "${pkgdir}/usr/share/zsh/site-functions/_${pkgname}" + install -Dm644 "autocomplete/${gives}.bash" "${pkgdir}/usr/share/bash-completion/completions/${gives}" + install -Dm644 "autocomplete/${gives}.fish" "${pkgdir}/usr/share/fish/vendor_completions.d/${gives}.fish" + install -Dm644 "autocomplete/_${gives}" "${pkgdir}/usr/share/zsh/site-functions/_${gives}" # Install man page - sudo install -Dm644 "${pkgname}.1" "${pkgdir}/usr/share/man/man1/${pkgname}.1" - sudo gzip --best "${pkgdir}/usr/share/man/man1/${pkgname}.1" + install -Dm644 "${gives}.1" "${pkgdir}/usr/share/man/man1/${gives}.1" + gzip --best "${pkgdir}/usr/share/man/man1/${gives}.1" } post_remove() { # Remove empty directories - sudo rm -rf "/usr/share/licenses/${pkgname}" - sudo rm -rf "/usr/share/doc/${pkgname}" + sudo rm -rf "/usr/share/licenses/${gives}" + sudo rm -rf "/usr/share/doc/${gives}" } # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/hypnotix-deb/hypnotix-deb.pacscript b/packages/hypnotix-deb/hypnotix-deb.pacscript index 33e03289a8..33c78ce698 100644 --- a/packages/hypnotix-deb/hypnotix-deb.pacscript +++ b/packages/hypnotix-deb/hypnotix-deb.pacscript @@ -1,4 +1,4 @@ -name="hypnotix-deb" +pkgname="hypnotix-deb" gives="hypnotix" repology=("project: ${gives}") codename="$(lsb_release -cs)" @@ -10,7 +10,7 @@ case "${codename}" in *) ;; esac pkgver="4.3" -hash="129f9fd5032252cebbd81a6ea8da4f61dc6bd4d9072dede430bfca8e67451361" -url="http://packages.linuxmint.com/pool/main/h/hypnotix/hypnotix_${pkgver}_all.deb" +sha256sums=("129f9fd5032252cebbd81a6ea8da4f61dc6bd4d9072dede430bfca8e67451361") +source=("http://packages.linuxmint.com/pool/main/h/hypnotix/hypnotix_${pkgver}_all.deb") pkgdesc="An IPTV streaming application with support for live TV, movies and series" -maintainer="Zahrun " +maintainer=("Zahrun ") diff --git a/packages/hyprcursor-bin/hyprcursor-bin.pacscript b/packages/hyprcursor-bin/hyprcursor-bin.pacscript index 6be06e1289..47738d134f 100644 --- a/packages/hyprcursor-bin/hyprcursor-bin.pacscript +++ b/packages/hyprcursor-bin/hyprcursor-bin.pacscript @@ -1,19 +1,20 @@ -name="hyprcursor-bin" +pkgname="hyprcursor-bin" pkgver="0.1.7" pkgdesc="The hyprland cursor format, library and utilities" arch=("amd64") homepage='https://github.com/hyprwm/hyprcursor' -url="https://github.com/hyprwm/hyprcursor/releases/download/v${pkgver}/v${pkgver}.tar.gz" -hash="b86ab68bb2260a8a09bd595ba38f0a077a08ad8a3f70c2549a59d355be6df196" -maintainer="Elsie19 " +source=("https://github.com/hyprwm/hyprcursor/releases/download/v${pkgver}/v${pkgver}.tar.gz") +sha256sums=("b86ab68bb2260a8a09bd595ba38f0a077a08ad8a3f70c2549a59d355be6df196") +maintainer=("Elsie19 ") package() { - sudo install -vDm755 "libhyprcursor.so.${pkgver}" -t "${pkgdir}/usr/lib/x86_64-linux-gnu/" - sudo ln -sfv "/usr/lib/x86_64-linux-gnu/libhyprcursor.so.${pkgver}" "${pkgdir}/usr/lib/x86_64-linux-gnu/libhyprcursor.so.0" - sudo ln -sfv "/usr/lib/x86_64-linux-gnu/libhyprcursor.so.${pkgver}" "${pkgdir}/usr/lib/x86_64-linux-gnu/libhyprcursor.so" - sudo install -vDm755 "hyprcursor.pc" -t "${pkgdir}/usr/lib/pkgconfig/" - sudo install -vDm755 "hyprcursor-util" -t "${pkgdir}/usr/bin/" - sudo mkdir -pv "${pkgdir}/usr/include/hyprcursor/" - sudo cp -v include/hyprcursor/* "${pkgdir}/usr/include/hyprcursor/" - sudo cp -v include/hyprcursor/hyprcursor.hpp "${pkgdir}/usr/include/" + cd "${_archive}" + install -vDm755 "libhyprcursor.so.${pkgver}" -t "${pkgdir}/usr/lib/x86_64-linux-gnu/" + ln -sfv "/usr/lib/x86_64-linux-gnu/libhyprcursor.so.${pkgver}" "${pkgdir}/usr/lib/x86_64-linux-gnu/libhyprcursor.so.0" + ln -sfv "/usr/lib/x86_64-linux-gnu/libhyprcursor.so.${pkgver}" "${pkgdir}/usr/lib/x86_64-linux-gnu/libhyprcursor.so" + install -vDm755 "hyprcursor.pc" -t "${pkgdir}/usr/lib/pkgconfig/" + install -vDm755 "hyprcursor-util" -t "${pkgdir}/usr/bin/" + mkdir -pv "${pkgdir}/usr/include/hyprcursor/" + cp -v include/hyprcursor/* "${pkgdir}/usr/include/hyprcursor/" + cp -v include/hyprcursor/hyprcursor.hpp "${pkgdir}/usr/include/" } diff --git a/packages/hyprland-bin/hyprland-bin.pacscript b/packages/hyprland-bin/hyprland-bin.pacscript index 61cd79471b..1af14554a6 100644 --- a/packages/hyprland-bin/hyprland-bin.pacscript +++ b/packages/hyprland-bin/hyprland-bin.pacscript @@ -1,20 +1,21 @@ -name="hyprland-bin" +pkgname="hyprland-bin" pkgver="0.39.1" gives="hyprland" arch=("amd64") -replace=("hyprland") +replaces=("hyprland") depends=("libegl1" "libxcb-util1" "libxcb-render0" "libxcb-image0" "libxcb-icccm4" "libxcb-composite0" "libxcb-res0" "libxcb-ewmh2" "libwayland-cursor0" "libdisplay-info1" "libxkbcommon0" "libglib2.0-0" "libharfbuzz0b" "libpangocairo-1.0-0" "libinput10" "libseat-dev" "libliftoff0" "libopengl0" "libglx0" "libgles2") pacdeps=("hyprlang" "hyprcursor-bin" "xcb-util-errors") compatible=("*:mantic" "*:noble" "*:devel" "debian:bookworm" "debian:trixie" "debian:sid") pkgdesc="A highly customizable dynamic tiling Wayland compositor that doesn't sacrifice on its looks" -url="https://github.com/hyprwm/Hyprland/releases/download/v${pkgver}/v${pkgver}.tar.gz" -hash="1c7bd3eeb6f795d4c95b936397489ca55f7ec6951d7efdea069bd71540007f58" -maintainer="Elsie19 " +source=("https://github.com/hyprwm/Hyprland/releases/download/v${pkgver}/v${pkgver}.tar.gz") +sha256sums=("1c7bd3eeb6f795d4c95b936397489ca55f7ec6951d7efdea069bd71540007f58") +maintainer=("Elsie19 ") repology=("project: hyprland") package() { - sudo install -Dm755 ./Hyprland ./hyprctl ./hyprpm -t "${pkgdir}/usr/bin/" - sudo install -Dm644 ./assets/*.png ./example/hyprland.conf -t "${pkgdir}/usr/share/hyprland/" - sudo install -Dm644 ./example/hyprland.desktop "${pkgdir}/usr/share/wayland-sessions/hyprland.desktop" - sudo install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/hyprland/" + cd "${_archive}" + install -Dm755 ./Hyprland ./hyprctl ./hyprpm -t "${pkgdir}/usr/bin/" + install -Dm644 ./assets/*.png ./example/hyprland.conf -t "${pkgdir}/usr/share/hyprland/" + install -Dm644 ./example/hyprland.desktop "${pkgdir}/usr/share/wayland-sessions/hyprland.desktop" + install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/hyprland/" } diff --git a/packages/hyprland/hyprland.pacscript b/packages/hyprland/hyprland.pacscript index 5f7e8d5c15..78cfdf4578 100644 --- a/packages/hyprland/hyprland.pacscript +++ b/packages/hyprland/hyprland.pacscript @@ -1,7 +1,7 @@ -name="hyprland" +pkgname="hyprland" repology=("project: hyprland") pkgver="0.35.0" -url="https://github.com/hyprwm/Hyprland/releases/download/v${pkgver}/source-v${pkgver}.tar.gz" +source=("https://github.com/hyprwm/Hyprland/releases/download/v${pkgver}/source-v${pkgver}.tar.gz") homepage='https://hyprland.org/' makedepends=('meson' 'ninja-build' 'cmake-extras' 'cmake' 'gettext' 'gettext-base' 'libfontconfig-dev' 'libffi-dev' 'libxml2-dev' 'libxkbcommon-x11-dev' 'libxkbregistry-dev' 'libxkbcommon-dev' 'libpixman-1-dev' 'libudev-dev' 'libseat-dev' 'seatd' 'libxcb-dri3-dev' 'libvulkan-dev' 'libvulkan-volk-dev' 'libvkfft-dev' 'libgulkan-dev' 'libegl-dev' 'libgles2' 'libegl1-mesa-dev' 'glslang-tools' 'libinput-bin' 'libinput-dev' 'libxcb-composite0-dev' 'libavutil-dev' 'libavcodec-dev' 'libavformat-dev' 'libxcb-ewmh2' 'libxcb-ewmh-dev' 'libxcb-present-dev' 'libxcb-icccm4-dev' 'libxcb-render-util0-dev' 'libxcb-res0-dev' 'libxcb-xinput-dev' 'xdg-desktop-portal-wlr' 'fontconfig' 'libliftoff-dev' 'libdisplay-info-dev' 'libpango1.0-dev' 'libsystemd-dev' 'libgbm-dev' 'hwdata' 'xwayland' 'wayland-protocols' 'libwayland-dev' 'cpio' 'libtomlplusplus-dev') case "${DISTRO}" in @@ -11,14 +11,16 @@ case "${DISTRO}" in esac optdepends=("kitty: default config terminal") pkgdesc="Dynamic tiling Wayland compositor based on wlroots" -hash="de53d764606131c8aacc209f8a3ad6e619fdcddd16a7cdf4d8ca343816bb8c1b" -maintainer="Elsie19 " +sha256sums=("de53d764606131c8aacc209f8a3ad6e619fdcddd16a7cdf4d8ca343816bb8c1b") +maintainer=("Elsie19 ") compatible=('ubuntu:devel' 'debian:sid' 'ubuntu:mantic' 'ubuntu:noble') build() { + cd "${_archive}" make all -j"${NCPU}" PREFIX="${pkgdir}/usr" } package() { - sudo make install PREFIX="${pkgdir}/usr" + cd "${_archive}" + make install PREFIX="${pkgdir}/usr" } diff --git a/packages/hyprlang/hyprlang.pacscript b/packages/hyprlang/hyprlang.pacscript index 4d5767441a..34f5f38aec 100644 --- a/packages/hyprlang/hyprlang.pacscript +++ b/packages/hyprlang/hyprlang.pacscript @@ -1,15 +1,16 @@ -name="hyprlang" +pkgname="hyprlang" pkgver="0.5.0" pkgdesc="implementation library for the hypr config language" arch=("amd64" "arm64") -homepage="https://github.com/hyprwm/${name}" +url="https://github.com/hyprwm/${pkgname}" depends=("build-essential") makedepends=("cmake") -url="${homepage}/archive/v${pkgver}/${name}-${pkgver}.tar.gz" -hash="c59e705f2c2ff9ea4e2b183fdf0bc20a62b7162604a657d6352716a1fd5061b2" -maintainer="Oren Klopfer " +source=("${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz") +sha256sums=("c59e705f2c2ff9ea4e2b183fdf0bc20a62b7162604a657d6352716a1fd5061b2") +maintainer=("Oren Klopfer ") build() { + cd "${_archive}" cmake -B build \ -D CMAKE_INSTALL_PREFIX=/usr \ -D CMAKE_BUILD_TYPE=Release @@ -17,6 +18,7 @@ build() { } package() { - sudo DESTDIR="${pkgdir}" cmake --install build - sudo install -Dm0644 -t "${pkgdir}/usr/share/licenses/${name}" LICENSE + cd "${_archive}" + DESTDIR="${pkgdir}" cmake --install build + install -Dm0644 -t "${pkgdir}/usr/share/licenses/${pkgname}" LICENSE } diff --git a/packages/hyprpaper/hyprpaper.pacscript b/packages/hyprpaper/hyprpaper.pacscript index 5cf44cca01..fd6618a5ab 100644 --- a/packages/hyprpaper/hyprpaper.pacscript +++ b/packages/hyprpaper/hyprpaper.pacscript @@ -1,19 +1,21 @@ -name="hyprpaper" -repology=("project: ${name}") +pkgname="hyprpaper" +repology=("project: ${pkgname}") pkgver="0.4.0" -url="https://github.com/hyprwm/${name}/archive/refs/tags/v${pkgver}.tar.gz" -hash="cabd8181aa64dead3a0ed6e801e391c54b07f3400eecb9dcf2a01ac5d1cf47d3" +source=("https://github.com/hyprwm/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz") +sha256sums=("cabd8181aa64dead3a0ed6e801e391c54b07f3400eecb9dcf2a01ac5d1cf47d3") arch=('amd64' 'arm64') compatible=('ubuntu:devel' 'debian:sid' 'ubuntu:mantic' 'ubuntu:noble') makedepends=('cmake' 'meson' 'ninja-build' 'wayland-utils' 'wayland-protocols' 'libwayland-dev' 'libwlroots-dev' 'libmagic-dev' 'libpango1.0-dev' 'libjpeg-dev') homepage='https://hyprland.org/' pkgdesc="Wayland wallpaper utility with IPC controls" -maintainer="Elsie19 " +maintainer=("Elsie19 ") build() { + cd "${_archive}" make all -j"${NCPU}" } package() { - sudo install -Dm755 ./build/"${name}" -t "${pkgdir}/usr/bin" + cd "${_archive}" + install -Dm755 ./build/"${pkgname}" -t "${pkgdir}/usr/bin" } diff --git a/packages/hyprpicker/hyprpicker.pacscript b/packages/hyprpicker/hyprpicker.pacscript index a861e7237b..0bdb1b1846 100644 --- a/packages/hyprpicker/hyprpicker.pacscript +++ b/packages/hyprpicker/hyprpicker.pacscript @@ -1,19 +1,21 @@ -name="hyprpicker" -repology=("project: ${name}") +pkgname="hyprpicker" +repology=("project: ${pkgname}") pkgver="0.2.0" -url="https://github.com/hyprwm/${name}/archive/refs/tags/v${pkgver}.tar.gz" -hash="fa1b0c29682f5ede5a03d754770d152f38d869bc1faa300564680cef2de0758a" +source=("https://github.com/hyprwm/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz") +sha256sums=("fa1b0c29682f5ede5a03d754770d152f38d869bc1faa300564680cef2de0758a") arch=('amd64' 'arm64') compatible=('ubuntu:devel' 'debian:sid' 'ubuntu:mantic' 'ubuntu:noble') makedepends=('cmake' 'meson' 'ninja-build' 'wayland-utils' 'wayland-protocols' 'libwayland-dev' 'libwlroots-dev' 'libmagic-dev' 'libpango1.0-dev' 'libjpeg-dev') homepage='https://hyprland.org/' pkgdesc="wlroots-compatible Wayland color picker" -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") build() { + cd "${_archive}" make all -j"${NCPU}" } package() { - sudo install -Dm755 ./build/"${name}" -t "${pkgdir}/usr/bin" + cd "${_archive}" + install -Dm755 ./build/"${pkgname}" -t "${pkgdir}/usr/bin" } diff --git a/packages/i3blocks-git/i3blocks-git.pacscript b/packages/i3blocks-git/i3blocks-git.pacscript index a8585c76e6..56d43234eb 100644 --- a/packages/i3blocks-git/i3blocks-git.pacscript +++ b/packages/i3blocks-git/i3blocks-git.pacscript @@ -1,24 +1,24 @@ -name="i3blocks-git" -pkgname="i3blocks" +pkgname="i3blocks-git" +gives="i3blocks" pkgdesc="A feed generator for text based status bars" -url="https://github.com/vivien/${pkgname}.git" +source=("https://github.com/vivien/${gives}.git") pkgver="1.5" makedepends=("autoconf" "gcc" "make" "pkgconf") -breaks=("${pkgname}") -maintainer="Lanius " -pkgver() { - git ls-remote "${url}" master | cut -f1 | cut -c1-8 -} +breaks=("${gives}") +maintainer=("Lanius ") prepare() { + cd "${_archive}" ./autogen.sh && ./configure } build() { + cd "${_archive}" make -j"${NCPU}" } package() { + cd "${_archive}" # Install i3blocks - sudo make install DESTDIR="${pkgdir}" + make install DESTDIR="${pkgdir}" } diff --git a/packages/i3lock-color/i3lock-color.pacscript b/packages/i3lock-color/i3lock-color.pacscript index 174b413db0..86cee0652e 100644 --- a/packages/i3lock-color/i3lock-color.pacscript +++ b/packages/i3lock-color/i3lock-color.pacscript @@ -1,21 +1,23 @@ -name="i3lock-color" +pkgname="i3lock-color" pkgver="2.13.c.5" -url="https://github.com/Raymo111/i3lock-color/archive/refs/tags/${pkgver}.tar.gz" +source=("https://github.com/Raymo111/i3lock-color/archive/refs/tags/${pkgver}.tar.gz") makedepends=("autoconf" "gcc" "pkg-config" "libpam0g-dev" "libcairo2-dev" "libfontconfig1-dev" "libxcb-composite0-dev" "libev-dev" "libx11-xcb-dev" "libxcb-xkb-dev" "libxcb-xinerama0-dev" "libxcb-randr0-dev" "libxcb-image0-dev" "libxcb-util0-dev" "libxcb-xrm-dev" "libxkbcommon-dev" "libxkbcommon-x11-dev" "libjpeg-dev") depends=("libxcb-composite0-dev" "libpam0g-dev" "libev-dev" "libcairo2-dev" "libxkbcommon-x11-dev" "libjpeg-dev" "libxcb-xrm-dev" "pkg-config") gives="i3lock" breaks=("i3lock") -replace=("i3lock") +replaces=("i3lock") pkgdesc="The world's most popular non-default computer lockscreen." -hash="46f15cbbf339873266e014f70b5e1ec02177f0295302b615a7bd85bef40d8ad2" -maintainer="Harshwardhan Mehrotra " +sha256sums=("46f15cbbf339873266e014f70b5e1ec02177f0295302b615a7bd85bef40d8ad2") +maintainer=("Harshwardhan Mehrotra ") build() { + cd "${_archive}" ./build.sh } package() { + cd "${_archive}" cd build - sudo make install DESTDIR="${pkgdir}" + make install DESTDIR="${pkgdir}" } diff --git a/packages/imwheel-exclude-patched-git/imwheel-exclude-patched-git.pacscript b/packages/imwheel-exclude-patched-git/imwheel-exclude-patched-git.pacscript old mode 100755 new mode 100644 index 190e462cbb..67c5ec9cbf --- a/packages/imwheel-exclude-patched-git/imwheel-exclude-patched-git.pacscript +++ b/packages/imwheel-exclude-patched-git/imwheel-exclude-patched-git.pacscript @@ -1,26 +1,26 @@ -name="imwheel-exclude-patched-git" -url="https://github.com/ajh3/imwheel-exclude-patched.git" +pkgname="imwheel-exclude-patched-git" +source=("https://github.com/ajh3/imwheel-exclude-patched.git") pkgver="0.0.1" makedepends=("libx11-dev" "libxtst-dev" "libxmu-dev") breaks=("imwheel") pkgdesc="This project is a fork of imwheel's final official release containing only one change — a patch that repairs imwheel's broken @Exclude command" -pkgver() { - git ls-remote "${url}" refs/heads/master | cut -f1 | cut -c1-8 -} prepare() { + cd "${_archive}" ./configure --disable-gpm-doc } build() { + cd "${_archive}" make } package() { - sudo make install DESTDIR="${pkgdir}" + cd "${_archive}" + make install DESTDIR="${pkgdir}" cd "${pkgdir}/usr/local/" - sudo mkdir -p share + mkdir -p share if [[ -d man ]]; then - sudo mv man share/ + mv man share/ fi } diff --git a/packages/insomnia-deb/insomnia-deb.pacscript b/packages/insomnia-deb/insomnia-deb.pacscript index 70a4d644ae..13472bc31b 100644 --- a/packages/insomnia-deb/insomnia-deb.pacscript +++ b/packages/insomnia-deb/insomnia-deb.pacscript @@ -1,9 +1,9 @@ -name="insomnia-deb" +pkgname="insomnia-deb" gives="insomnia" pkgver="2023.4.0" arch=("amd64") -url="https://github.com/Kong/insomnia/releases/download/core%40${pkgver}/Insomnia.Core-${pkgver}.deb" -hash="eed91dd07689783742bd7d6dd57087aeb436df116b70cb32d67849244a7a9259" -homepage="https://github.com/Kong/insomnia/" +source=("https://github.com/Kong/insomnia/releases/download/core%40${pkgver}/Insomnia.Core-${pkgver}.deb") +sha256sums=("eed91dd07689783742bd7d6dd57087aeb436df116b70cb32d67849244a7a9259") +url="https://github.com/Kong/insomnia/" pkgdesc="The open-source, cross-platform API client for GraphQL, REST, WebSockets and gRPC" -maintainer="Diegiwg " +maintainer=("Diegiwg ") diff --git a/packages/insync-deb/insync-deb.pacscript b/packages/insync-deb/insync-deb.pacscript index 0ca4ecc139..f4e7810b99 100644 --- a/packages/insync-deb/insync-deb.pacscript +++ b/packages/insync-deb/insync-deb.pacscript @@ -1,13 +1,12 @@ -name="insync-deb" -pkgname="insync" +pkgname="insync-deb" +gives="insync" pkgver="3.8.6.50504" repology=("project: insync") depends=("procps") arch=('amd64') codename="bullseye" -hash="d74f1a4d2a09f5c8abf5e81717b73cde36ecf6a9a05394845cd8d603e0576e76" -url="https://cdn.insynchq.com/builds/linux/insync_${pkgver}-${codename}_amd64.deb" -gives="insync" -replace=("insync") +sha256sums=("d74f1a4d2a09f5c8abf5e81717b73cde36ecf6a9a05394845cd8d603e0576e76") +source=("https://cdn.insynchq.com/builds/linux/insync_${pkgver}-${codename}_amd64.deb") +replaces=("insync") pkgdesc="Manage your Google Drive, OneDrive, and Dropbox files straight from your Desktop" # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/intel-undervolt/intel-undervolt.pacscript b/packages/intel-undervolt/intel-undervolt.pacscript index 1f0b202527..803a1b438c 100644 --- a/packages/intel-undervolt/intel-undervolt.pacscript +++ b/packages/intel-undervolt/intel-undervolt.pacscript @@ -1,20 +1,23 @@ -name="intel-undervolt" +pkgname="intel-undervolt" pkgver="1.7" -url="https://github.com/kitsunyan/intel-undervolt/archive/refs/tags/${pkgver}.tar.gz" -hash="29a7ebaee4830d65d0b5cefa6d497887d4f23f34659876dfe944f3a020cf33ff" +source=("https://github.com/kitsunyan/intel-undervolt/archive/refs/tags/${pkgver}.tar.gz") +sha256sums=("29a7ebaee4830d65d0b5cefa6d497887d4f23f34659876dfe944f3a020cf33ff") makedepends=("pkg-config") -maintainer="Elsie19 " +maintainer=("Elsie19 ") pkgdesc="Tool for undervolting and throttling limits alteration for Intel CPUs" prepare() { + cd "${_archive}" # other flags are '--enable-systemd', '--enable-slogind', '--enable-openrc' ./configure } build() { + cd "${_archive}" make -j"${NCPU}" } package() { - sudo make install DESTDIR="${pkgdir}" + cd "${_archive}" + make install DESTDIR="${pkgdir}" } diff --git a/packages/intellij-idea-community-bin/intellij-idea-community-bin.pacscript b/packages/intellij-idea-community-bin/intellij-idea-community-bin.pacscript index fcef432a1f..9175e32e38 100644 --- a/packages/intellij-idea-community-bin/intellij-idea-community-bin.pacscript +++ b/packages/intellij-idea-community-bin/intellij-idea-community-bin.pacscript @@ -1,40 +1,40 @@ -name="intellij-idea-community-bin" +pkgname="intellij-idea-community-bin" pkgver="2024.1" -pkgname="intellij-idea-community" gives="intellij-idea-community" repology=("project: intellij-idea-community") -maintainer="Gianluca Mastrolonardo " +maintainer=("Gianluca Mastrolonardo ") pkgdesc="IntelliJ IDEA is an IDE for developing computer software written in Java, Kotlin, Groovy, and other JVM-based languages" arch=('amd64' 'arm64') +sha256sums_amd64=( + "01d1b224c5e88592f954b17796a76fa8391cdcafef27264e703c7ffe47bb4065" + "20c489d224f83cf4b29174b8c398e256b1df0e9cb0b920890f39c5796404b293" +) +sha256sums_arm64=( + "a13e7a53b5c8a512fbcb72957f24e5515618a5533f17d72914da5445b736dac1" + "20c489d224f83cf4b29174b8c398e256b1df0e9cb0b920890f39c5796404b293" +) if [[ ${CARCH} == amd64 ]]; then archext="${pkgver}" - hash="01d1b224c5e88592f954b17796a76fa8391cdcafef27264e703c7ffe47bb4065" else archext="${pkgver}-aarch64" - hash="a13e7a53b5c8a512fbcb72957f24e5515618a5533f17d72914da5445b736dac1" fi -url="https://download-cdn.jetbrains.com/idea/ideaIC-${archext}.tar.gz" +source=( + "https://download-cdn.jetbrains.com/idea/ideaIC-${archext}.tar.gz" + "intellij-idea-community.desktop::https://raw.githubusercontent.com/pacstall/pacstall-programs/master/packages/${pkgname}/intellij-idea-community.desktop" +) repology=("project: intellij-idea-community") -desktop_file_sum="20c489d224f83cf4b29174b8c398e256b1df0e9cb0b920890f39c5796404b293" - -prepare() { - wget -qO "intellij-idea-community.desktop" "https://raw.githubusercontent.com/pacstall/pacstall-programs/master/packages/${name}/intellij-idea-community.desktop" - if [[ "$(sha256sum intellij-idea-community.desktop | cut -d' ' -f 1)" != "${desktop_file_sum}" ]]; then - fancy_message error "Checksum for intellij-idea-community.desktop failed" - return 1 - fi -} package() { - sudo mkdir -p "${pkgdir}/usr/share/licenses/intellij-idea-community" - sudo mkdir -p "${pkgdir}/usr/share/intellij-idea-community" - sudo mkdir -p "${pkgdir}/usr/share/pixmaps" - sudo cp -dr --no-preserve='ownership' bin jbr lib plugins "${pkgdir}/usr/share/intellij-idea-community/" - sudo cp -dr --no-preserve='ownership' license "${pkgdir}/usr/share/licenses/intellij-idea-community/" - sudo cp -dr "${pkgdir}/usr/share/intellij-idea-community/bin/idea.png" "${pkgdir}/usr/share/pixmaps/" - sudo install -Dm 644 intellij-idea-community.desktop -t "${pkgdir}"/usr/share/applications/ - sudo mkdir -p "${pkgdir}/usr/bin" - sudo ln -sf "/usr/share/intellij-idea-community/bin/idea.sh" "${pkgdir}/usr/bin/idea" + cd "${_archive}" + mkdir -p "${pkgdir}/usr/share/licenses/intellij-idea-community" + mkdir -p "${pkgdir}/usr/share/intellij-idea-community" + mkdir -p "${pkgdir}/usr/share/pixmaps" + cp -dr --no-preserve='ownership' bin jbr lib plugins "${pkgdir}/usr/share/intellij-idea-community/" + cp -dr --no-preserve='ownership' license "${pkgdir}/usr/share/licenses/intellij-idea-community/" + cp -dr "${pkgdir}/usr/share/intellij-idea-community/bin/idea.png" "${pkgdir}/usr/share/pixmaps/" + install -Dm 644 "${srcdir}"/intellij-idea-community.desktop -t "${pkgdir}"/usr/share/applications/ + mkdir -p "${pkgdir}/usr/bin" + ln -sf "/usr/share/intellij-idea-community/bin/idea.sh" "${pkgdir}/usr/bin/idea" } # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/internxt-deb/internxt-deb.pacscript b/packages/internxt-deb/internxt-deb.pacscript index c4def53102..0e422c2947 100644 --- a/packages/internxt-deb/internxt-deb.pacscript +++ b/packages/internxt-deb/internxt-deb.pacscript @@ -1,9 +1,9 @@ -name="internxt-deb" +pkgname="internxt-deb" gives="internxt-drive" pkgver="1.9.9" repology=("project: ${gives}") -url="https://github.com/internxt/drive-desktop/releases/download/v${pkgver}/internxt-drive_${pkgver}_amd64.deb" +source=("https://github.com/internxt/drive-desktop/releases/download/v${pkgver}/internxt-drive_${pkgver}_amd64.deb") pkgdesc="The safest cloud storage for all your files, photos, and more" -hash="85c8ef9515d2264b62e4bd45a9ed9271221a1dc37760c4038d45582a9079352a" +sha256sums=("85c8ef9515d2264b62e4bd45a9ed9271221a1dc37760c4038d45582a9079352a") arch=('amd64') -maintainer="Elsie19 " +maintainer=("Elsie19 ") diff --git a/packages/ivpn-deb/ivpn-deb.pacscript b/packages/ivpn-deb/ivpn-deb.pacscript index ec0b3ee412..a567c13cd1 100644 --- a/packages/ivpn-deb/ivpn-deb.pacscript +++ b/packages/ivpn-deb/ivpn-deb.pacscript @@ -1,10 +1,10 @@ -name="ivpn-deb" +pkgname="ivpn-deb" gives="ivpn" breaks=("${gives}-git") repology=("project: ${gives}") pkgver="3.13.4" -url="https://repo.ivpn.net/stable/pool/${gives}_${pkgver}_amd64.deb" +source=("https://repo.ivpn.net/stable/pool/${gives}_${pkgver}_amd64.deb") pkgdesc="Official IVPN Desktop app - Base Package" -hash="10d8bf35ffedbdac2943fb7a3ab608eb8ae069dcc344e9b6b97b96a662372c35" +sha256sums=("10d8bf35ffedbdac2943fb7a3ab608eb8ae069dcc344e9b6b97b96a662372c35") arch=('amd64') -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") diff --git a/packages/ivpn-ui-deb/ivpn-ui-deb.pacscript b/packages/ivpn-ui-deb/ivpn-ui-deb.pacscript index ac12b69b53..3c8640f51b 100644 --- a/packages/ivpn-ui-deb/ivpn-ui-deb.pacscript +++ b/packages/ivpn-ui-deb/ivpn-ui-deb.pacscript @@ -1,11 +1,11 @@ -name="ivpn-ui-deb" +pkgname="ivpn-ui-deb" gives="ivpn-ui" pacdeps=("ivpn-deb") breaks=("${gives}-git") repology=("project: ${gives}") pkgver="3.13.4" -url="https://repo.ivpn.net/stable/pool/${gives}_${pkgver}_amd64.deb" +source=("https://repo.ivpn.net/stable/pool/${gives}_${pkgver}_amd64.deb") pkgdesc="Official IVPN Desktop app - UI Package" -hash="79c272ba4c73bb4e86b0ec5995d303c30086494af62fcfd86c929d055f2202b1" +sha256sums=("79c272ba4c73bb4e86b0ec5995d303c30086494af62fcfd86c929d055f2202b1") arch=('amd64') -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") diff --git a/packages/jellyfin-media-player-deb/jellyfin-media-player-deb.pacscript b/packages/jellyfin-media-player-deb/jellyfin-media-player-deb.pacscript index a9f63e703a..495c740768 100644 --- a/packages/jellyfin-media-player-deb/jellyfin-media-player-deb.pacscript +++ b/packages/jellyfin-media-player-deb/jellyfin-media-player-deb.pacscript @@ -1,34 +1,34 @@ -name="jellyfin-media-player-deb" +pkgname="jellyfin-media-player-deb" gives="jellyfin-media-player" pkgver="1.9.1" arch=('amd64') -breaks=("${name}-bin" "${name}" "${name}-app") +breaks=("${pkgname}-bin" "${pkgname}" "${pkgname}-app") pkgdesc="Jellyfin desktop client using jellyfin-web with embedded MPV player" codename="${DISTRO#*:}" -url="https://github.com/jellyfin/jellyfin-media-player/releases/download/v${pkgver}/${gives}_${pkgver}-1_amd64-${codename}.deb" +source=("https://github.com/jellyfin/jellyfin-media-player/releases/download/v${pkgver}/${gives}_${pkgver}-1_amd64-${codename}.deb") case "${codename}" in "bookworm") - hash="2eb9856dc6c7a62c5c635391dee8e5fb35bce06d5c6c132241523e4f04ad2416" + sha256sums=("2eb9856dc6c7a62c5c635391dee8e5fb35bce06d5c6c132241523e4f04ad2416") ;; "bullseye") - hash="5cac8cdf9271abb14b3fab637d0ef5bc31415198d009417cfaf087cb4218a3cd" + sha256sums=("5cac8cdf9271abb14b3fab637d0ef5bc31415198d009417cfaf087cb4218a3cd") ;; "focal") - hash="208ead4276fca396d15af7e87df31621cad09fea0a58c3fb33d096febf111a28" + sha256sums=("208ead4276fca396d15af7e87df31621cad09fea0a58c3fb33d096febf111a28") ;; "jammy") - hash="1fcc64c2d24cf9d9f3c9b29416cbdb921c77bf4497d0be9be92af8b372b96c1b" + sha256sums=("1fcc64c2d24cf9d9f3c9b29416cbdb921c77bf4497d0be9be92af8b372b96c1b") ;; "kinetic") - hash="ebe627b4db2559f01c7c99f599fc0c5e59097b7ab5e9c168295f513d940a9267" + sha256sums=("ebe627b4db2559f01c7c99f599fc0c5e59097b7ab5e9c168295f513d940a9267") ;; *) #Use Bullseye - url="https://github.com/jellyfin/jellyfin-media-player/releases/download/v${pkgver}/${gives}_${pkgver}-1_amd64-bullseye.deb" - hash="5cac8cdf9271abb14b3fab637d0ef5bc31415198d009417cfaf087cb4218a3cd" + source=("https://github.com/jellyfin/jellyfin-media-player/releases/download/v${pkgver}/${gives}_${pkgver}-1_amd64-bullseye.deb") + sha256sums=("5cac8cdf9271abb14b3fab637d0ef5bc31415198d009417cfaf087cb4218a3cd") ;; esac -maintainer="Gianluca Mastrolonardo " +maintainer=("Gianluca Mastrolonardo ") repology=("project: ${gives}") # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/jetbrains-toolbox-bin/jetbrains-toolbox-bin.pacscript b/packages/jetbrains-toolbox-bin/jetbrains-toolbox-bin.pacscript index 1742fe3e26..efc795d838 100644 --- a/packages/jetbrains-toolbox-bin/jetbrains-toolbox-bin.pacscript +++ b/packages/jetbrains-toolbox-bin/jetbrains-toolbox-bin.pacscript @@ -1,15 +1,15 @@ -name="jetbrains-toolbox-bin" -pkgname="jetbrains-toolbox" +pkgname="jetbrains-toolbox-bin" +gives="jetbrains-toolbox" pkgver="1.24.12080" -breaks=("${pkgname}" "${pkgname}-git" "${pkgname}-deb" "${pkgname}-app") -replace=("${pkgname}") -gives="${pkgname}" +breaks=("${gives}" "${gives}-git" "${gives}-deb" "${gives}-app") +replaces=("${gives}") pkgdesc="JetBrains Toolbox is a suite of professional development tools for a range of languages and technologies using JetBrains IDEs" -maintainer="Paul Cosma (saenai) " -hash="d819065a45d29d53646490fbd8ca45dbcaa3d544bdbc6da4494377460ddf6b79" -url="https://download-cdn.jetbrains.com/toolbox/${pkgname}-${pkgver}.tar.gz" +maintainer=("Paul Cosma (saenai) ") +sha256sums=("d819065a45d29d53646490fbd8ca45dbcaa3d544bdbc6da4494377460ddf6b79") +source=("https://download-cdn.jetbrains.com/toolbox/${gives}-${pkgver}.tar.gz") package() { - sudo mkdir -p "${pkgdir}/usr/bin" - sudo mv "./${pkgname}" "${pkgdir}/usr/bin" + cd "${_archive}" + mkdir -p "${pkgdir}/usr/bin" + mv "./${gives}" "${pkgdir}/usr/bin" } diff --git a/packages/joplin-desktop-app/joplin-desktop-app.pacscript b/packages/joplin-desktop-app/joplin-desktop-app.pacscript index e103c0f5ca..a682da4ec8 100644 --- a/packages/joplin-desktop-app/joplin-desktop-app.pacscript +++ b/packages/joplin-desktop-app/joplin-desktop-app.pacscript @@ -1,21 +1,27 @@ -name="joplin-desktop-app" +pkgname="joplin-desktop-app" gives="joplin-desktop" pkgver="2.14.20" makedepends=("libfuse2") depends=("libfuse2") homepage='https://joplinapp.org/' pkgdesc="Joplin - the secure note taking and to-do app with synchronisation capabilities for Windows, macOS, Linux, Android and iOS" -url="https://github.com/laurent22/joplin/releases/download/v${pkgver}/Joplin-${pkgver}.AppImage" -hash="2d53781c72d0a94f3f4739c5ca1b00202af9d1850a9632283bdba5b16f688620" +source=( + "https://github.com/laurent22/joplin/releases/download/v${pkgver}/Joplin-${pkgver}.AppImage" + "joplin-desktop.png::https://joplinapp.org/images/Icon512.png" +) +sha256sums=( + "2d53781c72d0a94f3f4739c5ca1b00202af9d1850a9632283bdba5b16f688620" + "SKIP" +) repology=("project: joplin-desktop") arch=("amd64") -maintainer="lfromanini " +maintainer=("lfromanini ") package() { - sudo install -Dm755 "Joplin-${pkgver}.AppImage" "${pkgdir}/usr/bin/${gives}" - wget -q -O "joplin-desktop.png" "https://joplinapp.org/images/Icon512.png" - sudo install -Dm644 "joplin-desktop.png" "${pkgdir}/usr/share/pixmaps/joplin-desktop.png" - sudo mkdir -p "${pkgdir}/usr/share/applications/" + cd "${_archive}" + install -Dm755 "Joplin-${pkgver}.AppImage" "${pkgdir}/usr/bin/${gives}" + install -Dm644 "${srcdir}/joplin-desktop.png" "${pkgdir}/usr/share/pixmaps/joplin-desktop.png" + mkdir -p "${pkgdir}/usr/share/applications/" echo "[Desktop Entry] Encoding=UTF-8 Name=Joplin @@ -27,5 +33,5 @@ package() { Categories=Office; MimeType=x-scheme-handler/joplin; X-GNOME-SingleWindow=true - X-SingleMainWindow=true" | sudo tee "${pkgdir}/usr/share/applications/joplin-desktop.desktop" > /dev/null + X-SingleMainWindow=true" | tee "${pkgdir}/usr/share/applications/joplin-desktop.desktop" > /dev/null } diff --git a/packages/kakoune/kakoune.pacscript b/packages/kakoune/kakoune.pacscript index 09af9a0ddb..3f2954cb3f 100644 --- a/packages/kakoune/kakoune.pacscript +++ b/packages/kakoune/kakoune.pacscript @@ -1,19 +1,21 @@ -name="kakoune" +pkgname="kakoune" pkgver="2023.08.05" pkgdesc="mawww's experiment for a better code editor" -repology=("project: ${name}") -homepage="https://kakoune.org/" +repology=("project: ${pkgname}") +url="https://kakoune.org/" arch=("amd64" "arm64" "i386") -replace=("${name}") -maintainer="vigress8 " -url="https://github.com/mawww/${name}/archive/refs/tags/v${pkgver}.tar.gz" -hash="1ad7bfe9e1d861115cd418cb500990ea5fa63726e998df13702e5caa8fc84356" +replaces=("${pkgname}") +maintainer=("vigress8 ") +source=("https://github.com/mawww/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz") +sha256sums=("1ad7bfe9e1d861115cd418cb500990ea5fa63726e998df13702e5caa8fc84356") build() { + cd "${_archive}" cd src make -j"${NCPU}" } package() { - sudo make install DESTDIR="${pkgdir}" + cd "${_archive}" + make install DESTDIR="${pkgdir}" } diff --git a/packages/kalendar-git/kalendar-git.pacscript b/packages/kalendar-git/kalendar-git.pacscript old mode 100755 new mode 100644 index 8be4fc08bc..85c1ae4fc1 --- a/packages/kalendar-git/kalendar-git.pacscript +++ b/packages/kalendar-git/kalendar-git.pacscript @@ -1,29 +1,28 @@ -name="kalendar-git" -pkgname="kalendar" -url="https://invent.kde.org/pim/kalendar.git" +pkgname="kalendar-git" +gives="kalendar" +source=("https://invent.kde.org/pim/kalendar.git") pkgver="23.07.80" makedepends=("git" "cmake" "build-essential" "extra-cmake-modules" "qtbase5-dev" "qtdeclarative5-dev" "libqt5svg5-dev" "qtquickcontrols2-5-dev" "kirigami2-dev" "libkf5i18n-dev" "libkf5coreaddons-dev" "qtlocation5-dev" "qtpositioning5-dev" "libkf5mime-dev" "libkf5calendarsupport-dev" "libkf5akonadicontact-dev" "libkf5akonadi-dev" "libkf5windowsystem-dev" "libkf5package-dev" "libkf5calendarcore-dev" "libkf5configwidgets-dev" "libkf5contacts-dev" "libkf5people-dev" "libkf5eventviews-dev" "libkf5notifications-dev" "libkf5qqc2desktopstyle-dev" "ninja-build" "libgpgme-dev" "libkf5mailcommon-dev" "libkf5pimcommon-dev" "libkf5templateparser-dev" "libkf5webengineviewer-dev" "libkf5messageviewer-dev" "libkf5messagecomposer-dev" "kirigami-addons-dev") depends=("gettext" "qml-module-org-kde-kirigami2" "qml-module-qtquick-layouts" "qml-module-qtlocation" "qml-module-qt-labs-qmlmodels" "qml-module-qtpositioning" "kdepim-runtime" "akonadi-server" "libc6" "libgcc-s1" "libkf5akonadicalendar5abi2" "libkf5akonadicontact5abi1" "libkf5akonadicore-bin" "libkf5akonadicore5abi2" "libkf5akonadiwidgets5abi1" "libkf5calendarcore5abi2" "libkf5calendarsupport5abi1" "libkf5configcore5" "libkf5configgui5" "libkf5configwidgets5" "libkf5contacts5" "libkf5coreaddons5" "libkf5dbusaddons5" "libkf5eventviews5abi1" "libkf5i18n5" "libkf5itemmodels5" "libkf5widgetsaddons5" "libkf5windowsystem5" "libkf5xmlgui5" "libqt5core5a" "libqt5dbus5" "libqt5gui5" "libqt5qml5" "libqt5quick5" "libqt5quickcontrols2-5" "libqt5widgets5" "libstdc++6" "qml-module-org-kde-kirigami2" "qml-module-qt-labs-qmlmodels" "qml-module-qtlocation" "qml-module-qtpositioning") -breaks=("${pkgname}" "${pkgname}-bin" "${pkgname}-app" "${pkgname}-deb") +breaks=("${gives}" "${gives}-bin" "${gives}-app" "${gives}-deb") pkgdesc="A calendar application using Akonadi to sync with external services (Nextcloud, GMail, ...)" incompatible=("ubuntu:bionic" "ubuntu:focal" "ubuntu:jammy" "ubuntu:kinetic" "debian:stretch" "debian:buster" "debian:bullseye") -maintainer="Zahrun " +maintainer=("Zahrun ") arch=('amd64') -pkgver() { - git ls-remote "${url}" refs/heads/master | cut -f1 | cut -c1-8 -} build() { + cd "${_archive}" mkdir build && cd build || exit cmake .. -DCMAKE_INSTALL_PREFIX="${pkgdir}/usr" -GNinja ninja -j"${NCPU}" } package() { + cd "${_archive}" cd build || exit - sudo cmake --install . - sudo install -Dm644 "../LICENSES/"* -t "${pkgdir}/usr/share/licenses/${name}/" + cmake --install . + install -Dm644 "../LICENSES/"* -t "${pkgdir}/usr/share/licenses/${pkgname}/" cd "${pkgdir}/usr/lib/x86_64-linux-gnu/" || exit - sudo mkdir qt5 - sudo mv qml qt5 + mkdir qt5 + mv qml qt5 } diff --git a/packages/keepassxc/keepassxc.pacscript b/packages/keepassxc/keepassxc.pacscript index 3eb3d884cb..162fed4d99 100644 --- a/packages/keepassxc/keepassxc.pacscript +++ b/packages/keepassxc/keepassxc.pacscript @@ -1,12 +1,12 @@ -name="keepassxc" +pkgname="keepassxc" pkgver="2.7.6" pkgdesc="Cross-platform community-driven port of Keepass password manager" repology=("project: keepassxc") -url="https://github.com/keepassxreboot/keepassxc/releases/download/${pkgver}/keepassxc-${pkgver}-src.tar.xz" -hash="a58074509fa8e90f152c6247f73e75e126303081f55eedb4ea0cbb6fa980d670" -maintainer="Oren Klopfer " +source=("https://github.com/keepassxreboot/keepassxc/releases/download/${pkgver}/keepassxc-${pkgver}-src.tar.xz") +sha256sums=("a58074509fa8e90f152c6247f73e75e126303081f55eedb4ea0cbb6fa980d670") +maintainer=("Oren Klopfer ") gives="org.freedesktop.secrets" -breaks=("${name}" "${name}-bin" "${name}-git" "${name}-deb") +breaks=("${pkgname}" "${pkgname}-bin" "${pkgname}-git" "${pkgname}-deb") depends=("argon2" "botan" "curl" "hicolor-icon-theme" "libxtst6" "minizip" "libpcsclite1" "qrencode" "libqt5x11extras5" "libqt5svg5" "libminizip1" "libqrencode4" "qt5-qmake" "qtbase5-dev" "qtchooser" "qt5-qmake" "qtbase5-dev-tools") makedepends=("cmake" "asciidoctor" "libqrencode-dev" "libbotan-2-dev" "libargon2-dev" "libpcsclite-dev" "libminizip-dev" "libusb-1.0-0-dev" "libreadline-dev" "libqt5x11extras5-dev" "libqt5svg5-dev" "zlib1g-dev" "libxtst-dev" "qtbase5-private-dev" "qttools5-dev" "qtbase5-dev" "qt5-qmake" "qtbase5-dev-tools" "qtdeclarative5-dev") @@ -14,6 +14,7 @@ optdepends=("xclip: keepassxc-cli clipboard support under X server" "wl-clipboard: keepassxc-cli clipboard support under Wayland") build() { + cd "${_archive}" cmake -S . -B build \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ @@ -24,5 +25,6 @@ build() { } package() { - sudo cmake --build build --target install -- DESTDIR="${pkgdir}" + cd "${_archive}" + cmake --build build --target install -- DESTDIR="${pkgdir}" } diff --git a/packages/keybase-deb/keybase-deb.pacscript b/packages/keybase-deb/keybase-deb.pacscript index aa640e5020..fd8872b79d 100644 --- a/packages/keybase-deb/keybase-deb.pacscript +++ b/packages/keybase-deb/keybase-deb.pacscript @@ -1,12 +1,12 @@ -name="keybase-deb" +pkgname="keybase-deb" gives="keybase" -replace=("${gives}") +replaces=("${gives}") breaks=("${gives}-git" "${gives}-app" "${gives}") repology=("project: ${gives}") # Version and Hash from https://prerelease.keybase.io/deb/dists/stable/main/binary-amd64/Packages pkgver="6.0.2-20220610191041.a459abf326" -url="https://prerelease.keybase.io/linux_binaries/deb/${gives}_${pkgver}_amd64.deb" +source=("https://prerelease.keybase.io/linux_binaries/deb/${gives}_${pkgver}_amd64.deb") pkgdesc="The Keybase Go client, filesystem, and GUI" -hash="14c85b312b891eae5de44d1d4d5024d36cbce545e686d299624e2a71b9e14712" +sha256sums=("14c85b312b891eae5de44d1d4d5024d36cbce545e686d299624e2a71b9e14712") arch=('amd64') -maintainer="Marie Piontek " +maintainer=("Marie Piontek ") diff --git a/packages/kirc/kirc.pacscript b/packages/kirc/kirc.pacscript index d5a76b8941..e12a48571c 100644 --- a/packages/kirc/kirc.pacscript +++ b/packages/kirc/kirc.pacscript @@ -1,18 +1,20 @@ -name="kirc" -repology=("project: ${name}") +pkgname="kirc" +repology=("project: ${pkgname}") pkgver="0.3.2" -url="https://github.com/mcpcpc/${name}/archive/refs/tags/${pkgver}.tar.gz" +source=("https://github.com/mcpcpc/${pkgname}/archive/refs/tags/${pkgver}.tar.gz") makedepends=("automake") -breaks=("${name}-git") -replace=("${name}") +breaks=("${pkgname}-git") +replaces=("${pkgname}") pkgdesc="A tiny IRC client written in POSIX C99" -hash="a45172198873fb34c64150262be4515a7be268a5c00566c79f03a8ea2dd7900e" -maintainer="WRM-42 " +sha256sums=("a45172198873fb34c64150262be4515a7be268a5c00566c79f03a8ea2dd7900e") +maintainer=("WRM-42 ") build() { + cd "${_archive}" make -j"${NCPU}" } package() { - sudo make install DESTDIR="${pkgdir}" + cd "${_archive}" + make install DESTDIR="${pkgdir}" } diff --git a/packages/komorebi-fork-deb/komorebi-fork-deb.pacscript b/packages/komorebi-fork-deb/komorebi-fork-deb.pacscript index 423b61bc52..ea5f064aed 100644 --- a/packages/komorebi-fork-deb/komorebi-fork-deb.pacscript +++ b/packages/komorebi-fork-deb/komorebi-fork-deb.pacscript @@ -1,11 +1,11 @@ -name="komorebi-fork-deb" +pkgname="komorebi-fork-deb" gives="komorebi" -replace=("${gives}") +replaces=("${gives}") pkgver="2.2.1" -url="https://github.com/Komorebi-Fork/${gives}/releases/download/v${pkgver}/${gives}_${pkgver}-1_amd64.deb" +source=("https://github.com/Komorebi-Fork/${gives}/releases/download/v${pkgver}/${gives}_${pkgver}-1_amd64.deb") pkgdesc="A beautiful and customizable wallpaper manager for Linux" -hash="86ef373fb2fb645cdf72af192916dbe278d886283e1ee534843b6d259f3c08ab" +sha256sums=("86ef373fb2fb645cdf72af192916dbe278d886283e1ee534843b6d259f3c08ab") arch=('amd64') -maintainer="0x262D " +maintainer=("0x262D ") repology=("project: komorebi-fork") # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/koodo-reader-deb/koodo-reader-deb.pacscript b/packages/koodo-reader-deb/koodo-reader-deb.pacscript index 3b1bc0e360..0097d701dd 100644 --- a/packages/koodo-reader-deb/koodo-reader-deb.pacscript +++ b/packages/koodo-reader-deb/koodo-reader-deb.pacscript @@ -1,19 +1,13 @@ -name="koodo-reader-deb" +pkgname="koodo-reader-deb" gives="koodo-reader" pkgver="1.5.3" -replace=("${gives}") -case "${CARCH}" in - amd64) - url="https://github.com/troyeguo/koodo-reader/releases/download/v${pkgver}/Koodo.Reader-${pkgver}-amd64.deb" - hash="443991e8250c3c19efad826d8aeb37cfe3183ed8fbd49239cc799c40e5990b42" - ;; - arm64) - url="https://github.com/troyeguo/koodo-reader/releases/download/v${pkgver}/Koodo.Reader-${pkgver}-arm64.deb" - hash="789f997458408ceb2089db84929805f0fd75b0a2a58d34867fc68b62ec36cc4f" - ;; - *) return 1 ;; -esac +replaces=("${gives}") +source_amd64=("https://github.com/troyeguo/koodo-reader/releases/download/v${pkgver}/Koodo.Reader-${pkgver}-amd64.deb") +sha256sums_amd64=("443991e8250c3c19efad826d8aeb37cfe3183ed8fbd49239cc799c40e5990b42") +source_arm64=("https://github.com/troyeguo/koodo-reader/releases/download/v${pkgver}/Koodo.Reader-${pkgver}-arm64.deb") +sha256sums_arm64=("789f997458408ceb2089db84929805f0fd75b0a2a58d34867fc68b62ec36cc4f") + repology=("project: koodo-reader") arch=('amd64' 'arm64') pkgdesc=" A cross-platform ebook reader" -maintainer="সৌম্যদীপ " +maintainer=("সৌম্যদীপ ") diff --git a/packages/krita-app/krita-app.pacscript b/packages/krita-app/krita-app.pacscript index bd8085197e..b98a03cfbc 100644 --- a/packages/krita-app/krita-app.pacscript +++ b/packages/krita-app/krita-app.pacscript @@ -1,24 +1,29 @@ -name="krita-app" +pkgname="krita-app" gives="krita" pkgver="5.1.5" -homepage="https://krita.org/" +url="https://krita.org/" pkgdesc="Edit and paint images" -url="https://download.kde.org/stable/${gives}/${pkgver}/${gives}-${pkgver}-x86_64.appimage" -hash="a1f7e951a8c5a43da70a56de5199fb807e44e3156973721d7d3a14974fbc225c" -__icon_url="https://github.com/AppImage/appimage.github.io/blob/master/database/Krita/icons/scalable/krita.svgz" +source=( + "https://download.kde.org/stable/${gives}/${pkgver}/${gives}-${pkgver}-x86_64.appimage" + "https://github.com/AppImage/appimage.github.io/blob/master/database/Krita/icons/scalable/krita.svgz" +) +sha256sums=( + "a1f7e951a8c5a43da70a56de5199fb807e44e3156973721d7d3a14974fbc225c" + "SKIP" +) repology=("project: krita") arch=("amd64") -maintainer="harrietobrien " +maintainer=("harrietobrien ") package() { - sudo chmod +x "${gives}-${pkgver}-x86_64.appimage" - sudo install -Dm755 "${gives}-${pkgver}-x86_64.appimage" "${pkgdir}/usr/bin/${gives}" - wget -q -O "krita.svgz" "${__icon_url}" - sudo install -Dm644 "krita.svgz" "${pkgdir}/usr/share/pixmaps/krita.svgz" - sudo mkdir -p "${pkgdir}/usr/share/applications/" + cd "${_archive}" + chmod +x "${gives}-${pkgver}-x86_64.appimage" + install -Dm755 "${gives}-${pkgver}-x86_64.appimage" "${pkgdir}/usr/bin/${gives}" + install -Dm644 "${srcdir}/krita.svgz" "${pkgdir}/usr/share/pixmaps/krita.svgz" + mkdir -p "${pkgdir}/usr/share/applications/" echo "[Desktop Entry] Name=Krita Icon=krita Type=Application - Exec=/usr/bin/krita" | sudo tee "${pkgdir}/usr/share/applications/krita.desktop" > /dev/null + Exec=/usr/bin/krita" | tee "${pkgdir}/usr/share/applications/krita.desktop" > /dev/null } diff --git a/packages/kvantum/kvantum.pacscript b/packages/kvantum/kvantum.pacscript index 743e000617..fa1a401a92 100644 --- a/packages/kvantum/kvantum.pacscript +++ b/packages/kvantum/kvantum.pacscript @@ -1,13 +1,14 @@ -name="kvantum" +pkgname="kvantum" pkgver="1.0.10" -url="https://github.com/tsujan/Kvantum/releases/download/V${pkgver}/Kvantum-${pkgver}.tar.xz" +source=("https://github.com/tsujan/Kvantum/releases/download/V${pkgver}/Kvantum-${pkgver}.tar.xz") makedepends=("g++" "cmake" "libx11-dev" "qtbase5-dev" "libqt5svg5-dev" "libqt5x11extras5-dev" "libkf5windowsystem-dev" "libxext-dev") breaks=("qt5-style-kvantum") pkgdesc="SVG-based theme engine for Qt" incompatible=('debian:bullseye') -hash="4a070a1a6fac3d1861010aa44d34e665e4697bc64c4c5015a6448203c31f1f1f" +sha256sums=("4a070a1a6fac3d1861010aa44d34e665e4697bc64c4c5015a6448203c31f1f1f") build() { + cd "${_archive}" cd Kvantum mkdir build && cd build cmake .. @@ -15,6 +16,7 @@ build() { } package() { + cd "${_archive}" cd Kvantum/build - sudo make install DESTDIR="${pkgdir}" + make install DESTDIR="${pkgdir}" } diff --git a/packages/kxstudio-repos-deb/kxstudio-repos-deb.pacscript b/packages/kxstudio-repos-deb/kxstudio-repos-deb.pacscript index bb360ca6f5..0a4113815f 100644 --- a/packages/kxstudio-repos-deb/kxstudio-repos-deb.pacscript +++ b/packages/kxstudio-repos-deb/kxstudio-repos-deb.pacscript @@ -1,7 +1,7 @@ -name="kxstudio-repos-deb" +pkgname="kxstudio-repos-deb" pkgver="10.0.3" -url="https://launchpad.net/~kxstudio-debian/+archive/kxstudio/+files/kxstudio-repos_${pkgver}_all.deb" +source=("https://launchpad.net/~kxstudio-debian/+archive/kxstudio/+files/kxstudio-repos_${pkgver}_all.deb") gives="kxstudio-repos" pkgdesc="Enables the KXStudio repositories." -hash="a73597e4575a065acdaa2c0217b167818447e1ca509bc1ad080042c8c47060b1" -maintainer="echometerain " +sha256sums=("a73597e4575a065acdaa2c0217b167818447e1ca509bc1ad080042c8c47060b1") +maintainer=("echometerain ") diff --git a/packages/lagrange/lagrange.pacscript b/packages/lagrange/lagrange.pacscript index 6614b78ae6..44777f9522 100644 --- a/packages/lagrange/lagrange.pacscript +++ b/packages/lagrange/lagrange.pacscript @@ -1,21 +1,24 @@ -name="lagrange" +pkgname="lagrange" pkgver="1.3.4" license="BSD-2" -url="https://git.skyjake.fi/gemini/lagrange/releases/download/v1.3.4/lagrange-1.3.4.tar.gz" +source=("https://git.skyjake.fi/gemini/lagrange/releases/download/v1.3.4/lagrange-1.3.4.tar.gz") depends=("git" "cmake" "libsdl2-dev" "libssl-dev" "libpcre3-dev" "zlib1g-dev" "libunistring-dev" "libmpg123-dev") pkgdesc="A Beautiful Gemini Client" -hash="0602bf65d79a1495818ab64717951d1c99057ed20e8c7bb621c8d5b693420b81" +sha256sums=("0602bf65d79a1495818ab64717951d1c99057ed20e8c7bb621c8d5b693420b81") prepare() { + cd "${_archive}" mkdir build } build() { + cd "${_archive}" cmake . -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="${pkgdir}/usr" -DENABLE_123=ON } package() { - sudo cmake --build . --target install -- -j "${NCPU}" + cd "${_archive}" + cmake --build . --target install -- -j "${NCPU}" } post_install() { diff --git a/packages/latte-dock-git/latte-dock-git.pacscript b/packages/latte-dock-git/latte-dock-git.pacscript old mode 100755 new mode 100644 index 7fc4e758df..308296f7b1 --- a/packages/latte-dock-git/latte-dock-git.pacscript +++ b/packages/latte-dock-git/latte-dock-git.pacscript @@ -6,22 +6,20 @@ # \ // \/ -- \ # \__/\ / \_______ \______ / # \/ \/ \/ -maintainer="wizard-28 " +maintainer=("wizard-28 ") -name="latte-dock-git" -pkgname="latte-dock" +pkgname="latte-dock-git" +gives="latte-dock" pkgdesc="Replacement dock for Plasma desktops, providing an elegant and intuitive experience for your tasks and plasmoids" -url="https://invent.kde.org/plasma/latte-dock.git" +source=("https://invent.kde.org/plasma/latte-dock.git") pkgver="0.10.8" makedepends=("cmake" "extra-cmake-modules" "qtdeclarative5-dev" "libqt5x11extras5-dev" "libkf5iconthemes-dev" "libkf5plasma-dev" "libkf5windowsystem-dev" "libkf5declarative-dev" "libkf5xmlgui-dev" "libkf5activities-dev" "build-essential" "libxcb-util-dev" "libkf5wayland-dev" "git" "gettext" "libkf5archive-dev" "libkf5notifications-dev" "libxcb-util0-dev" "libsm-dev" "libkf5crash-dev" "libkf5newstuff-dev" "libxcb-shape0-dev" "libxcb-randr0-dev" "libx11-dev" "libx11-xcb-dev" "kirigami2-dev" "libwayland-dev" "libwayland-client0" "plasma-wayland-protocols" "libqt5waylandclient5-dev" "qtwayland5-dev-tools" "python3-pip" "plasma-workspace-dev") depends=("plasma-workspace" "plasma-desktop") -breaks=("${pkgname}" "${pkgname}-bin") +breaks=("${gives}" "${gives}-bin") incompatible=("debian:bullseye") -pkgver() { - git ls-remote "${url}" master | cut -f1 | cut -c1-8 -} build() { + cd "${_archive}" # Build rquired files mkdir build && cd build cmake -DCMAKE_INSTALL_PREFIX=/usr \ @@ -29,8 +27,9 @@ build() { } package() { + cd "${_archive}" # Install awesome cd build/ - sudo make install DESTDIR="${pkgdir}" + make install DESTDIR="${pkgdir}" } # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/lazarus-project-deb/lazarus-project-deb.pacscript b/packages/lazarus-project-deb/lazarus-project-deb.pacscript index 0e67c2ec4e..9647d347a9 100644 --- a/packages/lazarus-project-deb/lazarus-project-deb.pacscript +++ b/packages/lazarus-project-deb/lazarus-project-deb.pacscript @@ -1,10 +1,10 @@ -name="lazarus-project-deb" +pkgname="lazarus-project-deb" pkgver="3.2" gives="lazarus-project" breaks=("lazarus-ide-qt6") pacdep=("fpc-laz-deb" "fpc-src-deb") repology=("project: lazarus") -url="https://sourceforge.net/projects/lazarus/files/Lazarus%20Linux%20amd64%20DEB/Lazarus%203.2/lazarus-project_3.2.0-0_amd64.deb" +source=("https://sourceforge.net/projects/lazarus/files/Lazarus%20Linux%20amd64%20DEB/Lazarus%203.2/lazarus-project_3.2.0-0_amd64.deb") pkgdesc='Delphi-like IDE for FreePascal gtk2 version' -hash="82bce48deca77432a1e95b300a358f8de9650179eeb9c5700bc85684e1839f4b" -maintainer="xdavius " +sha256sums=("82bce48deca77432a1e95b300a358f8de9650179eeb9c5700bc85684e1839f4b") +maintainer=("xdavius ") diff --git a/packages/lazygit/lazygit.pacscript b/packages/lazygit/lazygit.pacscript index 3409b9e785..7e3c7282a0 100644 --- a/packages/lazygit/lazygit.pacscript +++ b/packages/lazygit/lazygit.pacscript @@ -1,14 +1,15 @@ -name="lazygit" +pkgname="lazygit" gives="lazygit" pkgver="0.40.2" -url="https://github.com/jesseduffield/lazygit/releases/download/v${pkgver}/lazygit_${pkgver}_Linux_x86_64.tar.gz" -homepage="https://github.com/jesseduffield/lazygit" +source=("https://github.com/jesseduffield/lazygit/releases/download/v${pkgver}/lazygit_${pkgver}_Linux_x86_64.tar.gz") +url="https://github.com/jesseduffield/lazygit" pkgdesc="simple terminal UI for git commands" -maintainer="Thomas Crha " +maintainer=("Thomas Crha ") depends=("git") -hash="ff05cb8ebd0785ce220975e5cd394bc200424d9a58727fa81e0bbb3828db7ff1" +sha256sums=("ff05cb8ebd0785ce220975e5cd394bc200424d9a58727fa81e0bbb3828db7ff1") package() { - sudo install -Dm755 "lazygit" "/usr/local/bin/lazygit" + cd "${_archive}" + install -Dm755 "lazygit" "/usr/local/bin/lazygit" } # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/lbry-deb/lbry-deb.pacscript b/packages/lbry-deb/lbry-deb.pacscript index f0843595eb..cdd00863e6 100644 --- a/packages/lbry-deb/lbry-deb.pacscript +++ b/packages/lbry-deb/lbry-deb.pacscript @@ -1,8 +1,8 @@ -name="lbry-deb" +pkgname="lbry-deb" gives="lbry" breaks=("${gives}" "${gives}-bin" "${gives}-git" "${gives}-app") pkgver="0.53.4" -url="https://github.com/lbryio/lbry-desktop/releases/download/v${pkgver}/LBRY_${pkgver}.deb" +source=("https://github.com/lbryio/lbry-desktop/releases/download/v${pkgver}/LBRY_${pkgver}.deb") pkgdesc="A browser and wallet for LBRY, the decentralized, user-controlled content marketplace." -hash="31ca3c2909b74f84cbf4ee9918cf437965063a3bc017bd1eed49c8bba928b4ff" -maintainer="Madiator2011 " +sha256sums=("31ca3c2909b74f84cbf4ee9918cf437965063a3bc017bd1eed49c8bba928b4ff") +maintainer=("Madiator2011 ") diff --git a/packages/lemonbar-xft-git/lemonbar-xft-git.pacscript b/packages/lemonbar-xft-git/lemonbar-xft-git.pacscript index 868f202a76..88e5461238 100644 --- a/packages/lemonbar-xft-git/lemonbar-xft-git.pacscript +++ b/packages/lemonbar-xft-git/lemonbar-xft-git.pacscript @@ -1,18 +1,17 @@ -name="lemonbar-xft-git" +pkgname="lemonbar-xft-git" pkgver="0.0.1" -url="https://gitlab.com/protesilaos/lemonbar-xft" +source=("git+https://gitlab.com/protesilaos/lemonbar-xft") makedepends=("build-essential" "libx11-dev" "libxft-dev" "libx11-xcb-dev" "libxcb-randr0-dev" "libxcb-xinerama0-dev") breaks=("bar" "lemonbar") pkgdesc="A lightweight xcb based bar with ported xft support." -hash="c2ca60846e0cade326969dd3f1f10e723f1a94d90d0335132b844932e41effff" -pkgver() { - git ls-remote "${url}" xft-port | cut -f1 | cut -c1-8 -} +sha256sums=("c2ca60846e0cade326969dd3f1f10e723f1a94d90d0335132b844932e41effff") build() { + cd "${_archive}" make -j"${NCPU}" } package() { - sudo make install DESTDIR="${pkgdir}" + cd "${_archive}" + make install DESTDIR="${pkgdir}" } diff --git a/packages/lens/lens.pacscript b/packages/lens/lens.pacscript index 408d167aae..49dd80ed26 100644 --- a/packages/lens/lens.pacscript +++ b/packages/lens/lens.pacscript @@ -1,16 +1,17 @@ -name="lens" +pkgname="lens" _name="Lens" pkgver="1.0.2" -url="https://www.auburnsounds.com/downloads/${_name}-FREE-${pkgver}.zip" +source=("https://www.auburnsounds.com/downloads/${_name}-FREE-${pkgver}.zip") pkgdesc="LENS is a spectral dynamics processor with unbelievable punch and clarity." -hash="bd7c1b6ba8f7ad8ac2ee674f881e06f9650cf863ad7ee79d22e30b4d853dad19" -maintainer="echometerain " +sha256sums=("bd7c1b6ba8f7ad8ac2ee674f881e06f9650cf863ad7ee79d22e30b4d853dad19") +maintainer=("echometerain ") package() { - sudo mkdir -p "${pkgdir}/usr/lib/lv2" - sudo mv "./Linux/Linux-64b-LV2-FREE" "${pkgdir}/usr/lib/lv2/Auburn Sounds ${_name}.lv2" - sudo mkdir -p "${pkgdir}/usr/lib/vst" - sudo mv "./Linux/Linux-64b-VST2-FREE" "${pkgdir}/usr/lib/vst/Auburn Sounds ${_name}.VST2" - sudo mkdir -p "${pkgdir}/usr/lib/vst3" - sudo mv "./Linux/Linux-64b-VST3-FREE/Auburn Sounds ${_name}.vst3" "${pkgdir}/usr/lib/vst3/Auburn Sounds ${_name}.vst3" + cd "${_archive}" + mkdir -p "${pkgdir}/usr/lib/lv2" + mv "./Linux/Linux-64b-LV2-FREE" "${pkgdir}/usr/lib/lv2/Auburn Sounds ${_name}.lv2" + mkdir -p "${pkgdir}/usr/lib/vst" + mv "./Linux/Linux-64b-VST2-FREE" "${pkgdir}/usr/lib/vst/Auburn Sounds ${_name}.VST2" + mkdir -p "${pkgdir}/usr/lib/vst3" + mv "./Linux/Linux-64b-VST3-FREE/Auburn Sounds ${_name}.vst3" "${pkgdir}/usr/lib/vst3/Auburn Sounds ${_name}.vst3" } diff --git a/packages/lf-bin/lf-bin.pacscript b/packages/lf-bin/lf-bin.pacscript index 5c7c8097b9..1161f86506 100644 --- a/packages/lf-bin/lf-bin.pacscript +++ b/packages/lf-bin/lf-bin.pacscript @@ -1,42 +1,18 @@ -name="lf-bin" -pkgname="lf" -repology=("project: ${pkgname}") -gives="${pkgname}" +pkgname="lf-bin" +gives="lf" +repology=("project: ${gives}") pkgver="31" -breaks=("${pkgname}-git") -replace=("${pkgname}") +breaks=("${gives}-git") +replaces=("${gives}") pkgdesc="Terminal file manager written in Go" arch=('amd64' 'i386' 'arm64' 'armhf' 'mips' 'mips64el' 'ppc64' 'ppc64el' 's390x') -maintainer="Romario " +maintainer=("Romario ") -case "${CARCH}" in - amd64) - hash="db529fbc0c9ba66d426d7acde95a3520ff67c02162b115415ec2c288b2867f02" ;; - i386) - archname="386" - hash="9561652ace9d9a493ff53e1ec94339a3e1eb15bc7fb386dfd9ce33735ce638b8" ;; - arm64) - hash="d2108d911031764e8eda2174d4ac79d7d50423ed2cab866c2743a15e4e9a4109" ;; - armhf) - archname="arm" - hash="e37df7248df110d4782ff703477be1192313458caaeb0849bc477d8da8b1819b" ;; - mips) - hash="74d130045bc919fdc5617b3751ebc7cd1cdfb4d56f6a129cda57ed6287f117f0" ;; - mips64el) - archname="mips64le" - hash="8fe96639c0e5e5485ef00525b20980be6655ba35df53b26d87f474a2e91f9d44" ;; - ppc64) - hash="6b8d133d48a003ced8879cf07dd1306e195f79dcbe8c05df88dc61af5f9fb648" ;; - ppc64el) - archname="ppc64le" - hash="37f22c711bf5f0a0f03e7de7810b96cba187ab8f573a8cc029d8d835d3666b8f" ;; - s390x) - hash="c1f5c9589a74c105cc25c4b870a93de0692d94e91044a7e04a52a91da00ca3ef" ;; - *) ;; -esac -url="https://github.com/gokcehan/${pkgname}/releases/download/r${pkgver}/${pkgname}-linux-${archname:-${CARCH}}.tar.gz" + +source=("https://github.com/gokcehan/${gives}/releases/download/r${pkgver}/${gives}-linux-${archname:-${CARCH}}.tar.gz") package() { - sudo install -Dm755 "${gives}" -t "${pkgdir}/usr/bin" + cd "${_archive}" + install -Dm755 "${gives}" -t "${pkgdir}/usr/bin" } diff --git a/packages/libcamera-git/libcamera-git.pacscript b/packages/libcamera-git/libcamera-git.pacscript index a93f124cdd..64940702c7 100644 --- a/packages/libcamera-git/libcamera-git.pacscript +++ b/packages/libcamera-git/libcamera-git.pacscript @@ -1,7 +1,7 @@ -name="libcamera-git" +pkgname="libcamera-git" gives="libcamera" pkgver="0.1.0" -url="https://git.libcamera.org/libcamera/libcamera.git" +source=("https://git.libcamera.org/libcamera/libcamera.git") if [[ "$(lsb_release -cs)" == "focal" ]]; then pacdeps=("meson-focal-deb") else @@ -11,17 +11,16 @@ makedepends=("build-essential" "ninja-build" "pkg-config" "libyaml-dev" "python3 if [[ -n ${MESON} ]]; then makedepends+=("${MESON}") fi -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") pkgdesc="Open source camera stack and framework" -pkgver() { - git ls-remote "${url}" master | cut -f1 | cut -c1-8 -} build() { - sudo meson setup build - sudo ninja -C build -j"${NCPU}" + cd "${_archive}" + meson setup build + ninja -C build -j"${NCPU}" } package() { - sudo DESTDIR="${pkgdir}" ninja -C build install + cd "${_archive}" + DESTDIR="${pkgdir}" ninja -C build install } diff --git a/packages/libcutefish-git/libcutefish-git.pacscript b/packages/libcutefish-git/libcutefish-git.pacscript index 77da04fc4f..1c284ab290 100644 --- a/packages/libcutefish-git/libcutefish-git.pacscript +++ b/packages/libcutefish-git/libcutefish-git.pacscript @@ -1,25 +1,25 @@ -name="libcutefish-git" +pkgname="libcutefish-git" gives="libcutefish" pkgver="0.7" -url="https://github.com/cutefishos/libcutefish.git" +source=("https://github.com/cutefishos/libcutefish.git") license="GPL-3.0" makedepends=("extra-cmake-modules" "ninja-build" "qttools5-dev-tools" "qtbase5-dev" "qtdeclarative5-dev" "qtquickcontrols2-5-dev" "qttools5-dev") depends=("kscreen" "modemmanager-qt-dev" "libkf5networkmanagerqt-dev" "libqt5quickcontrols2-5" "libkf5screen-dev" "libkf5kio-dev" "libqt5sensors5-dev" "accountsservice" "bluez") pkgdesc="Cutefish System Library." -pkgver() { - git ls-remote "${url}" main | cut -f1 | cut -c1-8 -} prepare() { + cd "${_archive}" mkdir build cd build } build() { + cd "${_archive}" cmake .. make -j"${NCPU}" } package() { - sudo make install DESTDIR="${pkgdir}" + cd "${_archive}" + make install DESTDIR="${pkgdir}" } diff --git a/packages/libdrm/libdrm.pacscript b/packages/libdrm/libdrm.pacscript index d133321d97..ea3bce11ef 100644 --- a/packages/libdrm/libdrm.pacscript +++ b/packages/libdrm/libdrm.pacscript @@ -1,18 +1,19 @@ -name="libdrm" +pkgname="libdrm" pkgver="2.4.120" pkgrel="2" pkgdesc="Userspace interface to kernel DRM services" -homepage="https://dri.freedesktop.org/" +url="https://dri.freedesktop.org/" arch=("amd64" "arm64") depends=("libpciaccess0" "libc6") makedepends=("python3-docutils" "meson" "ninja-build" "libcairo2-dev" "libpciaccess-dev" "libc6-dev") -provides=("${name}" "${name}-dev") -replace=("${name}-dev") -url="https://dri.freedesktop.org/${name}/${name}-${pkgver}.tar.xz" -hash="3bf55363f76c7250946441ab51d3a6cc0ae518055c0ff017324ab76cdefb327a" -maintainer="Oren Klopfer " +provides=("${pkgname}" "${pkgname}-dev") +replaces=("${pkgname}-dev") +source=("https://dri.freedesktop.org/${pkgname}/${pkgname}-${pkgver}.tar.xz") +sha256sums=("3bf55363f76c7250946441ab51d3a6cc0ae518055c0ff017324ab76cdefb327a") +maintainer=("Oren Klopfer ") build() { + cd "${_archive}" meson setup build \ -D udev=true \ -D etnaviv=disabled \ @@ -20,9 +21,10 @@ build() { -D vc4=disabled \ -D valgrind=disabled \ -D install-test-programs=true - sudo meson compile -C build + meson compile -C build } package() { - sudo meson install -C build --destdir "${pkgdir}" + cd "${_archive}" + meson install -C build --destdir "${pkgdir}" } diff --git a/packages/libfdk-aac1-deb/libfdk-aac1-deb.pacscript b/packages/libfdk-aac1-deb/libfdk-aac1-deb.pacscript index 87591130b4..7ff9625400 100644 --- a/packages/libfdk-aac1-deb/libfdk-aac1-deb.pacscript +++ b/packages/libfdk-aac1-deb/libfdk-aac1-deb.pacscript @@ -1,13 +1,13 @@ -name="libfdk-aac1-deb" +pkgname="libfdk-aac1-deb" gives="libfdk-aac1" breaks=("${gives}-bin" "${gives}") repology=("project: ${gives}") -replace=("${gives}") +replaces=("${gives}") pkgver="0.1.6" arch=('amd64') pkgdesc="Libfdk-aac1 is an open-source library for encoding and decoding AAC (Advanced Audio Coding) audio files" -url="http://archive.ubuntu.com/ubuntu/pool/multiverse/f/fdk-aac/${gives}_${pkgver}-1_amd64.deb" -hash="4b824bbc6fdd47c5a01b9a61b8b1dbb318242d9f2af1c7ad2bd5d7e9fd4d3600" -maintainer="Gianluca Mastrolonardo " +source=("http://archive.ubuntu.com/ubuntu/pool/multiverse/f/fdk-aac/${gives}_${pkgver}-1_amd64.deb") +sha256sums=("4b824bbc6fdd47c5a01b9a61b8b1dbb318242d9f2af1c7ad2bd5d7e9fd4d3600") +maintainer=("Gianluca Mastrolonardo ") # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/libicu-deb/libicu-deb.pacscript b/packages/libicu-deb/libicu-deb.pacscript index d062a5e5a7..b443e174b4 100644 --- a/packages/libicu-deb/libicu-deb.pacscript +++ b/packages/libicu-deb/libicu-deb.pacscript @@ -1,9 +1,9 @@ -name="libicu-deb" +pkgname="libicu-deb" pkgver="72.1" gives="libicu${pkgver:0:2}" -url="http://archive.ubuntu.com/ubuntu/pool/main/i/icu/libicu72_${pkgver}-3ubuntu2_amd64.deb" +source=("http://archive.ubuntu.com/ubuntu/pool/main/i/icu/libicu72_${pkgver}-3ubuntu2_amd64.deb") pkgdesc="International Components for Unicode" -hash="ab965e1ac9665ea93978edf271183bb3332d9ae7db194d148f9b50665c10fa2c" +sha256sums=("ab965e1ac9665ea93978edf271183bb3332d9ae7db194d148f9b50665c10fa2c") arch=('amd64') -maintainer="Zahrun " +maintainer=("Zahrun ") repology=("project: icu" "repo: debian_unstable") diff --git a/packages/liblcf/liblcf.pacscript b/packages/liblcf/liblcf.pacscript index f1a5535ecc..6cca9b7e7f 100644 --- a/packages/liblcf/liblcf.pacscript +++ b/packages/liblcf/liblcf.pacscript @@ -1,4 +1,4 @@ -name="liblcf" +pkgname="liblcf" pkgver="0.8" pkgdesc="Library to handle RPG Maker 2000/2003 and EasyRPG projects" arch=('i386' 'amd64' 'arm64' 'armhf') @@ -13,12 +13,13 @@ case "${DISTRO}" in *:jammy) depends+=('libicu70') ;; *) depends+=('libicu72') ;; esac -url="https://easyrpg.org/downloads/player/${pkgver}/${name}-${pkgver}.tar.xz" -hash='6b0d8c7fefe3d66865336406f69ddf03fe59e52b5601687265a4d1e47a25c386' -maintainer="vigress8 " -repology=("project: ${name}") +source=("https://easyrpg.org/downloads/player/${pkgver}/${pkgname}-${pkgver}.tar.xz") +sha256sums=('6b0d8c7fefe3d66865336406f69ddf03fe59e52b5601687265a4d1e47a25c386') +maintainer=("vigress8 ") +repology=("project: ${pkgname}") build() { + cd "${_archive}" ./configure --prefix=/usr \ --enable-shared --disable-static \ --disable-update-mimedb @@ -26,6 +27,7 @@ build() { } package() { - sudo make DESTDIR="${pkgdir}" install - sudo install -Dm644 COPYING -t "${pkgdir}/usr/share/licenses/${name}" + cd "${_archive}" + make DESTDIR="${pkgdir}" install + install -Dm644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}" } diff --git a/packages/libndi4-deb/libndi4-deb.pacscript b/packages/libndi4-deb/libndi4-deb.pacscript index f71d6816a7..f24c973565 100644 --- a/packages/libndi4-deb/libndi4-deb.pacscript +++ b/packages/libndi4-deb/libndi4-deb.pacscript @@ -1,8 +1,8 @@ -name="libndi4-deb" +pkgname="libndi4-deb" gives="libndi4" pkgver="4.5.1-1" obs_ndi_version="4.9.1" -url="https://github.com/Palakis/obs-ndi/releases/download/${obs_ndi_version}/libndi4_${pkgver}_amd64.deb" +source=("https://github.com/Palakis/obs-ndi/releases/download/${obs_ndi_version}/libndi4_${pkgver}_amd64.deb") pkgdesc="dependency for obs-ndi" -hash="d82e4231c6543ee978c85d114edd8f038c902b9be858aa6c5e847af39031f30b" +sha256sums=("d82e4231c6543ee978c85d114edd8f038c902b9be858aa6c5e847af39031f30b") arch=('amd64') diff --git a/packages/libresprite-git/libresprite-git.pacscript b/packages/libresprite-git/libresprite-git.pacscript index 263a694015..9b528a44cc 100644 --- a/packages/libresprite-git/libresprite-git.pacscript +++ b/packages/libresprite-git/libresprite-git.pacscript @@ -1,22 +1,21 @@ -maintainer="echometerain " -name="libresprite-git" +maintainer=("echometerain ") +pkgname="libresprite-git" pkgdesc="fork of last GPL version of aseprite" depends="libpixman-1-0 libcurl4 libgif7 zlib1g libpng16-16 libjpeg-turbo8 libwebp6 libxcursor1" makedepends=("g++" "libx11-dev" "libxcursor-dev" "cmake" "ninja-build" "zlib1g-dev" "libpixman-1-dev" "libpng-dev" "libjpeg-turbo8-dev" "libtinyxml-dev" "libwebp-dev" "libgif-dev" "libgtest-dev" "libfreetype-dev" "libcurlpp-dev" "libharfbuzz-dev" "libsdl2-image-dev" "liblua5.3-dev") -url="https://github.com/LibreSprite/LibreSprite.git" +source=("https://github.com/LibreSprite/LibreSprite.git") pkgver="1.0" breaks=("aseprite" "libresprite-bin" "libresprite-app" "libresprite-deb" "libresprite") gives="libresprite" -pkgver() { - git ls-remote "${url}" master | cut -f1 | cut -c1-8 -} prepare() { + cd "${_archive}" git fetch --all --tags --prune git submodule update --init --recursive mkdir build } build() { + cd "${_archive}" cd build cmake -G Ninja \ -DWITH_DESKTOP_INTEGRATION=ON \ @@ -37,12 +36,13 @@ build() { -DCMAKE_INSTALL_PREFIX:STRING="/usr" .. ninja libresprite # shellcheck disable=SC2103 - cd .. + cd "${srcdir}" } package() { + cd "${_archive}" cd build - sudo DESTDIR="${pkgdir}" ninja install + DESTDIR="${pkgdir}" ninja install # shellcheck disable=SC2103 - cd .. + cd "${srcdir}" } diff --git a/packages/libressl/libressl.pacscript b/packages/libressl/libressl.pacscript index ee3069bc59..2d01d6cb95 100644 --- a/packages/libressl/libressl.pacscript +++ b/packages/libressl/libressl.pacscript @@ -4,29 +4,32 @@ # \ // \/ -- \ # \__/\ / \_______ \______ / # \/ \/ \/ -maintainer="wizard-28 " +maintainer=("wizard-28 ") -name="libressl" +pkgname="libressl" pkgver="3.7.3" -url="https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-${pkgver}.tar.gz" +source=("https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-${pkgver}.tar.gz") pkgdesc="LibreSSL is a version of the TLS/crypto stack forked from OpenSSL in 2014, with goals of modernizing the codebase, improving security, and applying best practice development processes." -breaks=("${name}-git" "${name}-bin") -hash="7948c856a90c825bd7268b6f85674a8dcd254bae42e221781b24e3f8dc335db3" +breaks=("${pkgname}-git" "${pkgname}-bin") +sha256sums=("7948c856a90c825bd7268b6f85674a8dcd254bae42e221781b24e3f8dc335db3") repology=("project: libressl") prepare() { + cd "${_archive}" # Configure LibreSSL ./configure } build() { + cd "${_archive}" # Build LibreSSL make -j"${nproc}" } package() { + cd "${_archive}" # Install LibreSSL - sudo make install DESTDIR="${pkgdir}" + make install DESTDIR="${pkgdir}" } post_install() { diff --git a/packages/librewolf-app/librewolf-app.pacscript b/packages/librewolf-app/librewolf-app.pacscript index 2aab9db63e..6b7d5b5b6f 100644 --- a/packages/librewolf-app/librewolf-app.pacscript +++ b/packages/librewolf-app/librewolf-app.pacscript @@ -1,31 +1,42 @@ -maintainer="Oren Klopfer " -name="librewolf-app" -pkgname="librewolf" +maintainer=("Oren Klopfer ") +pkgname="librewolf-app" +gives="librewolf" pkgver="121.0-1" pkgdesc="A fork of Firefox, focused on privacy, security and freedom." arch=('amd64' 'arm64') -if [[ ${CARCH} == "arm64" ]]; then - gnuarch="aarch64" - hash="b0a6c690bd7a2f5f5d364c82115ee945445822c97adb5d258038769f8054a5c6" -else +sha256sums_amd64=( + "63178bcc1feacc94f657ea86cf86aac8d8e272e7646ddef189eede99236fd81e" + "SKIP" + "SKIP" +) +sha256sums_arm64=( + "b0a6c690bd7a2f5f5d364c82115ee945445822c97adb5d258038769f8054a5c6" + "SKIP" + "SKIP" +) +if [[ ${CARCH} == amd64 ]]; then gnuarch="x86_64" - hash="63178bcc1feacc94f657ea86cf86aac8d8e272e7646ddef189eede99236fd81e" +else + gnuarch="aarch64" fi -url="https://gitlab.com/api/v4/projects/24386000/packages/generic/librewolf/${pkgver}/LibreWolf.${gnuarch}.AppImage" -breaks=("${pkgname}-deb" "${pkgname}-bin" "${pkgname}-git") +source=( + "https://gitlab.com/api/v4/projects/24386000/packages/generic/librewolf/${pkgver}/LibreWolf.${gnuarch}.AppImage" + "icon.png::https://gitlab.com/uploads/-/system/group/avatar/5407097/icon.png" + "${gives}.desktop::https://raw.githubusercontent.com/pacstall/pacstall-programs/master/packages/${pkgname}/${gives}.desktop" +) +breaks=("${gives}-deb" "${gives}-bin" "${gives}-git") repology=("project: librewolf") package() { + cd "${_archive}" # Install appimage - sudo install -Dm755 "LibreWolf.${gnuarch}.AppImage" "${pkgdir}/usr/bin/${pkgname}" + install -Dm755 "LibreWolf.${gnuarch}.AppImage" "${pkgdir}/usr/bin/${gives}" # Download icon - wget -q "https://gitlab.com/uploads/-/system/group/avatar/5407097/icon.png" - sudo install -Dm644 "icon.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png" + install -Dm644 "${srcdir}/icon.png" "${pkgdir}/usr/share/pixmaps/${gives}.png" # Install .desktop file - wget -q "https://raw.githubusercontent.com/pacstall/pacstall-programs/master/packages/${name}/${pkgname}.desktop" - sudo install -Dm644 "${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop" + install -Dm644 "${srcdir}/${gives}.desktop" "${pkgdir}/usr/share/applications/${gives}.desktop" } post_remove() { diff --git a/packages/librewolf-deb/librewolf-deb.pacscript b/packages/librewolf-deb/librewolf-deb.pacscript index 45a72a9e0d..5c99097ba1 100644 --- a/packages/librewolf-deb/librewolf-deb.pacscript +++ b/packages/librewolf-deb/librewolf-deb.pacscript @@ -1,18 +1,18 @@ -name="librewolf-deb" +pkgname="librewolf-deb" gives="librewolf" -replace=("${gives}") +replaces=("${gives}") pkgdesc="A fork of Firefox, focused on privacy, security and freedom" -breaks=("${pkgname}-app" "${pkgname}-bin" "${pkgname}-git") +breaks=("${gives}-app" "${gives}-bin" "${gives}-git") repology=("project: librewolf") -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") incompatible=('debian:bullseye') arch=("amd64" "any") if [[ ${CARCH} != "amd64" ]]; then pkgver="107.0.1-2" - url="https://deb.librewolf.net/pool/jammy/${gives}_${pkgver}_all.deb" - hash="c66df74a6f466821ecbf5402d18d4537d513a4bcc25b25d99301dca6e07ad85e" + source=("https://deb.librewolf.net/pool/jammy/${gives}_${pkgver}_all.deb") + sha256sums=("c66df74a6f466821ecbf5402d18d4537d513a4bcc25b25d99301dca6e07ad85e") else pkgver="121.0-1" - url="https://deb.librewolf.net/pool/jammy/${gives}-${pkgver}.en-US.ubuntu22.x86_64.deb" - hash="1b7105ba3b8ad8e084e02eb7bbe46377c178ef49543b4fad0d48f31c2df80ec6" + source=("https://deb.librewolf.net/pool/jammy/${gives}-${pkgver}.en-US.ubuntu22.x86_64.deb") + sha256sums=("1b7105ba3b8ad8e084e02eb7bbe46377c178ef49543b4fad0d48f31c2df80ec6") fi diff --git a/packages/libspa-codec-bluez5-aac-bin/libspa-codec-bluez5-aac-bin.pacscript b/packages/libspa-codec-bluez5-aac-bin/libspa-codec-bluez5-aac-bin.pacscript index db2706aae5..c360bc7395 100644 --- a/packages/libspa-codec-bluez5-aac-bin/libspa-codec-bluez5-aac-bin.pacscript +++ b/packages/libspa-codec-bluez5-aac-bin/libspa-codec-bluez5-aac-bin.pacscript @@ -1,13 +1,14 @@ -name="libspa-codec-bluez5-aac-bin" +pkgname="libspa-codec-bluez5-aac-bin" gives="libspa-codec-bluez5-aac" pkgver="0.3.65-4~glasgall1" -url="https://github.com/Zahrun/libspa-0.2-bluetooth/raw/main/libspa-codec-bluez5-aac_${pkgver}_amd64.tar.xz" +source=("https://github.com/Zahrun/libspa-0.2-bluetooth/raw/main/libspa-codec-bluez5-aac_${pkgver}_amd64.tar.xz") pkgdesc="Adds AAC bluetooth codec to pipewire" -hash="9a235d1b5d8bb52302f9c8159da828ca7c8de15614233967d484d92cba4e56c2" +sha256sums=("9a235d1b5d8bb52302f9c8159da828ca7c8de15614233967d484d92cba4e56c2") arch=('amd64') -maintainer="Zahrun " +maintainer=("Zahrun ") depends=("libspa-0.2-bluetooth") package() { - sudo install -Dm644 libspa-codec-bluez5-aac.so -t "${pkgdir}/usr/lib/x86_64-linux-gnu/spa-0.2/bluez5/" + cd "${_archive}" + install -Dm644 libspa-codec-bluez5-aac.so -t "${pkgdir}/usr/lib/x86_64-linux-gnu/spa-0.2/bluez5/" } diff --git a/packages/libssl1.1-deb/libssl1.1-deb.pacscript b/packages/libssl1.1-deb/libssl1.1-deb.pacscript index 886740f3a2..6a55ca3f2d 100644 --- a/packages/libssl1.1-deb/libssl1.1-deb.pacscript +++ b/packages/libssl1.1-deb/libssl1.1-deb.pacscript @@ -1,13 +1,13 @@ -name="libssl1.1-deb" +pkgname="libssl1.1-deb" gives="libssl1.1" breaks=("${gives}-bin" "${gives}") repology=("project: ${gives}") -replace=("${gives}") +replaces=("${gives}") pkgver="1.1.1" arch=('amd64') pkgdesc="Libssl1.1 is a library that provides cryptographic functions for the OpenSSL software suite" -url="http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/${gives}_${pkgver}-1ubuntu2.1~18.04.23_amd64.deb" -hash="986727f5a99088bef98971edfcd9567f5693b5e941aa241894fce1020c7015a0" -maintainer="Rémy Huet " +source=("http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/${gives}_${pkgver}-1ubuntu2.1~18.04.23_amd64.deb") +sha256sums=("986727f5a99088bef98971edfcd9567f5693b5e941aa241894fce1020c7015a0") +maintainer=("Rémy Huet ") # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/libtomlplusplus-header/libtomlplusplus-header.pacscript b/packages/libtomlplusplus-header/libtomlplusplus-header.pacscript index 3087c7eb37..1971ca1cab 100644 --- a/packages/libtomlplusplus-header/libtomlplusplus-header.pacscript +++ b/packages/libtomlplusplus-header/libtomlplusplus-header.pacscript @@ -1,12 +1,13 @@ -name="libtomlplusplus-header" +pkgname="libtomlplusplus-header" pkgver="3.4.0" pkgdesc="Header-only TOML config file parser and serializer for C++17" homepage='https://marzer.github.io/tomlplusplus/' -url="https://raw.githubusercontent.com/marzer/tomlplusplus/v${pkgver}/toml.hpp" -hash="6b5172ad4dd6519aec67b919181fa7a38a2234131e5b2afa232dfe444819783e" +source=("https://raw.githubusercontent.com/marzer/tomlplusplus/v${pkgver}/toml.hpp") +sha256sums=("6b5172ad4dd6519aec67b919181fa7a38a2234131e5b2afa232dfe444819783e") repology=("project: tomlplusplus") -maintainer="Elsie19 " +maintainer=("Elsie19 ") package() { - sudo install -Dm644 "toml.hpp" -t "${pkgdir}/usr/local/include/toml++/" + cd "${_archive}" + install -Dm644 "toml.hpp" -t "${pkgdir}/usr/local/include/toml++/" } diff --git a/packages/libxapp1-deb/libxapp1-deb.pacscript b/packages/libxapp1-deb/libxapp1-deb.pacscript index cb901c64cc..2996f50034 100644 --- a/packages/libxapp1-deb/libxapp1-deb.pacscript +++ b/packages/libxapp1-deb/libxapp1-deb.pacscript @@ -1,10 +1,10 @@ -name="libxapp1-deb" +pkgname="libxapp1-deb" gives="libxapp1" pkgver="2.8.2" repology=("project: xapps") pacdeps=("xapps-common-deb") -url="http://packages.linuxmint.com/pool/backport/x/xapp/libxapp1_${pkgver}+virginia_amd64.deb" -hash="7a329280e1c551e1edda99ee1a90db372a550a61f66b4853b3503b0dba2ef1fc" +source=("http://packages.linuxmint.com/pool/backport/x/xapp/libxapp1_${pkgver}+virginia_amd64.deb") +sha256sums=("7a329280e1c551e1edda99ee1a90db372a550a61f66b4853b3503b0dba2ef1fc") arch=('amd64') pkgdesc="Components which are common to multiple desktop environments and required to implement cross-DE solutions" -maintainer="Zahrun " +maintainer=("Zahrun ") diff --git a/packages/lightpad-git/lightpad-git.pacscript b/packages/lightpad-git/lightpad-git.pacscript index 811030633a..fa8050a986 100644 --- a/packages/lightpad-git/lightpad-git.pacscript +++ b/packages/lightpad-git/lightpad-git.pacscript @@ -1,21 +1,20 @@ -name="lightpad-git" -url="https://github.com/libredeb/lightpad.git" +pkgname="lightpad-git" +source=("https://github.com/libredeb/lightpad.git") pkgver="0.0.8" gives="com.github.libredeb.lightpad" makedepends=("meson" "ninja-build" "libgee-0.8-dev" "libgnome-menu-3-dev" "cdbs" "valac" "libvala-0.56-dev" "libvaladoc-0.56-dev" "libvalapanel-dev" "libglib2.0-dev" "libwnck-3-dev" "libgtk-3-dev" "xterm" "python3" "python3-wheel" "python3-setuptools" "gnome-menus") depends=("meson" "ninja-build" "libgee-0.8-dev" "libgnome-menu-3-dev" "cdbs" "valac" "libvala-0.56-dev" "libvaladoc-0.56-dev" "libvalapanel-dev" "libglib2.0-dev" "libwnck-3-dev" "libgtk-3-dev" "xterm" "python3" "python3-wheel" "gnome-menus") pkgdesc="A lightweight, simple and powerful application launcher" -maintainer="Oren Klopfer " -pkgver() { - git ls-remote "${url}" master | cut -f1 | cut -c1-8 -} +maintainer=("Oren Klopfer ") prepare() { - sudo meson build + cd "${_archive}" + meson build } package() { - sudo DESTDIR="${pkgdir}" ninja -C build install - sudo mkdir -p "${pkgdir}/usr/bin" - sudo ln -sf "/usr/local/bin/com.github.libredeb.lightpad" "${pkgdir}/usr/bin/lightpad" + cd "${_archive}" + DESTDIR="${pkgdir}" ninja -C build install + mkdir -p "${pkgdir}/usr/bin" + ln -sf "/usr/local/bin/com.github.libredeb.lightpad" "${pkgdir}/usr/bin/lightpad" } diff --git a/packages/linked-deb/linked-deb.pacscript b/packages/linked-deb/linked-deb.pacscript index 604cb3c60f..7cc31f7c19 100644 --- a/packages/linked-deb/linked-deb.pacscript +++ b/packages/linked-deb/linked-deb.pacscript @@ -1,10 +1,10 @@ -name="linked-deb" +pkgname="linked-deb" gives="linked" pkgver="1.5.2" -replace=("${gives}") -url="https://github.com/lostdesign/linked/releases/download/v${pkgver}/linked_${pkgver}_amd64.deb" +replaces=("${gives}") +source=("https://github.com/lostdesign/linked/releases/download/v${pkgver}/linked_${pkgver}_amd64.deb") pkgdesc="linked - daily journaling without distraction" repology=("project: linked") -hash="238010ac4ddc537417f4ec1f55f33323de12f4ad74f451a9c31650c0b2e4ae84" +sha256sums=("238010ac4ddc537417f4ec1f55f33323de12f4ad74f451a9c31650c0b2e4ae84") arch=('amd64') -maintainer="সৌম্যদীপ " +maintainer=("সৌম্যদীপ ") diff --git a/packages/linux-headers-deb/linux-headers-deb.pacscript b/packages/linux-headers-deb/linux-headers-deb.pacscript index 9d416ea4d5..07782752e9 100644 --- a/packages/linux-headers-deb/linux-headers-deb.pacscript +++ b/packages/linux-headers-deb/linux-headers-deb.pacscript @@ -1,10 +1,10 @@ -name="linux-headers-deb" +pkgname="linux-headers-deb" gives="linux-headers-6.9.0-060900rc6" pkgver="6.9~rc6" buildver="6.9.0-060900rc6.202404282134" -url="https://kernel.ubuntu.com/~kernel-ppa/mainline/v${pkgver/\~/-}/amd64/${gives}_${buildver}_all.deb" +source=("https://kernel.ubuntu.com/~kernel-ppa/mainline/v${pkgver/\~/-}/amd64/${gives}_${buildver}_all.deb") pkgdesc="Ubuntu Linux mainline kernel (Headers)" -hash="2d36527971d06c28c4237546eaa87cef6ff47dc390ff1fec3888ecf88cde076e" +sha256sums=("2d36527971d06c28c4237546eaa87cef6ff47dc390ff1fec3888ecf88cde076e") arch=('any') -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") repology=("project: linux" "repo: aur" "srcname: linux-mainline" "binname: linux-mainline-headers") diff --git a/packages/linux-headers-generic-deb/linux-headers-generic-deb.pacscript b/packages/linux-headers-generic-deb/linux-headers-generic-deb.pacscript index 0140fdb9a5..bb29572404 100644 --- a/packages/linux-headers-generic-deb/linux-headers-generic-deb.pacscript +++ b/packages/linux-headers-generic-deb/linux-headers-generic-deb.pacscript @@ -1,15 +1,12 @@ -name="linux-headers-generic-deb" +pkgname="linux-headers-generic-deb" gives="linux-headers-6.9.0-060900rc6-generic" pkgver="6.9~rc6" buildver="6.9.0-060900rc6.202404282134" arch=('arm64' 'amd64') -if [[ ${CARCH} == "arm64" ]]; then - hash="d1c86c50221266aa98090b36e6d52d55a940e1bf10afda5e696b6ec0cf0f5db3" -else - hash="481644182f853da3c41e91dc7f958c71eb8351859c59fbec6173a13176fdf311" -fi -url="https://kernel.ubuntu.com/~kernel-ppa/mainline/v${pkgver/\~/-}/${CARCH}/${gives}_${buildver}_${CARCH}.deb" +sha256sums_arm64=("d1c86c50221266aa98090b36e6d52d55a940e1bf10afda5e696b6ec0cf0f5db3") +sha256sums_amd64=("481644182f853da3c41e91dc7f958c71eb8351859c59fbec6173a13176fdf311") +source=("https://kernel.ubuntu.com/~kernel-ppa/mainline/v${pkgver/\~/-}/${CARCH}/${gives}_${buildver}_${CARCH}.deb") pkgdesc="Ubuntu Linux mainline kernel (Generic headers)" pacdeps=("linux-headers-deb") -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") repology=("project: linux" "repo: aur" "srcname: linux-mainline" "binname: linux-mainline-headers") diff --git a/packages/linux-headers-generic-stable-deb/linux-headers-generic-stable-deb.pacscript b/packages/linux-headers-generic-stable-deb/linux-headers-generic-stable-deb.pacscript index 9779028e2a..10810a2ccc 100644 --- a/packages/linux-headers-generic-stable-deb/linux-headers-generic-stable-deb.pacscript +++ b/packages/linux-headers-generic-stable-deb/linux-headers-generic-stable-deb.pacscript @@ -1,15 +1,12 @@ -name="linux-headers-generic-stable-deb" +pkgname="linux-headers-generic-stable-deb" gives="linux-headers-6.8.8-060808-generic" pkgver="6.8.8" buildver="6.8.8-060808.202404271536" arch=('arm64' 'amd64') -if [[ ${CARCH} == "arm64" ]]; then - hash="f5b5449ade59c09841260bc1e0a7af90db14a73c6ca494015158317960635bab" -else - hash="bfcc60194fd1641d276e4826920d6fdd103006b5dd8d62cf126a60c467127f91" -fi -url="https://kernel.ubuntu.com/~kernel-ppa/mainline/v${pkgver}/${CARCH}/${gives}_${buildver}_${CARCH}.deb" +sha256sums_arm64=("f5b5449ade59c09841260bc1e0a7af90db14a73c6ca494015158317960635bab") +sha256sums_amd64=("bfcc60194fd1641d276e4826920d6fdd103006b5dd8d62cf126a60c467127f91") +source=("https://kernel.ubuntu.com/~kernel-ppa/mainline/v${pkgver}/${CARCH}/${gives}_${buildver}_${CARCH}.deb") pkgdesc="Ubuntu Linux stable kernel (Generic headers)" pacdeps=("linux-headers-stable-deb") -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") repology=("project: linux" "repo: distrowatch") diff --git a/packages/linux-headers-okpine-deb/linux-headers-okpine-deb.pacscript b/packages/linux-headers-okpine-deb/linux-headers-okpine-deb.pacscript index 86f0a095c0..d3def61c80 100644 --- a/packages/linux-headers-okpine-deb/linux-headers-okpine-deb.pacscript +++ b/packages/linux-headers-okpine-deb/linux-headers-okpine-deb.pacscript @@ -1,9 +1,9 @@ -name="linux-headers-okpine-deb" +pkgname="linux-headers-okpine-deb" pkgver="6.7.1" gives="linux-headers-${pkgver}-okpine" -url="https://github.com/oklopfer/debs/raw/master/kernel/${pkgver}/${gives}_${pkgver}-1_arm64.deb" -hash="f6280f3d8fef00bcb511112c2a32970c3972ebdb3306aebd868b2ad9ea6b495e" -maintainer="Oren Klopfer " +source=("https://github.com/oklopfer/debs/raw/master/kernel/${pkgver}/${gives}_${pkgver}-1_arm64.deb") +sha256sums=("f6280f3d8fef00bcb511112c2a32970c3972ebdb3306aebd868b2ad9ea6b495e") +maintainer=("Oren Klopfer ") pkgdesc="Linux kernel header files built for Pine64 devices" arch=('arm64') repology=("project: linux" "repo: aur" "srcname: linux-mainline" "binname: linux-mainline-headers") diff --git a/packages/linux-headers-stable-deb/linux-headers-stable-deb.pacscript b/packages/linux-headers-stable-deb/linux-headers-stable-deb.pacscript index 9f2eacad5b..1a6b5de477 100644 --- a/packages/linux-headers-stable-deb/linux-headers-stable-deb.pacscript +++ b/packages/linux-headers-stable-deb/linux-headers-stable-deb.pacscript @@ -1,10 +1,10 @@ -name="linux-headers-stable-deb" +pkgname="linux-headers-stable-deb" gives="linux-headers-6.8.8-060808" pkgver="6.8.8" buildver="6.8.8-060808.202404271536" -url="https://kernel.ubuntu.com/~kernel-ppa/mainline/v${pkgver}/amd64/${gives}_${buildver}_all.deb" +source=("https://kernel.ubuntu.com/~kernel-ppa/mainline/v${pkgver}/amd64/${gives}_${buildver}_all.deb") pkgdesc="Ubuntu Linux stable kernel (Headers)" -hash="65292a2fea30698fef967eb655adb7db2dd9e9b08f0396309b10dc31c21b135d" +sha256sums=("65292a2fea30698fef967eb655adb7db2dd9e9b08f0396309b10dc31c21b135d") arch=('any') -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") repology=("project: linux" "repo: distrowatch") diff --git a/packages/linux-image-okpine-deb/linux-image-okpine-deb.pacscript b/packages/linux-image-okpine-deb/linux-image-okpine-deb.pacscript index 531a0b0d1b..8b7fc76a5c 100644 --- a/packages/linux-image-okpine-deb/linux-image-okpine-deb.pacscript +++ b/packages/linux-image-okpine-deb/linux-image-okpine-deb.pacscript @@ -1,9 +1,9 @@ -name="linux-image-okpine-deb" +pkgname="linux-image-okpine-deb" pkgver="6.7.1" gives="linux-image-${pkgver}-okpine" -url="https://github.com/oklopfer/debs/raw/master/kernel/${pkgver}/${gives}_${pkgver}-1_arm64.deb" -hash="e5c423411f654e3017a2704ce1564d6b299317161584852f02d0ee01850b4407" -maintainer="Oren Klopfer " +source=("https://github.com/oklopfer/debs/raw/master/kernel/${pkgver}/${gives}_${pkgver}-1_arm64.deb") +sha256sums=("e5c423411f654e3017a2704ce1564d6b299317161584852f02d0ee01850b4407") +maintainer=("Oren Klopfer ") pkgdesc="Linux kernel image files built for Pine64 devices" arch=('arm64') repology=("project: linux" "repo: aur" "srcname: linux-mainline" "binname: linux-mainline") diff --git a/packages/linux-image-unsigned-deb/linux-image-unsigned-deb.pacscript b/packages/linux-image-unsigned-deb/linux-image-unsigned-deb.pacscript index 38974237d2..941881e615 100644 --- a/packages/linux-image-unsigned-deb/linux-image-unsigned-deb.pacscript +++ b/packages/linux-image-unsigned-deb/linux-image-unsigned-deb.pacscript @@ -1,15 +1,12 @@ -name="linux-image-unsigned-deb" +pkgname="linux-image-unsigned-deb" gives="linux-image-unsigned-6.9.0-060900rc6-generic" pkgver="6.9~rc6" buildver="6.9.0-060900rc6.202404282134" arch=('arm64' 'amd64') -if [[ ${CARCH} == "arm64" ]]; then - hash="fcaf757824b571e1fa8dd99b31ef708131b153377a3d353482d07879fe73d63b" -else - hash="48013764c08080470b70378d1650857a775f6544c8bdf4e0c5da686afc260709" -fi -url="https://kernel.ubuntu.com/~kernel-ppa/mainline/v${pkgver/\~/-}/${CARCH}/${gives}_${buildver}_${CARCH}.deb" +sha256sums_arm64=("fcaf757824b571e1fa8dd99b31ef708131b153377a3d353482d07879fe73d63b") +sha256sums_amd64=("48013764c08080470b70378d1650857a775f6544c8bdf4e0c5da686afc260709") +source=("https://kernel.ubuntu.com/~kernel-ppa/mainline/v${pkgver/\~/-}/${CARCH}/${gives}_${buildver}_${CARCH}.deb") pkgdesc="Ubuntu Linux mainline kernel (Unsigned image)" pacdeps=("linux-headers-generic-deb" "linux-modules-deb") -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") repology=("project: linux" "repo: aur" "srcname: linux-mainline" "binname: linux-mainline") diff --git a/packages/linux-image-unsigned-stable-deb/linux-image-unsigned-stable-deb.pacscript b/packages/linux-image-unsigned-stable-deb/linux-image-unsigned-stable-deb.pacscript index ab022c674b..9fe3d1c6be 100644 --- a/packages/linux-image-unsigned-stable-deb/linux-image-unsigned-stable-deb.pacscript +++ b/packages/linux-image-unsigned-stable-deb/linux-image-unsigned-stable-deb.pacscript @@ -1,15 +1,12 @@ -name="linux-image-unsigned-stable-deb" +pkgname="linux-image-unsigned-stable-deb" gives="linux-image-unsigned-6.8.8-060808-generic" pkgver="6.8.8" buildver="6.8.8-060808.202404271536" arch=('arm64' 'amd64') -if [[ ${CARCH} == "arm64" ]]; then - hash="18df1b21d917943f1efd9bc32402e4abdb2d8387690842a5ff87424d044eda42" -else - hash="4afc3f3bfa3a8a8d2f9d9181f6a45ba9f9f62a80720a3ca678a2177fa038a3e3" -fi -url="https://kernel.ubuntu.com/~kernel-ppa/mainline/v${pkgver}/${CARCH}/${gives}_${buildver}_${CARCH}.deb" +sha256sums_arm64=("18df1b21d917943f1efd9bc32402e4abdb2d8387690842a5ff87424d044eda42") +sha256sums_amd64=("4afc3f3bfa3a8a8d2f9d9181f6a45ba9f9f62a80720a3ca678a2177fa038a3e3") +source=("https://kernel.ubuntu.com/~kernel-ppa/mainline/v${pkgver}/${CARCH}/${gives}_${buildver}_${CARCH}.deb") pkgdesc="Ubuntu Linux stable kernel (Unsigned image)" pacdeps=("linux-headers-generic-stable-deb" "linux-modules-stable-deb") -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") repology=("project: linux" "repo: distrowatch") diff --git a/packages/linux-kernel-stable/linux-kernel-stable.pacscript b/packages/linux-kernel-stable/linux-kernel-stable.pacscript index cc83665e11..a09486d21a 100644 --- a/packages/linux-kernel-stable/linux-kernel-stable.pacscript +++ b/packages/linux-kernel-stable/linux-kernel-stable.pacscript @@ -1,7 +1,7 @@ -name="linux-kernel-stable" +pkgname="linux-kernel-stable" pkgver="6.8.8" -url="https://github.com/oklopfer/debs/raw/master/empty.tar.xz" +source=("https://github.com/oklopfer/debs/raw/master/empty.tar.xz") pacdeps=("linux-headers-stable-deb" "linux-headers-generic-stable-deb" "linux-modules-stable-deb" "linux-image-unsigned-stable-deb") pkgdesc="Provides the latest stable Linux kernel via the Ubuntu mainline repositories" -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") repology=("project: linux" "repo: distrowatch") diff --git a/packages/linux-kernel/linux-kernel.pacscript b/packages/linux-kernel/linux-kernel.pacscript index bd1667f428..f2a17e7805 100644 --- a/packages/linux-kernel/linux-kernel.pacscript +++ b/packages/linux-kernel/linux-kernel.pacscript @@ -1,7 +1,7 @@ -name="linux-kernel" +pkgname="linux-kernel" pkgver="6.9~rc6" -url="https://github.com/oklopfer/debs/raw/master/empty.tar.xz" +source=("https://github.com/oklopfer/debs/raw/master/empty.tar.xz") pacdeps=("linux-headers-deb" "linux-headers-generic-deb" "linux-modules-deb" "linux-image-unsigned-deb") pkgdesc="Provides the latest Linux kernel via the Ubuntu mainline repositories" -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") repology=("project: linux" "repo: aur" "srcname: linux-mainline" "binname: linux-mainline") diff --git a/packages/linux-libc-dev-okpine-deb/linux-libc-dev-okpine-deb.pacscript b/packages/linux-libc-dev-okpine-deb/linux-libc-dev-okpine-deb.pacscript index 04baf84873..3c59f179dc 100644 --- a/packages/linux-libc-dev-okpine-deb/linux-libc-dev-okpine-deb.pacscript +++ b/packages/linux-libc-dev-okpine-deb/linux-libc-dev-okpine-deb.pacscript @@ -1,9 +1,9 @@ -name="linux-libc-dev-okpine-deb" +pkgname="linux-libc-dev-okpine-deb" gives="linux-libc-dev" -replace=("${gives}") +replaces=("${gives}") pkgver="6.7.1" -url="https://github.com/oklopfer/debs/raw/master/kernel/${pkgver}/${gives}_${pkgver}-1_arm64.deb" -hash="b706c83613edb2fe71e8c932579be2fb71801c887bcbcc1686798606dcb12cdd" -maintainer="Oren Klopfer " +source=("https://github.com/oklopfer/debs/raw/master/kernel/${pkgver}/${gives}_${pkgver}-1_arm64.deb") +sha256sums=("b706c83613edb2fe71e8c932579be2fb71801c887bcbcc1686798606dcb12cdd") +maintainer=("Oren Klopfer ") pkgdesc="Linux kernel libc-dev files built for Pine64 devices" arch=('arm64') diff --git a/packages/linux-modules-deb/linux-modules-deb.pacscript b/packages/linux-modules-deb/linux-modules-deb.pacscript index ed5da63d90..ea15d5da6b 100644 --- a/packages/linux-modules-deb/linux-modules-deb.pacscript +++ b/packages/linux-modules-deb/linux-modules-deb.pacscript @@ -1,13 +1,10 @@ -name="linux-modules-deb" +pkgname="linux-modules-deb" gives="linux-modules-6.9.0-060900rc6-generic" pkgver="6.9~rc6" buildver="6.9.0-060900rc6.202404282134" arch=('arm64' 'amd64') -if [[ ${CARCH} == "arm64" ]]; then - hash="e3e46b66a8e98aad256aca6a16fd683a7da095c7f2250b22fab4a76fdbde4d42" -else - hash="860c7927164043ad4602503657fcb606e48c1c238fa0428b8f55d8f903fe7346" -fi -url="https://kernel.ubuntu.com/~kernel-ppa/mainline/v${pkgver/\~/-}/${CARCH}/${gives}_${buildver}_${CARCH}.deb" +sha256sums_arm64=("e3e46b66a8e98aad256aca6a16fd683a7da095c7f2250b22fab4a76fdbde4d42") +sha256sums_amd64=("860c7927164043ad4602503657fcb606e48c1c238fa0428b8f55d8f903fe7346") +source=("https://kernel.ubuntu.com/~kernel-ppa/mainline/v${pkgver/\~/-}/${CARCH}/${gives}_${buildver}_${CARCH}.deb") pkgdesc="Ubuntu Linux mainline kernel (Linux Modules)" -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") diff --git a/packages/linux-modules-stable-deb/linux-modules-stable-deb.pacscript b/packages/linux-modules-stable-deb/linux-modules-stable-deb.pacscript index 0fe1f4d92f..5e31c66c44 100644 --- a/packages/linux-modules-stable-deb/linux-modules-stable-deb.pacscript +++ b/packages/linux-modules-stable-deb/linux-modules-stable-deb.pacscript @@ -1,13 +1,10 @@ -name="linux-modules-stable-deb" +pkgname="linux-modules-stable-deb" gives="linux-modules-6.8.8-060808-generic" pkgver="6.8.8" buildver="6.8.8-060808.202404271536" arch=('arm64' 'amd64') -if [[ ${CARCH} == "arm64" ]]; then - hash="b2c3c4eaf992b976f39281a790bb7c54338117a25c58ea2f162420bc8d3a4331" -else - hash="2a806ce9a57c03e02e2740cc9e07c8c7f7d733ea6372536604cb3d599a4c35f4" -fi -url="https://kernel.ubuntu.com/~kernel-ppa/mainline/v${pkgver}/${CARCH}/${gives}_${buildver}_${CARCH}.deb" +sha256sums_arm64=("b2c3c4eaf992b976f39281a790bb7c54338117a25c58ea2f162420bc8d3a4331") +sha256sums_amd64=("2a806ce9a57c03e02e2740cc9e07c8c7f7d733ea6372536604cb3d599a4c35f4") +source=("https://kernel.ubuntu.com/~kernel-ppa/mainline/v${pkgver}/${CARCH}/${gives}_${buildver}_${CARCH}.deb") pkgdesc="Ubuntu Linux stable kernel (Linux Modules)" -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") diff --git a/packages/linux-wifi-hotspot-deb/linux-wifi-hotspot-deb.pacscript b/packages/linux-wifi-hotspot-deb/linux-wifi-hotspot-deb.pacscript index 668c1db1d8..b4b70fe0e1 100644 --- a/packages/linux-wifi-hotspot-deb/linux-wifi-hotspot-deb.pacscript +++ b/packages/linux-wifi-hotspot-deb/linux-wifi-hotspot-deb.pacscript @@ -1,9 +1,9 @@ -name="linux-wifi-hotspot-deb" +pkgname="linux-wifi-hotspot-deb" gives="linux-wifi-hotspot" repology=("project: linux-wifi-hotspot") pkgver="4.7.1" -url="https://github.com/lakinduakash/linux-wifi-hotspot/releases/download/v${pkgver}/linux-wifi-hotspot_${pkgver}_amd64.deb" +source=("https://github.com/lakinduakash/linux-wifi-hotspot/releases/download/v${pkgver}/linux-wifi-hotspot_${pkgver}_amd64.deb") pkgdesc="Feature-rich wifi hotspot creator for Linux which provides both GUI and command-line interface. It is also able to create a hotspot using the same wifi card which is connected to an AP already ( Similar to Windows 10)." -hash="eeae00cbe0bacd122a30f02291caffd7e75f2d23dbd25dab276c048c7797299b" +sha256sums=("eeae00cbe0bacd122a30f02291caffd7e75f2d23dbd25dab276c048c7797299b") arch=('amd64') -maintainer="Zahrun " +maintainer=("Zahrun ") diff --git a/packages/lrz-syncshare-deb/lrz-syncshare-deb.pacscript b/packages/lrz-syncshare-deb/lrz-syncshare-deb.pacscript index 099cdd3cd2..63e55d88b1 100644 --- a/packages/lrz-syncshare-deb/lrz-syncshare-deb.pacscript +++ b/packages/lrz-syncshare-deb/lrz-syncshare-deb.pacscript @@ -1,8 +1,8 @@ -name="lrz-syncshare-deb" +pkgname="lrz-syncshare-deb" pkgver="16.3.100" gives="lrz-sync-share" -url="https://syncandshare.lrz.de/client_deployment/LRZ_Sync_Share_Latest_amd64.deb" +source=("https://syncandshare.lrz.de/client_deployment/LRZ_Sync_Share_Latest_amd64.deb") pkgdesc="Sync client for the LRZ Sync+Share service" -hash="77202b710ca47293d7a9f1876a181d23f53554003af0c402ca775fbc2c502618" +sha256sums=("77202b710ca47293d7a9f1876a181d23f53554003af0c402ca775fbc2c502618") arch=('amd64') -maintainer="Korkmatik <9c54efc1-143b-4f5f-9d2f-f6f189583f0f@aleeas.com>" +maintainer=("Korkmatik <9c54efc1-143b-4f5f-9d2f-f6f189583f0f@aleeas.com>") diff --git a/packages/lsd-deb/lsd-deb.pacscript b/packages/lsd-deb/lsd-deb.pacscript index 272ca45aeb..c002d35dc9 100644 --- a/packages/lsd-deb/lsd-deb.pacscript +++ b/packages/lsd-deb/lsd-deb.pacscript @@ -1,22 +1,13 @@ -name="lsd-deb" +pkgname="lsd-deb" gives="lsd" repology=("project: ${gives}") pkgver="1.0.0" pkgdesc="The next gen ls command" arch=("amd64" "arm64" "i386") -url="https://github.com/${gives}-rs/${gives}/releases/download/v${pkgver}/${gives}_${pkgver}_${CARCH}.deb" -maintainer="KwonNam Son " +source=("https://github.com/${gives}-rs/${gives}/releases/download/v${pkgver}/${gives}_${pkgver}_${CARCH}.deb") +maintainer=("KwonNam Son ") -case "${CARCH}" in - amd64) - hash="488b098e9cc4bb193c10d3a9abe8b06282099ee73a3e9f7f1febd19a9d9b89f0" - ;; - arm64) - hash="4a0e6931823869b401a7ef3dae26e3c027aaee3c42bd62129ee2c6a93489412d" - ;; - i386) - url="${url/i386/i686}" - hash="3a9d7193f90cce0884edb6f1c2230ec5cf942fd122e75691fc32cf3e8f728dcb" - ;; - *) return 1 ;; -esac +sha256sums_amd64=("488b098e9cc4bb193c10d3a9abe8b06282099ee73a3e9f7f1febd19a9d9b89f0") +sha256sums_arm64=("4a0e6931823869b401a7ef3dae26e3c027aaee3c42bd62129ee2c6a93489412d") +source_i386=("${source[0]/i386/i686}") +sha256sums_i386=("3a9d7193f90cce0884edb6f1c2230ec5cf942fd122e75691fc32cf3e8f728dcb") diff --git a/packages/lunacy-deb/lunacy-deb.pacscript b/packages/lunacy-deb/lunacy-deb.pacscript index ade367579a..40a4dfa6a3 100644 --- a/packages/lunacy-deb/lunacy-deb.pacscript +++ b/packages/lunacy-deb/lunacy-deb.pacscript @@ -1,10 +1,10 @@ -name="lunacy-deb" +pkgname="lunacy-deb" gives="lunacy" pkgver="9.5.0" pkgdesc="Free design software that keeps your flow with AI tools and built-in graphics" -hash="746db12e8a91409b1a47bbf4d22378e863f88c1f1656bc5aca7d824902c25254" -maintainer="Anifyuli " +sha256sums=("746db12e8a91409b1a47bbf4d22378e863f88c1f1656bc5aca7d824902c25254") +maintainer=("Anifyuli ") arch=('amd64') -url="https://lcdn.icons8.com/setup/Lunacy_${pkgver}.deb" +source=("https://lcdn.icons8.com/setup/Lunacy_${pkgver}.deb") homepage='https://icons8.com/lunacy/' repology=("project: ${gives}") diff --git a/packages/lunarclient-app/lunarclient-app.pacscript b/packages/lunarclient-app/lunarclient-app.pacscript index 6170c8c2ad..310004a77a 100644 --- a/packages/lunarclient-app/lunarclient-app.pacscript +++ b/packages/lunarclient-app/lunarclient-app.pacscript @@ -1,61 +1,48 @@ PACSTALL_DOWNLOADER=curl -_pkgname=lunarclient -name="${_pkgname}-app" +_gives=lunarclient +pkgname="${_gives}-app" repology=("project: lunar-client") pkgver="3.2.4" arch=("amd64") pkgdesc="PvP modpack for all modern versions of Minecraft" homepage='https://lunarclient.com' makedepends=("libfuse2") -replace=("lunarclient" "lunar-client") +replaces=("lunarclient" "lunar-client") breaks=("lunarclient-deb" "lunarclient-bin") -maintainer="Mythbusters123 " +maintainer=("Mythbusters123 ") _appimage="Lunar%20Client-${pkgver}.AppImage" -url="https://launcherupdates.lunarclientcdn.com/${_appimage}" -hash='aae0a052ce84c2f88d7ffaa36af3d794502202b79095353fd5f2de548a639a01' -_iconurl="https://raw.githubusercontent.com/Mythbusters123/lunarclient-app/main/${_pkgname}.png" -_iconhash='28d489d41431bdaa784342a227abdfbbb525bbe831f98d34747ec557b6e02f05' -_desktopurl="https://raw.githubusercontent.com/Mythbusters123/lunarclient-app/main/${_pkgname}.desktop" -_desktophash='419c6bcea780a9cc735fec2ea956f67978bb8d82e321e074c36754f61baa36b8' - -prepare() { - # Be extra careful! - wget -O "${_pkgname}.png" -q "${_iconurl}" - wget -O "${_pkgname}.desktop" -q "${_desktopurl}" - - _downloaded_icon_hash="$(sha256sum "${_pkgname}.png" | cut -d " " -f 1)" - _downloaded_desktop_hash="$(sha256sum "${_pkgname}.desktop" | cut -d " " -f 1)" - - if [[ "${_downloaded_icon_hash}" != "${_iconhash}" ]]; then - fancy_message error "Hashes do not match for icon. Aborting..." - return 1 - fi - - if [[ "${_downloaded_desktop_hash}" != "${_desktophash}" ]]; then - fancy_message error "Hashes do not match for desktop file. Aborting..." - return 1 - fi -} +source=( + "https://launcherupdates.lunarclientcdn.com/${_appimage}" + "https://raw.githubusercontent.com/Mythbusters123/lunarclient-app/main/${_gives}.png" + "https://raw.githubusercontent.com/Mythbusters123/lunarclient-app/main/${_gives}.desktop" +) +sha256sums=( + 'aae0a052ce84c2f88d7ffaa36af3d794502202b79095353fd5f2de548a639a01' + '28d489d41431bdaa784342a227abdfbbb525bbe831f98d34747ec557b6e02f05' + '419c6bcea780a9cc735fec2ea956f67978bb8d82e321e074c36754f61baa36b8' +) build() { - sed -i "s/REPLACE_VERSION/${pkgver}/" "${_pkgname}.desktop" + cd "${_archive}" + sed -i "s/REPLACE_VERSION/${pkgver}/" "${srcdir}/${_gives}.desktop" } package() { + cd "${_archive}" # AppImage - sudo install -Dm755 \ + install -Dm755 \ "${_appimage}" \ - "${pkgdir}/usr/bin/${_pkgname}" + "${pkgdir}/usr/bin/${_gives}" # Desktop file - sudo install -Dm655 \ - "${_pkgname}.desktop" \ - "${pkgdir}/usr/share/applications/${_pkgname}.desktop" + install -Dm655 \ + "${srcdir}/${_gives}.desktop" \ + "${pkgdir}/usr/share/applications/${_gives}.desktop" # Icon image - sudo install -Dm644 \ - "${_pkgname}.png" \ - "${pkgdir}/usr/share/pixmaps/${_pkgname}.png" + install -Dm644 \ + "${srcdir}/${_gives}.png" \ + "${pkgdir}/usr/share/pixmaps/${_gives}.png" } post_install() { fancy_message warn "By using Lunar Client you agree to the Terms of Service and the Privacy Policy" diff --git a/packages/lutris-deb/lutris-deb.pacscript b/packages/lutris-deb/lutris-deb.pacscript index 1b30f2ae11..398df49da8 100644 --- a/packages/lutris-deb/lutris-deb.pacscript +++ b/packages/lutris-deb/lutris-deb.pacscript @@ -1,9 +1,9 @@ -name="lutris-deb" +pkgname="lutris-deb" pkgver="0.5.17" gives="lutris" repology=("project: lutris") -url="https://github.com/lutris/lutris/releases/download/v${pkgver}/lutris_${pkgver}_all.deb" +source=("https://github.com/lutris/lutris/releases/download/v${pkgver}/lutris_${pkgver}_all.deb") depends=("python3-gi-cairo") pkgdesc="open source gaming platform" -hash="70055d0d9db4613dbfef09e9acc43dbd73abb07fe843461faa4c0256b8779ab0" -maintainer="Oren Klopfer " +sha256sums=("70055d0d9db4613dbfef09e9acc43dbd73abb07fe843461faa4c0256b8779ab0") +maintainer=("Oren Klopfer ") diff --git a/packages/lyrebird-git/lyrebird-git.pacscript b/packages/lyrebird-git/lyrebird-git.pacscript index fe70b13ed8..c00b83389c 100644 --- a/packages/lyrebird-git/lyrebird-git.pacscript +++ b/packages/lyrebird-git/lyrebird-git.pacscript @@ -1,16 +1,14 @@ -name="lyrebird-git" +pkgname="lyrebird-git" gives="lyrebird" pkgdesc="Simple and powerful voice changer for Linux, written in GTK 3" -url="https://github.com/lyrebird-voice-changer/lyrebird.git" +source=("https://github.com/lyrebird-voice-changer/lyrebird.git") pkgver="1.1.0" -maintainer="D-Brox " +maintainer=("D-Brox ") depends=("python3" "libgtk-3-dev" "python3-gi" "python3-gi-cairo" "gir1.2-gtk-3.0" "sox" "libsox-fmt-pulse" "pulseaudio") makedepends=("python3-pip") -pkgver() { - git ls-remote "${url}" main | cut -f1 | cut -c1-8 -} package() { - sudo INSTALL_PREFIX="${pkgdir}/usr/local" ./install.sh - sudo sed -i "s|${pkgdir%/}||g" "${pkgdir}/usr/local/share/applications/lyrebird.desktop" + cd "${_archive}" + INSTALL_PREFIX="${pkgdir}/usr/local" ./install.sh + sed -i "s|${pkgdir%/}||g" "${pkgdir}/usr/local/share/applications/lyrebird.desktop" } diff --git a/packages/lyx/lyx.pacscript b/packages/lyx/lyx.pacscript index f7a8412090..61e203a650 100644 --- a/packages/lyx/lyx.pacscript +++ b/packages/lyx/lyx.pacscript @@ -1,16 +1,17 @@ -name="lyx" +pkgname="lyx" pkgver="2.3.7-1" pkgdesc="An advanced WYSIWYM document processor & LaTeX front-end" depends=("libqt5svg5-dev" "texlive-base" "python3" "imagemagick" "libhunspell-dev" "file" "hicolor-icon-theme" "desktop-file-utils") makedepends=("bc" "libx11-dev" "qtbase5-dev" "libenchant-2-dev" "libqt5svg5-dev" "pkg-config") optdepends=("rcs: built-in version control system" "texlive-latex-base: float wrap support") -url="https://ftp.lip6.fr/pub/lyx/stable/2.3.x/lyx-${pkgver}.tar.gz" -hash="910bb48d9b19c0cfeb6ec845eb318515f33a63ea7892a99b2e7b67c6b518bacd" -maintainer="cat-master21 <96554164+cat-master21@users.noreply.github.com>" +source=("https://ftp.lip6.fr/pub/lyx/stable/2.3.x/lyx-${pkgver}.tar.gz") +sha256sums=("910bb48d9b19c0cfeb6ec845eb318515f33a63ea7892a99b2e7b67c6b518bacd") +maintainer=("cat-master21 <96554164+cat-master21@users.noreply.github.com>") repology=("project: lyx") build() { + cd "${_archive}" ./configure --prefix=/usr \ --enable-qt5 \ --enable-build-type=release @@ -18,7 +19,8 @@ build() { } package() { - sudo make install DESTDIR="${pkgdir}" + cd "${_archive}" + make install DESTDIR="${pkgdir}" # install appdata - sudo install -Dm644 ./lib/appdata.xml "${pkgdir}/usr/share/metainfo/lyx.appdata.xml" + install -Dm644 ./lib/appdata.xml "${pkgdir}/usr/share/metainfo/lyx.appdata.xml" } diff --git a/packages/mailspring-deb/mailspring-deb.pacscript b/packages/mailspring-deb/mailspring-deb.pacscript index 90e973872a..3de4300680 100644 --- a/packages/mailspring-deb/mailspring-deb.pacscript +++ b/packages/mailspring-deb/mailspring-deb.pacscript @@ -1,10 +1,10 @@ -name="mailspring-deb" +pkgname="mailspring-deb" gives="mailspring" pkgver="1.13.3" -replace=("${gives}") -url="https://github.com/Foundry376/Mailspring/releases/download/${pkgver}/mailspring-${pkgver}-amd64.deb" +replaces=("${gives}") +source=("https://github.com/Foundry376/Mailspring/releases/download/${pkgver}/mailspring-${pkgver}-amd64.deb") pkgdesc="Mailspring is a new version of Nylas Mail maintained by one of the original authors. It's faster, leaner, and shipping today!" -hash="d85e64f3345123ac75110d24f30bc8ab54372e7ae7d913a9fccabe1fb56ace57" +sha256sums=("d85e64f3345123ac75110d24f30bc8ab54372e7ae7d913a9fccabe1fb56ace57") arch=('amd64') repology=("project: mailspring") -maintainer="Lanius " +maintainer=("Lanius ") diff --git a/packages/maitreya-deb/maitreya-deb.pacscript b/packages/maitreya-deb/maitreya-deb.pacscript old mode 100755 new mode 100644 index e0fc6259c9..02eef96f41 --- a/packages/maitreya-deb/maitreya-deb.pacscript +++ b/packages/maitreya-deb/maitreya-deb.pacscript @@ -1,12 +1,12 @@ -name="maitreya-deb" +pkgname="maitreya-deb" gives="maitreya8" repology=("project: maitreya") pkgver="8.1" -url="https://github.com/martin-pe/maitreya8/releases/download/${pkgver}/maitreya8_${pkgver}_amd64.deb" +source=("https://github.com/martin-pe/maitreya8/releases/download/${pkgver}/maitreya8_${pkgver}_amd64.deb") depends=("libwxsqlite3-3.0-0" "wx-common wx3.0-i18n") -replace=("maitreya" "maitreya8") +replaces=("maitreya" "maitreya8") pkgdesc="Maitreya is a free software for western and Vedic astrology (Jyotish)" -hash="b503e65f512f8f593801786a94b30e79d78c28fe431e5102722eae5b3a5a6bc9" +sha256sums=("b503e65f512f8f593801786a94b30e79d78c28fe431e5102722eae5b3a5a6bc9") arch=('amd64') -maintainer="Zahrun " +maintainer=("Zahrun ") incompatible=('*:lunar' '*:mantic' '*:bookworm' '*:trixie' '*:sid') diff --git a/packages/makedeb-deb/makedeb-deb.pacscript b/packages/makedeb-deb/makedeb-deb.pacscript index a9f32030bc..25f5d9efd7 100644 --- a/packages/makedeb-deb/makedeb-deb.pacscript +++ b/packages/makedeb-deb/makedeb-deb.pacscript @@ -1,9 +1,9 @@ -name="makedeb-deb" +pkgname="makedeb-deb" gives="makedeb" breaks=("${gives}" "${gives}-git") pkgver="16.0.0" repology=("project: ${gives}") -url="https://proget.makedeb.org/debian-feeds/makedeb/main/makedeb/all/makedeb_all_${pkgver}-stable.deb" +source=("https://proget.makedeb.org/debian-feeds/makedeb/main/makedeb/all/makedeb_all_${pkgver}-stable.deb") pkgdesc="A tool which takes PKGBUILD files and creates Debian packages installable with DPKG/APT" -hash="48b8de3c66da9be1ad1d283002c948dd25cb9e45d5d6725af0db38bbd823d7bd" -maintainer="Elsie19 " +sha256sums=("48b8de3c66da9be1ad1d283002c948dd25cb9e45d5d6725af0db38bbd823d7bd") +maintainer=("Elsie19 ") diff --git a/packages/mangohud/mangohud.pacscript b/packages/mangohud/mangohud.pacscript index 81708cce46..6f7932ab80 100644 --- a/packages/mangohud/mangohud.pacscript +++ b/packages/mangohud/mangohud.pacscript @@ -1,18 +1,20 @@ -name="mangohud" +pkgname="mangohud" repology=("project: mangohud") pkgver="0.7.1" -url="https://github.com/flightlessmango/MangoHud/archive/refs/tags/v${pkgver}.tar.gz" +source=("https://github.com/flightlessmango/MangoHud/archive/refs/tags/v${pkgver}.tar.gz") homepage='https://github.com/flightlessmango/MangoHud' makedepends=("gcc" "g++" "gcc-multilib" "g++-multilib" "meson" "ninja-build" "python3-pip" "python3-setuptools" "python3-wheel" "python3-mako" "pkg-config" "mesa-common-dev" "libx11-dev" "libxnvctrl-dev" "libdbus-1-dev" "glslang-tools") pkgdesc="A Vulkan and OpenGL overlay for monitoring FPS, temperatures, CPU/GPU load and more" -hash="40a4954f1f239ae7d2cec0fab3c7e965b30ded5e9729278f3cc0854676b954e5" +sha256sums=("40a4954f1f239ae7d2cec0fab3c7e965b30ded5e9729278f3cc0854676b954e5") incompatible=('debian:bullseye') -maintainer="Elsie19 " +maintainer=("Elsie19 ") build() { - sudo meson build --prefix="/usr" + cd "${_archive}" + meson build --prefix="/usr" } package() { - sudo DESTDIR="${pkgdir}" ninja -j"${NCPU}" -C build install + cd "${_archive}" + DESTDIR="${pkgdir}" ninja -j"${NCPU}" -C build install } diff --git a/packages/marktext-deb/marktext-deb.pacscript b/packages/marktext-deb/marktext-deb.pacscript index 226606881c..6a50890cc1 100644 --- a/packages/marktext-deb/marktext-deb.pacscript +++ b/packages/marktext-deb/marktext-deb.pacscript @@ -1,10 +1,10 @@ -name="marktext-deb" +pkgname="marktext-deb" gives="marktext" pkgdesc="A simple and elegant open-source markdown editor that focused on speed and usability" -replace=("${gives}") +replaces=("${gives}") repology=("project: marktext") arch=("amd64") pkgver="0.17.1" -maintainer="Gianluca Mastrolonardo " -url="https://github.com/marktext/marktext/releases/download/v${pkgver}/marktext-amd64.deb" -hash="927fa87c11e6763171bd68dbf60f235bfea62989e799620dd392d19077574fd2" +maintainer=("Gianluca Mastrolonardo ") +source=("https://github.com/marktext/marktext/releases/download/v${pkgver}/marktext-amd64.deb") +sha256sums=("927fa87c11e6763171bd68dbf60f235bfea62989e799620dd392d19077574fd2") diff --git a/packages/mcontrolcenter-bin/mcontrolcenter-bin.pacscript b/packages/mcontrolcenter-bin/mcontrolcenter-bin.pacscript index ec2a0b77ef..06b490b973 100644 --- a/packages/mcontrolcenter-bin/mcontrolcenter-bin.pacscript +++ b/packages/mcontrolcenter-bin/mcontrolcenter-bin.pacscript @@ -1,21 +1,22 @@ -name="mcontrolcenter-bin" +pkgname="mcontrolcenter-bin" gives="mcontrolcenter" pkgver="0.4.1" depends=("libqt5widgets5") -url="https://github.com/dmitry-s93/MControlCenter/releases/download/${pkgver}/MControlCenter-${pkgver}-bin.tar.gz" +source=("https://github.com/dmitry-s93/MControlCenter/releases/download/${pkgver}/MControlCenter-${pkgver}-bin.tar.gz") repology=("project: mcontrolcenter") pkgdesc="MControlCenter is a Free and Open Source GNU/Linux application that allows you to change the settings of MSI laptops." -hash="81196a66e19ba0ac01536187bee5795a836ee1b37dda8027ca0ddbf9da5cf0dc" -maintainer="সৌম্যদীপ " +sha256sums=("81196a66e19ba0ac01536187bee5795a836ee1b37dda8027ca0ddbf9da5cf0dc") +maintainer=("সৌম্যদীপ ") package() { + cd "${_archive}" cd app || return 1 - sudo install -Dm755 "${gives}" "${pkgdir}/usr/bin/${gives}" - sudo install -Dm644 "${gives}.desktop" "${pkgdir}/usr/share/applications/${gives}.desktop" - sudo install -Dm644 "${gives}.svg" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/${gives}.svg" - sudo install -Dm755 "${gives}-helper" "${pkgdir}/usr/libexec/${gives}-helper" - sudo install -Dm644 "${gives}-helper.conf" "${pkgdir}/usr/share/dbus-1/system.d/${gives}-helper.conf" - sudo install -Dm644 "${gives}.helper.service" "${pkgdir}/usr/share/dbus-1/system-services/${gives}.helper.service" + install -Dm755 "${gives}" "${pkgdir}/usr/bin/${gives}" + install -Dm644 "${gives}.desktop" "${pkgdir}/usr/share/applications/${gives}.desktop" + install -Dm644 "${gives}.svg" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/${gives}.svg" + install -Dm755 "${gives}-helper" "${pkgdir}/usr/libexec/${gives}-helper" + install -Dm644 "${gives}-helper.conf" "${pkgdir}/usr/share/dbus-1/system.d/${gives}-helper.conf" + install -Dm644 "${gives}.helper.service" "${pkgdir}/usr/share/dbus-1/system-services/${gives}.helper.service" } post_install() { diff --git a/packages/megabasterd-bin/megabasterd-bin.pacscript b/packages/megabasterd-bin/megabasterd-bin.pacscript index 5fe9f07296..089cf3264b 100644 --- a/packages/megabasterd-bin/megabasterd-bin.pacscript +++ b/packages/megabasterd-bin/megabasterd-bin.pacscript @@ -1,16 +1,23 @@ -name="megabasterd-bin" +pkgname="megabasterd-bin" gives="megabasterd" pkgver="8.21" pkgdesc="Yet another unofficial (and ugly) cross-platform MEGA downloader/uploader/streaming suite" -homepage="https://github.com/tonikelope/${gives}" +url="https://github.com/tonikelope/${gives}" depends=("java11-runtime") -url="${homepage}/releases/download/v${pkgver}/MegaBasterd_${pkgver}.jar" -hash="3f7460b5ba20cf84ea034e9f2c49def9b07cf59680a3b36492875d851f9e0241" -maintainer="vigress8 " +source=( + "${url}/releases/download/v${pkgver}/MegaBasterd_${pkgver}.jar" + "${gives}.png::https://raw.githubusercontent.com/tonikelope/${gives}/v${pkgver}/src/main/resources/images/pica_roja_big.png" +) +sha256sums=( + "3f7460b5ba20cf84ea034e9f2c49def9b07cf59680a3b36492875d851f9e0241" + "SKIP" +) +maintainer=("vigress8 ") repology=("project: ${gives}") package() { - sudo install -Dm644 "MegaBasterd_${pkgver}.jar" "${pkgdir}/usr/share/java/${gives}/${gives}.jar" + cd "${_archive}" + install -Dm644 "MegaBasterd_${pkgver}.jar" "${pkgdir}/usr/share/java/${gives}/${gives}.jar" cat <<-END > "${gives}" #!/usr/bin/env bash @@ -30,9 +37,8 @@ END StartupWMClass=com-tonikelope-${gives}-MainPanel END - sudo install -Dm755 "${gives}" -t "${pkgdir}/usr/bin" - sudo install -Dm644 "${gives}.desktop" -t "${pkgdir}/usr/share/applications" + install -Dm755 "${gives}" -t "${pkgdir}/usr/bin" + install -Dm644 "${gives}.desktop" -t "${pkgdir}/usr/share/applications" - wget -qO "${gives}.png" "https://raw.githubusercontent.com/tonikelope/${gives}/v${pkgver}/src/main/resources/images/pica_roja_big.png" - sudo install -Dm644 "${gives}.png" -t "${pkgdir}/usr/share/pixmaps" + install -Dm644 "${srcdir}/${gives}.png" -t "${pkgdir}/usr/share/pixmaps" } diff --git a/packages/megasync-deb/megasync-deb.pacscript b/packages/megasync-deb/megasync-deb.pacscript old mode 100755 new mode 100644 index 36d6c74f08..5409cd3ad0 --- a/packages/megasync-deb/megasync-deb.pacscript +++ b/packages/megasync-deb/megasync-deb.pacscript @@ -1,9 +1,9 @@ -name="megasync-deb" +pkgname="megasync-deb" gives="megasync" repology=("project: megasync") pkgver="5.2.0" build_version="2.1" -replace=("${gives}") +replaces=("${gives}") breaks=("${gives}" "${gives}-bin" "${gives}-git" "${gives}-app" "${gives}-deb") incompatible=("debian:sid" "*:buster" "*:stretch" "*:jessie" "debian:testing" "*:bionic" "*:focal" "*:kinetic") arch=("amd64") @@ -12,27 +12,27 @@ case "${DISTRO#*:}" in mantic) distro_base="xUbuntu" distro_release="23.10" - hash="bbd393d4da780f7bad760b5f439a257ca2aa8f7b9d478cc62e28f55366f95460" + sha256sums=("bbd393d4da780f7bad760b5f439a257ca2aa8f7b9d478cc62e28f55366f95460") ;; jammy) distro_base="xUbuntu" distro_release="22.04" - hash="104e912eb813dd47ffb8ad3ae2b76760ebbe09492162184d14308e9cc80119f9" + sha256sums=("104e912eb813dd47ffb8ad3ae2b76760ebbe09492162184d14308e9cc80119f9") ;; bookworm) distro_base="Debian" distro_release="12" - hash="194be72c321812d663e9c8296096965b8e7f5f802bbfe410b09b68fa65c8090d" + sha256sums=("194be72c321812d663e9c8296096965b8e7f5f802bbfe410b09b68fa65c8090d") ;; bullseye) distro_base="Debian" distro_release="11" - hash="0b414c6013c77596683ce5209bd0010bddba4a8bc089b509b77291faa0c040e8" + sha256sums=("0b414c6013c77596683ce5209bd0010bddba4a8bc089b509b77291faa0c040e8") ;; *) ;; esac -url="https://mega.nz/linux/repo/${distro_base}_${distro_release}/amd64/megasync_${pkgver}-${build_version}_amd64.deb" -homepage="https://mega.nz" +source=("https://mega.nz/linux/repo/${distro_base}_${distro_release}/amd64/megasync_${pkgver}-${build_version}_amd64.deb") +url="https://mega.nz" pkgdesc="Easy automated syncing between your computers and your MEGA cloud drive" -maintainer="Arrowsome " +maintainer=("Arrowsome ") diff --git a/packages/meson-focal-deb/meson-focal-deb.pacscript b/packages/meson-focal-deb/meson-focal-deb.pacscript index 16121f33f1..ca58352e39 100644 --- a/packages/meson-focal-deb/meson-focal-deb.pacscript +++ b/packages/meson-focal-deb/meson-focal-deb.pacscript @@ -1,10 +1,10 @@ -name="meson-focal-deb" +pkgname="meson-focal-deb" pkgver="0.61.2" pkgrel="2" gives="meson" -url="https://github.com/oklopfer/debs/raw/master/meson-focal/${gives}_${pkgver}-1_all.deb" -hash="d9c97eac0a3573a98db98a7e56e043968da8ad7908c31f6b16daa19febd28e9b" -maintainer="Oren Klopfer " +source=("https://github.com/oklopfer/debs/raw/master/meson-focal/${gives}_${pkgver}-1_all.deb") +sha256sums=("d9c97eac0a3573a98db98a7e56e043968da8ad7908c31f6b16daa19febd28e9b") +maintainer=("Oren Klopfer ") pkgdesc="Special built meson for compiling on focal" arch=('any') compatible=("ubuntu:focal") diff --git a/packages/micro/micro.pacscript b/packages/micro/micro.pacscript index dbfa57a722..883fb90d21 100644 --- a/packages/micro/micro.pacscript +++ b/packages/micro/micro.pacscript @@ -1,18 +1,19 @@ -name="micro" +pkgname="micro" pkgver="2.0.13" pkgdesc="A modern and intuitive terminal-based text editor" -maintainer="edward-riley " -url="https://github.com/zyedidia/micro/releases/download/v${pkgver}/micro-${pkgver}-linux64.tar.gz" -replace=("micro") -hash="a50e405d3d09d58f6b2c182429c18537a05f317dc0c3c9cb834b3271362e4781" +maintainer=("edward-riley ") +source=("https://github.com/zyedidia/micro/releases/download/v${pkgver}/micro-${pkgver}-linux64.tar.gz") +replaces=("micro") +sha256sums=("a50e405d3d09d58f6b2c182429c18537a05f317dc0c3c9cb834b3271362e4781") optdepends=("xclip: system clipboard support (X11)" "wl-clipboard: system clipboard support (Wayland)") -repology=("project: ${name}") +repology=("project: ${pkgname}") package() { - sudo install -Dm755 micro "${pkgdir}/usr/bin/micro" + cd "${_archive}" + install -Dm755 micro "${pkgdir}/usr/bin/micro" tar -czf "micro.1.tar.gz" "micro.1" - sudo install -Dm644 micro.1.tar.gz "${pkgdir}/usr/share/man/man1/micro.1.tar.gz" - sudo install -Dm644 "./micro.svg" "${pkgdir}/usr/share/pixmaps/micro.svg" - sudo install -Dm644 micro.desktop "${pkgdir}/usr/share/applications/micro.desktop" + install -Dm644 micro.1.tar.gz "${pkgdir}/usr/share/man/man1/micro.1.tar.gz" + install -Dm644 "./micro.svg" "${pkgdir}/usr/share/pixmaps/micro.svg" + install -Dm644 micro.desktop "${pkgdir}/usr/share/applications/micro.desktop" } diff --git a/packages/microsoft-edge-beta-deb/microsoft-edge-beta-deb.pacscript b/packages/microsoft-edge-beta-deb/microsoft-edge-beta-deb.pacscript index 1b67ae5139..85dd080f0b 100644 --- a/packages/microsoft-edge-beta-deb/microsoft-edge-beta-deb.pacscript +++ b/packages/microsoft-edge-beta-deb/microsoft-edge-beta-deb.pacscript @@ -1,10 +1,10 @@ -name="microsoft-edge-beta-deb" +pkgname="microsoft-edge-beta-deb" gives="microsoft-edge-beta" -replace=("${gives}") +replaces=("${gives}") repology=("project: ${gives}") pkgver="117.0.2045.12" -url="https://packages.microsoft.com/repos/edge/pool/main/m/${gives}/${gives}_${pkgver}-1_amd64.deb" +source=("https://packages.microsoft.com/repos/edge/pool/main/m/${gives}/${gives}_${pkgver}-1_amd64.deb") pkgdesc="The web browser from Microsoft - Beta" -hash="ec64370003efdcd3cd7d5abf3a69a7d513968eca785f1be670c06af8046ba607" +sha256sums=("ec64370003efdcd3cd7d5abf3a69a7d513968eca785f1be670c06af8046ba607") arch=('amd64') -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") diff --git a/packages/microsoft-edge-dev-deb/microsoft-edge-dev-deb.pacscript b/packages/microsoft-edge-dev-deb/microsoft-edge-dev-deb.pacscript index 7a1b2dc406..f1e203ba98 100644 --- a/packages/microsoft-edge-dev-deb/microsoft-edge-dev-deb.pacscript +++ b/packages/microsoft-edge-dev-deb/microsoft-edge-dev-deb.pacscript @@ -1,10 +1,10 @@ -name="microsoft-edge-dev-deb" +pkgname="microsoft-edge-dev-deb" gives="microsoft-edge-dev" -replace=("${gives}") +replaces=("${gives}") repology=("project: ${gives}") pkgver="118.0.2060.1" -url="https://packages.microsoft.com/repos/edge/pool/main/m/${gives}/${gives}_${pkgver}-1_amd64.deb" +source=("https://packages.microsoft.com/repos/edge/pool/main/m/${gives}/${gives}_${pkgver}-1_amd64.deb") pkgdesc="The web browser from Microsoft - Developer channel" -hash="38a8c29942cf8d8ba8ba6a80aa2bf2085cc7491d483aeb442164ea5ed0e03213" +sha256sums=("38a8c29942cf8d8ba8ba6a80aa2bf2085cc7491d483aeb442164ea5ed0e03213") arch=('amd64') -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") diff --git a/packages/microsoft-edge-stable-deb/microsoft-edge-stable-deb.pacscript b/packages/microsoft-edge-stable-deb/microsoft-edge-stable-deb.pacscript index 17aee404f7..220ab5b871 100644 --- a/packages/microsoft-edge-stable-deb/microsoft-edge-stable-deb.pacscript +++ b/packages/microsoft-edge-stable-deb/microsoft-edge-stable-deb.pacscript @@ -1,10 +1,10 @@ -name="microsoft-edge-stable-deb" +pkgname="microsoft-edge-stable-deb" gives="microsoft-edge-stable" -replace=("${gives}") +replaces=("${gives}") repology=("project: microsoft-edge") pkgver="120.0.2210.144" -url="https://packages.microsoft.com/repos/edge/pool/main/m/${gives}/${gives}_${pkgver}-1_amd64.deb" +source=("https://packages.microsoft.com/repos/edge/pool/main/m/${gives}/${gives}_${pkgver}-1_amd64.deb") pkgdesc="The web browser from Microsoft" -hash="3bfecb768a5c31f498c7c720f4134353a2b16cf7e717dad85c3ed0ea3ba004b5" +sha256sums=("3bfecb768a5c31f498c7c720f4134353a2b16cf7e717dad85c3ed0ea3ba004b5") arch=('amd64') -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") diff --git a/packages/microsoft-prod-repo-deb/microsoft-prod-repo-deb.pacscript b/packages/microsoft-prod-repo-deb/microsoft-prod-repo-deb.pacscript index b8228d35c1..1dc7356829 100644 --- a/packages/microsoft-prod-repo-deb/microsoft-prod-repo-deb.pacscript +++ b/packages/microsoft-prod-repo-deb/microsoft-prod-repo-deb.pacscript @@ -1,8 +1,8 @@ -name="microsoft-prod-repo-deb" +pkgname="microsoft-prod-repo-deb" pkgver="22.04" -url="https://packages.microsoft.com/config/ubuntu/${pkgver}/packages-microsoft-prod.deb" +source=("https://packages.microsoft.com/config/ubuntu/${pkgver}/packages-microsoft-prod.deb") pkgdesc="Apt repo configuration for packages.microsoft.com" -hash="b8713c36d3e6f6b2520830180cf6b5779e48410ad5d5e1b192635b0c7359fcc6" -maintainer="echometerain " +sha256sums=("b8713c36d3e6f6b2520830180cf6b5779e48410ad5d5e1b192635b0c7359fcc6") +maintainer=("echometerain ") gives="packages-microsoft-prod" breaks=("packages-microsoft-prod") diff --git a/packages/minecraft-launcher-deb/minecraft-launcher-deb.pacscript b/packages/minecraft-launcher-deb/minecraft-launcher-deb.pacscript index 6a40377bc9..53fb13cbfb 100644 --- a/packages/minecraft-launcher-deb/minecraft-launcher-deb.pacscript +++ b/packages/minecraft-launcher-deb/minecraft-launcher-deb.pacscript @@ -1,9 +1,8 @@ -name="minecraft-launcher-deb" -pkgname="minecraft-launcher" -repology=("project: ${pkgname}") +pkgname="minecraft-launcher-deb" +gives="minecraft-launcher" +repology=("project: ${gives}") pkgver="1121" -breaks=("${pkgname}" "${pkgname}-git" "${pkgname}-bin" "${pkgname}-app") -gives="${pkgname}" -url="https://launcher.mojang.com/download/Minecraft.deb" +breaks=("${gives}" "${gives}-git" "${gives}-bin" "${gives}-app") +source=("https://launcher.mojang.com/download/Minecraft.deb") pkgdesc="Official Minecraft Launcher" -maintainer="The Blob SCP <81673375+theblobscp@users.noreply.github.com>" +maintainer=("The Blob SCP <81673375+theblobscp@users.noreply.github.com>") diff --git a/packages/minecraft-launcher/minecraft-launcher.pacscript b/packages/minecraft-launcher/minecraft-launcher.pacscript index fc59660df8..7e7da74cab 100644 --- a/packages/minecraft-launcher/minecraft-launcher.pacscript +++ b/packages/minecraft-launcher/minecraft-launcher.pacscript @@ -1,24 +1,32 @@ -name="minecraft-launcher" pkgname="minecraft-launcher" +gives="minecraft-launcher" pkgver="1121" -maintainer="aranym " -url="https://launcher.mojang.com/download/linux/x86_64/minecraft-launcher_1121.tar.gz" +maintainer=("aranym ") +source=( + "https://launcher.mojang.com/download/linux/x86_64/minecraft-launcher_1121.tar.gz" + "minecraft-launcher.svg::https://launcher.mojang.com/download/minecraft-launcher.svg" + "minecraft-launcher.desktop::https://aur.archlinux.org/cgit/aur.git/plain/minecraft-launcher.desktop?h=minecraft-launcher" +) depends=("wget" "ca-certificates" "default-jre" "libasound2" "libatk-bridge2.0-0" "libatk1.0-0" "libatspi2.0-0" "libc6" "libcairo2" "libcups2" "libdbus-1-3" "libdrm2" "libexpat1" "libgbm1" "libfontconfig1" "libgcc1" "libgdk-pixbuf2.0-0" "libglib2.0-0" "libgtk-3-0" "libnspr4" "libnss3" "libpango1.0-0" "libpango-1.0-0" "libpangocairo-1.0-0" "libstdc++6" "libx11-6" "libxcomposite1" "libxcursor1" "libxdamage1" "libxext6" "libxfixes3" "libxi6" "libxrandr2" "libxrender1" "libxss1" "libxtst6" "libx11-xcb1" "libxcb-dri3-0" "libxcb1" "libbz2-1.0" "lsb-base" "xdg-utils" "wget" "libcurl4" "libuuid1") pkgdesc="Official Minecraft Launcher" arch=('amd64') -hash="b08cb0cb52425afbafdd52a6b2c7d0d94ce0a2d9285f72f47ec2fcdc31e7e0cf" +sha256sums=( + "b08cb0cb52425afbafdd52a6b2c7d0d94ce0a2d9285f72f47ec2fcdc31e7e0cf" + "SKIP" + "SKIP" +) prepare() { - wget -q "https://aur.archlinux.org/cgit/aur.git/plain/minecraft-launcher.desktop?h=minecraft-launcher" -O minecraft-launcher.desktop - wget -q https://launcher.mojang.com/download/minecraft-launcher.svg + cd "${_archive}" } package() { - sudo mkdir -p "${pkgdir}/usr/bin" - sudo mkdir -p "${pkgdir}/usr/share/icons/hicolor/symbolic/apps" - sudo mkdir -p "${pkgdir}/usr/share/applications" + cd "${_archive}" + mkdir -p "${pkgdir}/usr/bin" + mkdir -p "${pkgdir}/usr/share/icons/hicolor/symbolic/apps" + mkdir -p "${pkgdir}/usr/share/applications" chmod +x minecraft-launcher - sudo mv minecraft-launcher "${pkgdir}/usr/bin" - sudo mv minecraft-launcher.svg "${pkgdir}/usr/share/icons/hicolor/symbolic/apps" - sudo mv minecraft-launcher.desktop "${pkgdir}/usr/share/applications" + mv minecraft-launcher "${pkgdir}/usr/bin" + mv "${srcdir}"/minecraft-launcher.svg "${pkgdir}/usr/share/icons/hicolor/symbolic/apps" + mv "${srcdir}"/minecraft-launcher.desktop "${pkgdir}/usr/share/applications" } diff --git a/packages/minecraft-pi-reborn-app/minecraft-pi-reborn-app.pacscript b/packages/minecraft-pi-reborn-app/minecraft-pi-reborn-app.pacscript index fe22cac7d5..123871406e 100644 --- a/packages/minecraft-pi-reborn-app/minecraft-pi-reborn-app.pacscript +++ b/packages/minecraft-pi-reborn-app/minecraft-pi-reborn-app.pacscript @@ -1,24 +1,35 @@ -name="minecraft-pi-reborn-app" -pkgname="minecraft-pi-reborn" +pkgname="minecraft-pi-reborn-app" +gives="minecraft-pi-reborn" pkgver="2.5.3" -gives="${pkgname}" -breaks=("${pkgname}-git" "${pkgname}-deb" "${pkgname}-bin" "minecraft-pi-reborn-client") +breaks=("${gives}-git" "${gives}-deb" "${gives}-bin" "minecraft-pi-reborn-client") pkgdesc="Minecraft Pi edition reborn with new features and for x86 pc." -hash="f00e77a85fbab907af274416fb1c4b78216c1c49a992eeeb54378269a5171156" +sha256sums=( + "f00e77a85fbab907af274416fb1c4b78216c1c49a992eeeb54378269a5171156" + "SKIP" + "SKIP" + "SKIP" +) arch=('amd64') -url="https://gitea.thebrokenrail.com/minecraft-pi-reborn/minecraft-pi-reborn/releases/download/${pkgver}/minecraft-pi-reborn-client-${pkgver}-amd64.AppImage" -maintainer="cat-master21 <96554164+cat-master21@users.noreply.github.com>" -repology=("project: ${pkgname}") +source=( + "https://gitea.thebrokenrail.com/minecraft-pi-reborn/minecraft-pi-reborn/releases/download/${pkgver}/minecraft-pi-reborn-client-${pkgver}-amd64.AppImage" + "https://raw.githubusercontent.com/pacstall/pacstall-programs/master/packages/minecraft-pi-reborn-app/com.thebrokenrail.MCPIRebornClient.desktop" + "https://raw.githubusercontent.com/pacstall/pacstall-programs/master/packages/minecraft-pi-reborn-app/com.thebrokenrail.MCPIRebornClient.appdata.xml" + "https://gitea.thebrokenrail.com/minecraft-pi-reborn/minecraft-pi-reborn/raw/tag/${pkgver}/images/icon.png" +) +maintainer=("cat-master21 <96554164+cat-master21@users.noreply.github.com>") +repology=("project: ${gives}") prepare() { - sudo mkdir -p "${pkgdir}/usr/bin" "${pkgdir}/usr/share/metainfo" "${pkgdir}/usr/share/applications" "${pkgdir}/usr/share/icons/hicolor/256x256/apps" + cd "${_archive}" + mkdir -p "${pkgdir}/usr/bin" "${pkgdir}/usr/share/metainfo" "${pkgdir}/usr/share/applications" "${pkgdir}/usr/share/icons/hicolor/256x256/apps" } package() { - sudo install -Dm644 "minecraft-pi-reborn-client-${pkgver}-amd64.AppImage" "${pkgdir}/usr/bin/minecraft-pi-reborn-client" - sudo chmod +x "${pkgdir}/usr/bin/minecraft-pi-reborn-client" - sudo wget -q "https://raw.githubusercontent.com/pacstall/pacstall-programs/master/packages/minecraft-pi-reborn-app/com.thebrokenrail.MCPIRebornClient.desktop" -O "${pkgdir}/usr/share/applications/com.thebrokenrail.MCPIRebornClient.desktop" - sudo wget -q "https://raw.githubusercontent.com/pacstall/pacstall-programs/master/packages/minecraft-pi-reborn-app/com.thebrokenrail.MCPIRebornClient.appdata.xml" -O "${pkgdir}/usr/share/metainfo/com.thebrokenrail.MCPIRebornClient.appdata.xml" - sudo wget -q "https://gitea.thebrokenrail.com/minecraft-pi-reborn/minecraft-pi-reborn/raw/tag/${pkgver}/images/icon.png" -O "${pkgdir}/usr/share/icons/hicolor/256x256/apps/com.thebrokenrail.MCPIRebornClient.png" - sudo update-desktop-database -q + cd "${_archive}" + install -Dm644 "minecraft-pi-reborn-client-${pkgver}-amd64.AppImage" "${pkgdir}/usr/bin/minecraft-pi-reborn-client" + chmod +x "${pkgdir}/usr/bin/minecraft-pi-reborn-client" + install -Dm644 "${srcdir}/com.thebrokenrail.MCPIRebornClient.desktop" "${pkgdir}/usr/share/applications/com.thebrokenrail.MCPIRebornClient.desktop" + install -Dm644 "${srcdir}/com.thebrokenrail.MCPIRebornClient.appdata.xml" "${pkgdir}/usr/share/metainfo/com.thebrokenrail.MCPIRebornClient.appdata.xml" + install -Dm644 "${srcdir}/icon.png" "${pkgdir}/usr/share/icons/hicolor/256x256/apps/com.thebrokenrail.MCPIRebornClient.png" + update-desktop-database -q } diff --git a/packages/mint-themes/mint-themes.pacscript b/packages/mint-themes/mint-themes.pacscript index 4dab348423..561ad944fb 100644 --- a/packages/mint-themes/mint-themes.pacscript +++ b/packages/mint-themes/mint-themes.pacscript @@ -1,11 +1,11 @@ -name="mint-themes" +pkgname="mint-themes" pkgver=2.1.5 repology=("project: mint-themes") -url="http://packages.linuxmint.com/pool/main/m/mint-themes/mint-themes_${pkgver}.tar.xz" +source=("http://packages.linuxmint.com/pool/main/m/mint-themes/mint-themes_${pkgver}.tar.xz") pkgdesc="GTK 2, 3, and 4 themes from Linux Mint, for use with Cinammon, MATE, and Xfce." -hash="685cff6598bdaf4b6813be3080368845f019e09e974e7f589b5f99acb3da2396" +sha256sums=("685cff6598bdaf4b6813be3080368845f019e09e974e7f589b5f99acb3da2396") repology=("project: ${gives}") -maintainer="badlydrawnface " +maintainer=("badlydrawnface ") makedepends=("python3" "sassc") optdepends=( "mint-y-icons: Complementary icons for Mint-Y themes." @@ -13,10 +13,12 @@ optdepends=( ) build() { + cd "${_archive}" make clean make -j"${NCPU}" } package() { - sudo cp -r usr "${pkgdir}/" + cd "${_archive}" + cp -r usr "${pkgdir}/" } diff --git a/packages/mobile-usb-networking-deb/mobile-usb-networking-deb.pacscript b/packages/mobile-usb-networking-deb/mobile-usb-networking-deb.pacscript index 646435e1d0..3eb09a3461 100644 --- a/packages/mobile-usb-networking-deb/mobile-usb-networking-deb.pacscript +++ b/packages/mobile-usb-networking-deb/mobile-usb-networking-deb.pacscript @@ -1,8 +1,8 @@ -name="mobile-usb-networking-deb" +pkgname="mobile-usb-networking-deb" gives="mobile-usb-networking" pkgver="0.0.4" -url="https://repo.mobian-project.org/pool/main/m/${gives}/${gives}_${pkgver}_all.deb" +source=("https://repo.mobian-project.org/pool/main/m/${gives}/${gives}_${pkgver}_all.deb") pkgdesc="USB networking configuration for mobile devices" -hash="3cfb704db5a6e7ebef88c5cbf8808b42f714afd1ec40c7f18eae72bbb96c3e63" -maintainer="Oren Klopfer " +sha256sums=("3cfb704db5a6e7ebef88c5cbf8808b42f714afd1ec40c7f18eae72bbb96c3e63") +maintainer=("Oren Klopfer ") repology=("project: mobile-usb-networking") diff --git a/packages/moka-icon-theme/moka-icon-theme.pacscript b/packages/moka-icon-theme/moka-icon-theme.pacscript index d464aaf2d2..8347ae017f 100644 --- a/packages/moka-icon-theme/moka-icon-theme.pacscript +++ b/packages/moka-icon-theme/moka-icon-theme.pacscript @@ -1,15 +1,17 @@ -name="moka-icon-theme" +pkgname="moka-icon-theme" pkgver="5.4.0" -maintainer="aranym " -url="https://codeload.github.com/snwh/moka-icon-theme/tar.gz/refs/tags/v5.4.0" +maintainer=("aranym ") +source=("https://codeload.github.com/snwh/moka-icon-theme/tar.gz/refs/tags/v5.4.0") makedepends=("meson" "ninja-build") pkgdesc="Moka is a stylized FreeDesktop icon set, created with simplicity in mind." -hash="b32e82aea4358e087620e852aa20042e791aa957a93de568da1d2223a46c7cd9" +sha256sums=("b32e82aea4358e087620e852aa20042e791aa957a93de568da1d2223a46c7cd9") build() { + cd "${_archive}" meson "build" --prefix="${pkgdir}/usr" } package() { - sudo ninja -C "build" install > /dev/null + cd "${_archive}" + ninja -C "build" install > /dev/null } diff --git a/packages/mold-bin/mold-bin.pacscript b/packages/mold-bin/mold-bin.pacscript index 02825d175a..0a4949f367 100644 --- a/packages/mold-bin/mold-bin.pacscript +++ b/packages/mold-bin/mold-bin.pacscript @@ -4,29 +4,24 @@ # \ // \/ -- \ # \__/\ / \_______ \______ / # \/ \/ \/ -maintainer="wizard-28 " +maintainer=("wizard-28 ") -name="mold-bin" +pkgname="mold-bin" gives="mold" pkgver="2.30.0" arch=("amd64" "arm64") -case "${CARCH}" in - amd64) - url="https://github.com/rui314/mold/releases/download/v${pkgver}/mold-${pkgver}-x86_64-linux.tar.gz" - hash="977e6a123f9c7a45c73f84cd47fc7d4113fb39471d0de7a751ee39350888ac93" - ;; - arm64) - url="https://github.com/rui314/mold/releases/download/v${pkgver}/mold-${pkgver}-aarch64-linux.tar.gz" - hash="258aaf2b7808ea22fca625480efdf7a13830e9ee311716db0ba9c62af1770c07" - ;; - *) return 1 ;; -esac +source_amd64=("https://github.com/rui314/mold/releases/download/v${pkgver}/mold-${pkgver}-x86_64-linux.tar.gz") +sha256sums_amd64=("977e6a123f9c7a45c73f84cd47fc7d4113fb39471d0de7a751ee39350888ac93") +source_arm64=("https://github.com/rui314/mold/releases/download/v${pkgver}/mold-${pkgver}-aarch64-linux.tar.gz") +sha256sums_arm64=("258aaf2b7808ea22fca625480efdf7a13830e9ee311716db0ba9c62af1770c07") + pkgdesc="A modern linker" -breaks=("${gives}-git" "${name}") +breaks=("${gives}-git" "${pkgname}") repology=("project: mold") package() { - sudo mkdir -p "${pkgdir}/usr/" - sudo mv ./* "${pkgdir}/usr/" + cd "${_archive}" + mkdir -p "${pkgdir}/usr/" + mv ./* "${pkgdir}/usr/" } # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/ms-teams-deb/ms-teams-deb.pacscript b/packages/ms-teams-deb/ms-teams-deb.pacscript index f865447302..ac6716b9e3 100644 --- a/packages/ms-teams-deb/ms-teams-deb.pacscript +++ b/packages/ms-teams-deb/ms-teams-deb.pacscript @@ -1,9 +1,9 @@ -name="ms-teams-deb" +pkgname="ms-teams-deb" gives="teams" repology=("project: teams") pkgver="1.5.00.23861" -url="https://packages.microsoft.com/repos/ms-teams/pool/main/t/${gives}/${gives}_${pkgver}_amd64.deb" +source=("https://packages.microsoft.com/repos/ms-teams/pool/main/t/${gives}/${gives}_${pkgver}_amd64.deb") pkgdesc="Microsoft Teams for Linux is your chat-centered workspace in Office 365" -hash="87462709e257fff9784de809559b5abd5dc7af18d8505d856b92a66989995bc1" +sha256sums=("87462709e257fff9784de809559b5abd5dc7af18d8505d856b92a66989995bc1") arch=('amd64') -maintainer="Korkmatik <9c54efc1-143b-4f5f-9d2f-f6f189583f0f@aleeas.com>" +maintainer=("Korkmatik <9c54efc1-143b-4f5f-9d2f-f6f189583f0f@aleeas.com>") diff --git a/packages/mullvad-vpn-beta-deb/mullvad-vpn-beta-deb.pacscript b/packages/mullvad-vpn-beta-deb/mullvad-vpn-beta-deb.pacscript index d24c0aa8f3..9d15db81e5 100644 --- a/packages/mullvad-vpn-beta-deb/mullvad-vpn-beta-deb.pacscript +++ b/packages/mullvad-vpn-beta-deb/mullvad-vpn-beta-deb.pacscript @@ -1,9 +1,9 @@ -name="mullvad-vpn-beta-deb" +pkgname="mullvad-vpn-beta-deb" gives="mullvad-vpn" repology=("project: ${gives}") breaks=("${gives}-deb") pkgver="2023.4" -url="https://github.com/mullvad/mullvadvpn-app/releases/download/${pkgver}/MullvadVPN-${pkgver}_amd64.deb" +source=("https://github.com/mullvad/mullvadvpn-app/releases/download/${pkgver}/MullvadVPN-${pkgver}_amd64.deb") pkgdesc="The Mullvad VPN client app for desktop - Beta channel" -hash="ecda227eb5f5ff7a542474d82bed9d568b3fa05b0a898c328421a2d3b4ac1213" +sha256sums=("ecda227eb5f5ff7a542474d82bed9d568b3fa05b0a898c328421a2d3b4ac1213") arch=('amd64') diff --git a/packages/mullvad-vpn-deb/mullvad-vpn-deb.pacscript b/packages/mullvad-vpn-deb/mullvad-vpn-deb.pacscript index cf3a156acb..5e326bc4a3 100644 --- a/packages/mullvad-vpn-deb/mullvad-vpn-deb.pacscript +++ b/packages/mullvad-vpn-deb/mullvad-vpn-deb.pacscript @@ -1,10 +1,10 @@ -name="mullvad-vpn-deb" +pkgname="mullvad-vpn-deb" gives="mullvad-vpn" repology=("project: ${gives}") breaks=("${gives}-beta-deb" "${gives}-git") -replace=("${gives}") +replaces=("${gives}") pkgver="2024.2" -url="https://github.com/mullvad/mullvadvpn-app/releases/download/${pkgver}/MullvadVPN-${pkgver}_amd64.deb" +source=("https://github.com/mullvad/mullvadvpn-app/releases/download/${pkgver}/MullvadVPN-${pkgver}_amd64.deb") pkgdesc="The Mullvad VPN client app for desktop" -hash="c8e4b5574538816310d777a214ab01e0c9fba31411e6d42b3564fd2cec4357f3" +sha256sums=("c8e4b5574538816310d777a214ab01e0c9fba31411e6d42b3564fd2cec4357f3") arch=('amd64') diff --git a/packages/muse-hub-deb/muse-hub-deb.pacscript b/packages/muse-hub-deb/muse-hub-deb.pacscript index 48b7edf7ad..979a308b4c 100644 --- a/packages/muse-hub-deb/muse-hub-deb.pacscript +++ b/packages/muse-hub-deb/muse-hub-deb.pacscript @@ -1,13 +1,12 @@ -name="muse-hub-deb" -pkgname="muse-hub" +pkgname="muse-hub-deb" +gives="muse-hub" repology=("project: muse-hub") pkgver="1.0.1.451" -url="https://pub-c7a32e5b5d834ec9aeef400105452a42.r2.dev/Muse_Hub.deb" +source=("https://pub-c7a32e5b5d834ec9aeef400105452a42.r2.dev/Muse_Hub.deb") depends=("icu-devtools") -gives="muse-hub" pkgdesc="Manage MuseScore Libraries" -maintainer="Rémy Huet " -hash="0896fd96d72cb18102c2436794caffadd67382d5377b84468a514601847cc3e9" +maintainer=("Rémy Huet ") +sha256sums=("0896fd96d72cb18102c2436794caffadd67382d5377b84468a514601847cc3e9") provides=('muse-hub' 'muse-hub-service') post_remove() { diff --git a/packages/mutt-wizard/mutt-wizard.pacscript b/packages/mutt-wizard/mutt-wizard.pacscript index dd2bab7789..78449507f2 100644 --- a/packages/mutt-wizard/mutt-wizard.pacscript +++ b/packages/mutt-wizard/mutt-wizard.pacscript @@ -1,15 +1,15 @@ # Based on https://aur.archlinux.org/packages/mutt-wizard/ -maintainer="JonBoyleCoding " +maintainer=("JonBoyleCoding ") -name="mutt-wizard" +pkgname="mutt-wizard" pkgver="3.3.1" -url="https://github.com/lukesmithxyz/${name}/archive/v${pkgver}.tar.gz" +source=("https://github.com/lukesmithxyz/${pkgname}/archive/v${pkgver}.tar.gz") repology=("project: mutt-wizard") depends=("neomutt" "isync" "msmtp" "notmuch" "pass" "curl") breaks=("mutt-wizard" "mutt-wizard-git") pkgdesc="Simple interface to auto-configure neomutt and isync with safe passwords" -hash="4091fba053786d4143249e61dfddfd679c15f561ec34af17f130a3ca80c39b53" +sha256sums=("4091fba053786d4143249e61dfddfd679c15f561ec34af17f130a3ca80c39b53") # Some optional dependencies don't currently have an ubuntu package as far as I know, # they have been marked with "No Pkg" in the optdepends. @@ -26,12 +26,13 @@ optdepends=('imagemagick: view images inside of the neomutt TUI' 'cron: set up automatic mail syncing') package() { - sudo make DESTDIR="${pkgdir}" install - sudo install -Dm644 README.md -t "${pkgdir}/usr/share/doc/${name}" - sudo install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${name}" + cd "${_archive}" + make DESTDIR="${pkgdir}" install + install -Dm644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}" + install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" } post_remove() { - sudo rm -rf "/usr/share/licenses/${name}" - sudo rm -rf "/usr/share/doc/${name}" + sudo rm -rf "/usr/share/licenses/${pkgname}" + sudo rm -rf "/usr/share/doc/${pkgname}" } diff --git a/packages/mymonero-app/mymonero-app.pacscript b/packages/mymonero-app/mymonero-app.pacscript index 34f1015a99..4d58254cf2 100644 --- a/packages/mymonero-app/mymonero-app.pacscript +++ b/packages/mymonero-app/mymonero-app.pacscript @@ -1,23 +1,28 @@ -name="mymonero-app" +pkgname="mymonero-app" gives="mymonero" pkgver="1.3.3" pkgdesc="The simplest way to use the next-generation private digital currency Monero" -url="https://github.com/mymonero/mymonero-app-js/releases/download/v${pkgver}/MyMonero-${pkgver}.AppImage" +source=( + "https://github.com/mymonero/mymonero-app-js/releases/download/v${pkgver}/MyMonero-${pkgver}.AppImage" + "MyMonero.png::https://github.com/mymonero/mymonero-app-js/raw/master/build/icon.png" +) makedepends=("libfuse2") depends=("libfuse2") -hash="fd53a237be201dc6e10cc0a9136fb02be1522622b0de67798c34623ca2ecddef" -maintainer="Elsie19 " -__icon_url="https://github.com/mymonero/mymonero-app-js/raw/master/build/icon.png" +sha256sums=( + "fd53a237be201dc6e10cc0a9136fb02be1522622b0de67798c34623ca2ecddef" + "SKIP" +) +maintainer=("Elsie19 ") repology=("project: mymonero") package() { - sudo install -Dm755 "MyMonero-${pkgver}.AppImage" "${pkgdir}/usr/bin/mymonero" - wget -q -O "MyMonero.png" "${__icon_url}" - sudo install -Dm644 "MyMonero.png" "${pkgdir}/usr/share/pixmaps/MyMonero.png" - sudo mkdir -p "${pkgdir}/usr/share/applications/" + cd "${_archive}" + install -Dm755 "MyMonero-${pkgver}.AppImage" "${pkgdir}/usr/bin/mymonero" + install -Dm644 "${srcdir}/MyMonero.png" "${pkgdir}/usr/share/pixmaps/MyMonero.png" + mkdir -p "${pkgdir}/usr/share/applications/" echo "[Desktop Entry] Name=MyMonero Icon=MyMonero Type=Application - Exec=/usr/bin/mymonero" | sudo tee "${pkgdir}/usr/share/applications/mymonero.desktop" > /dev/null + Exec=/usr/bin/mymonero" | tee "${pkgdir}/usr/share/applications/mymonero.desktop" > /dev/null } diff --git a/packages/nala-deb/nala-deb.pacscript b/packages/nala-deb/nala-deb.pacscript index 2aae0456d0..02256607b9 100644 --- a/packages/nala-deb/nala-deb.pacscript +++ b/packages/nala-deb/nala-deb.pacscript @@ -1,10 +1,9 @@ -name="nala-deb" +pkgname="nala-deb" pkgver="0.15.1" -pkgname="nala" -gives="${pkgname}" -breaks=("${pkgname}" "${pkgname}-git" "${pkgname}-bin" "${pkgname}-app") +gives="nala" +breaks=("${gives}" "${gives}-git" "${gives}-bin" "${gives}-app") pkgdesc="Commandline frontend for the apt package manager" -maintainer="Blake Lee " -url="https://deb.volian.org/volian/pool/main/n/nala/nala_${pkgver}_all.deb" -hash="39cfaa52418978aaf8e069528b3c0bd3cb80b1324f9ac2374365e1f645ed18f1" +maintainer=("Blake Lee ") +source=("https://deb.volian.org/volian/pool/main/n/nala/nala_${pkgver}_all.deb") +sha256sums=("39cfaa52418978aaf8e069528b3c0bd3cb80b1324f9ac2374365e1f645ed18f1") arch=('any') diff --git a/packages/nano/nano.pacscript b/packages/nano/nano.pacscript index db5957e6ba..670553d73b 100644 --- a/packages/nano/nano.pacscript +++ b/packages/nano/nano.pacscript @@ -1,21 +1,24 @@ -name="nano" +pkgname="nano" major_version="7" pkgver="7.2" license="GPL3" -url="https://nano-editor.org/dist/v${major_version}/${name}-${pkgver}.tar.xz" +source=("https://nano-editor.org/dist/v${major_version}/${pkgname}-${pkgver}.tar.xz") makedepends=("libncurses-dev" "groff" "autoconf" "make" "automake" "autopoint" "gcc" "gettext" "git" "pkg-config" "texinfo") pkgdesc="Free replacement for the Pico text editor" -hash="86f3442768bd2873cec693f83cdf80b4b444ad3cc14760b74361474fc87a4526" +sha256sums=("86f3442768bd2873cec693f83cdf80b4b444ad3cc14760b74361474fc87a4526") repology=("project: nano") prepare() { + cd "${_archive}" ./configure } build() { + cd "${_archive}" make -j"${NCPU}" } package() { - sudo make install DESTDIR="${pkgdir}" + cd "${_archive}" + make install DESTDIR="${pkgdir}" } diff --git a/packages/naps2-deb/naps2-deb.pacscript b/packages/naps2-deb/naps2-deb.pacscript index dd5a88d1a4..5349c804bd 100644 --- a/packages/naps2-deb/naps2-deb.pacscript +++ b/packages/naps2-deb/naps2-deb.pacscript @@ -1,15 +1,12 @@ -name="naps2-deb" +pkgname="naps2-deb" gives="naps2" depends=("libsane2") repology=("project: ${gives}") pkgver="7.4.2" arch=('arm64' 'amd64') -if [[ ${CARCH} == "arm64" ]]; then - url="https://github.com/cyanfish/${gives}/releases/download/v${pkgver}/${gives}-${pkgver}-linux-arm64.deb" - hash="b81bedd28f2f1774fc0fb7c9e5b60ace295b148214239bbfca46df6c198b305d" -else - url="https://github.com/cyanfish/${gives}/releases/download/v${pkgver}/${gives}-${pkgver}-linux-x64.deb" - hash="8ed4d4cf00b8270f841510b2cb848ddfa7627fcd60b8f29adb30878b5b56d48a" -fi +sha256sums_arm64=("b81bedd28f2f1774fc0fb7c9e5b60ace295b148214239bbfca46df6c198b305d") +source_arm64=("https://github.com/cyanfish/${gives}/releases/download/v${pkgver}/${gives}-${pkgver}-linux-arm64.deb") +sha256sums_amd64=("8ed4d4cf00b8270f841510b2cb848ddfa7627fcd60b8f29adb30878b5b56d48a") +source_amd64=("https://github.com/cyanfish/${gives}/releases/download/v${pkgver}/${gives}-${pkgver}-linux-x64.deb") pkgdesc="NAPS2 is a document scanning application with a focus on simplicity and ease of use" -maintainer="vbrabandt2005 " +maintainer=("vbrabandt2005 ") diff --git a/packages/nautilus-open-in-blackbox-git/nautilus-open-in-blackbox-git.pacscript b/packages/nautilus-open-in-blackbox-git/nautilus-open-in-blackbox-git.pacscript index fda8a526b1..e26899f8eb 100644 --- a/packages/nautilus-open-in-blackbox-git/nautilus-open-in-blackbox-git.pacscript +++ b/packages/nautilus-open-in-blackbox-git/nautilus-open-in-blackbox-git.pacscript @@ -1,16 +1,14 @@ -name="nautilus-open-in-blackbox-git" +pkgname="nautilus-open-in-blackbox-git" gives="nautilus-open-in-blackbox" pkgver="0.1.1" -url="https://github.com/ppvan/nautilus-open-in-blackbox.git" +source=("https://github.com/ppvan/nautilus-open-in-blackbox.git") pkgdesc="Open current directory in BlackBox from Nautilus context menu" -maintainer="Anifyuli " +maintainer=("Anifyuli ") depends=("python3-nautilus") -pkgver() { - git ls-remote "${url}" main | head -n1 | cut -f1 | cut -c1-8 -} package() { - sudo install -Dm644 -t "${pkgdir}/usr/share/nautilus-python/extensions" nautilus-open-in-blackbox.py + cd "${_archive}" + install -Dm644 -t "${pkgdir}/usr/share/nautilus-python/extensions" nautilus-open-in-blackbox.py } # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/neofetch/neofetch.pacscript b/packages/neofetch/neofetch.pacscript index 6b6967355c..bc5f560a80 100644 --- a/packages/neofetch/neofetch.pacscript +++ b/packages/neofetch/neofetch.pacscript @@ -1,6 +1,6 @@ -name="neofetch" +pkgname="neofetch" pkgver="7.1.0" -url="https://github.com/dylanaraps/neofetch/archive/${pkgver}.zip" +source=("https://github.com/dylanaraps/neofetch/archive/${pkgver}.zip") optdepends=("w3m-img: image preview" "libsixel-dev: image preview" "catimg: image preview" @@ -8,9 +8,10 @@ optdepends=("w3m-img: image preview" "caca-utils: image preview" "libcaca-dev: image preview") pkgdesc="Command-line system information tool" -hash="e610da6561f17c8161337d0c4115da310be576e8699fa2add64e14eeb3f3dcf1" -maintainer="Elsie19 " +sha256sums=("e610da6561f17c8161337d0c4115da310be576e8699fa2add64e14eeb3f3dcf1") +maintainer=("Elsie19 ") package() { - sudo make install DESTDIR="${pkgdir}" + cd "${_archive}" + make install DESTDIR="${pkgdir}" } diff --git a/packages/neovide-bin/neovide-bin.pacscript b/packages/neovide-bin/neovide-bin.pacscript index b1de2b30b6..76c639d34c 100644 --- a/packages/neovide-bin/neovide-bin.pacscript +++ b/packages/neovide-bin/neovide-bin.pacscript @@ -6,32 +6,41 @@ # \ // \/ -- \ # \__/\ / \_______ \______ / # \/ \/ \/ -maintainer="wizard-28 " +maintainer=("wizard-28 ") -name="neovide-bin" +pkgname="neovide-bin" gives="neovide" pkgver="0.12.2" pkgrel="2" pkgdesc="No nonsense neovim client in Rust" -url="https://github.com/neovide/neovide/releases/download/${pkgver}/neovide-linux-x86_64.tar.gz" +source=( + "https://github.com/neovide/neovide/releases/download/${pkgver}/neovide-linux-x86_64.tar.gz" + "${gives}.desktop::https://raw.githubusercontent.com/neovide/neovide/${pkgver}/assets/${gives}.desktop" + "LICENSE::https://raw.githubusercontent.com/neovide/neovide/${pkgver}/LICENSE" +"https://raw.githubusercontent.com/neovide/neovide/${pkgver}/assets/${gives}-16x16.png" +"https://raw.githubusercontent.com/neovide/neovide/${pkgver}/assets/${gives}-32x32.png" +"https://raw.githubusercontent.com/neovide/neovide/${pkgver}/assets/${gives}-48x48.png" +"https://raw.githubusercontent.com/neovide/neovide/${pkgver}/assets/${gives}-256x256.png" +) breaks=("${gives}" "${gives}-git" "${gives}-deb" "${gives}-app") -hash="f2e13a9d1941ea8418b5fde5a884892202657aff0b8fcddcf540b7d4caa69c24" +sha256sums=( + "f2e13a9d1941ea8418b5fde5a884892202657aff0b8fcddcf540b7d4caa69c24" + "SKIP" + "SKIP" + "SKIP" + "SKIP" + "SKIP" + "SKIP" +) repology=("project: neovide") -prepare() { - for s in 16 32 48 256; do - wget -q "https://raw.githubusercontent.com/neovide/neovide/${pkgver}/assets/${gives}-${s}x${s}.png" - done - wget -q "https://raw.githubusercontent.com/neovide/neovide/${pkgver}/assets/${gives}.desktop" - wget -q "https://raw.githubusercontent.com/neovide/neovide/${pkgver}/LICENSE" -} - package() { - sudo install -vDm755 "${gives}" -t "${pkgdir}/usr/bin" + cd "${_archive}" + install -vDm755 "${gives}" -t "${pkgdir}/usr/bin" for s in 16 32 48 256; do - sudo install -vDm755 "${gives}-${s}x${s}.png" -t "${pkgdir}/usr/share/icons/hicolor/${s}x${s}/apps" + install -vDm755 "${srcdir}/${gives}-${s}x${s}.png" -t "${pkgdir}/usr/share/icons/hicolor/${s}x${s}/apps" done - sudo install -vDm755 "${gives}.desktop" -t "${pkgdir}/usr/share/applications" - sudo install -vDm755 "LICENSE" -t "${pkgdir}/usr/share/licenses/neovide" + install -vDm755 "${srcdir}/${gives}.desktop" -t "${pkgdir}/usr/share/applications" + install -vDm755 "${srcdir}/LICENSE" -t "${pkgdir}/usr/share/licenses/neovide" } # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/neovim-app/neovim-app.pacscript b/packages/neovim-app/neovim-app.pacscript index b8d483188d..244745bf62 100644 --- a/packages/neovim-app/neovim-app.pacscript +++ b/packages/neovim-app/neovim-app.pacscript @@ -1,17 +1,18 @@ -name="neovim-app" +pkgname="neovim-app" gives="neovim" -replace=("nvim" "neovim-runtime" "neovim-deb") +replaces=("nvim" "neovim-runtime" "neovim-deb") pkgver="0.9.5" makedepends=("libfuse2") depends=("libfuse2") -url="https://github.com/neovim/neovim/releases/download/v${pkgver}/nvim.appimage" +source=("https://github.com/neovim/neovim/releases/download/v${pkgver}/nvim.appimage") homepage='https://neovim.io/' -hash="0c82e5702af7a11fbb916a11b4a82e98928abf8266c74b2030ea740340437bf9" +sha256sums=("0c82e5702af7a11fbb916a11b4a82e98928abf8266c74b2030ea740340437bf9") pkgdesc="Vim fork maintained by the community" repology=("project: neovim") -maintainer="Elsie19 " +maintainer=("Elsie19 ") package() { - sudo chmod +x nvim.appimage - sudo install -Dm755 "nvim.appimage" "${pkgdir}/usr/bin/nvim" + cd "${_archive}" + chmod +x nvim.appimage + install -Dm755 "nvim.appimage" "${pkgdir}/usr/bin/nvim" } diff --git a/packages/neovim-git/neovim-git.pacscript b/packages/neovim-git/neovim-git.pacscript index 00c8775ddd..23850a8541 100644 --- a/packages/neovim-git/neovim-git.pacscript +++ b/packages/neovim-git/neovim-git.pacscript @@ -1,21 +1,20 @@ -name="neovim-git" +pkgname="neovim-git" gives="neovim" -url="https://github.com/neovim/neovim.git" +source=("https://github.com/neovim/neovim.git") pkgver="0.9.1" homepage='https://neovim.io/' pkgdesc="Vim fork maintained by the community" -maintainer="Elsie19 " +maintainer=("Elsie19 ") makedepends=("ninja-build" "gettext" "libtool-bin" "autoconf" "automake" "cmake" "g++" "pkg-config" "unzip") breaks=("neovim-bin" "neovim" "neovim-app" "neovim-deb") -pkgver() { - git ls-remote "${url}" master | head -n1 | cut -f1 | cut -c1-8 -} build() { + cd "${_archive}" make CMAKE_BUILD_TYPE=Release CMAKE_INSTALL_PREFIX=/usr -j"${NCPU}" } package() { - sudo make install DESTDIR="${pkgdir}" + cd "${_archive}" + make install DESTDIR="${pkgdir}" } # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/neovim/neovim.pacscript b/packages/neovim/neovim.pacscript index dbce2e8a0e..78131bb29a 100644 --- a/packages/neovim/neovim.pacscript +++ b/packages/neovim/neovim.pacscript @@ -1,20 +1,22 @@ -name="neovim" +pkgname="neovim" pkgver="0.9.5" -url="https://github.com/neovim/neovim/archive/refs/tags/v${pkgver}.tar.gz" +source=("https://github.com/neovim/neovim/archive/refs/tags/v${pkgver}.tar.gz") homepage='https://neovim.io/' makedepends=("gettext" "libtool" "libtool-bin" "autoconf" "automake" "cmake" "g++" "pkg-config") -replace=("neovim" "nvim" "neovim-runtime") +replaces=("neovim" "nvim" "neovim-runtime") pkgdesc="Neovim is a vim fork maintained by the community" -hash="fe74369fc30a32ec7a086b1013acd0eacd674e7570eb1acc520a66180c9e9719" -maintainer="Elsie19 " -repology=("project: ${name}") +sha256sums=("fe74369fc30a32ec7a086b1013acd0eacd674e7570eb1acc520a66180c9e9719") +maintainer=("Elsie19 ") +repology=("project: ${pkgname}") build() { + cd "${_archive}" make CMAKE_BUILD_TYPE=Release CMAKE_INSTALL_PREFIX=/usr -j"${NCPU}" } package() { - sudo make install DESTDIR="${pkgdir}" - sudo install -Dm644 "LICENSE.txt" -t "${pkgdir}/usr/share/licenses/${name}" - sudo install -Dm644 "README.md" -t "${pkgdir}/usr/share/doc/${name}" + cd "${_archive}" + make install DESTDIR="${pkgdir}" + install -Dm644 "LICENSE.txt" -t "${pkgdir}/usr/share/licenses/${pkgname}" + install -Dm644 "README.md" -t "${pkgdir}/usr/share/doc/${pkgname}" } diff --git a/packages/nerd-fonts-cascadia-code/nerd-fonts-cascadia-code.pacscript b/packages/nerd-fonts-cascadia-code/nerd-fonts-cascadia-code.pacscript index d680f64b29..3b3917717e 100644 --- a/packages/nerd-fonts-cascadia-code/nerd-fonts-cascadia-code.pacscript +++ b/packages/nerd-fonts-cascadia-code/nerd-fonts-cascadia-code.pacscript @@ -1,13 +1,14 @@ -name="nerd-fonts-cascadia-code" +pkgname="nerd-fonts-cascadia-code" pkgver="3.1.1" repology=("project: fonts:nerd-fonts") -replace=("${name}") -url="https://github.com/ryanoasis/nerd-fonts/releases/download/v${pkgver}/CascadiaCode.tar.xz" +replaces=("${pkgname}") +source=("https://github.com/ryanoasis/nerd-fonts/releases/download/v${pkgver}/CascadiaCode.tar.xz") pkgdesc="Patched font Cascadia Code from Nerd Fonts library" -hash="6f5f72a9df47c4d96cc427c89a12c0c538b5873aa46c9e2d3df3306b7429bef4" -maintainer="heyzsh " +sha256sums=("6f5f72a9df47c4d96cc427c89a12c0c538b5873aa46c9e2d3df3306b7429bef4") +maintainer=("heyzsh ") package() { - sudo install -Dm644 ./*.otf -t "${pkgdir}/usr/share/fonts/OTF" - sudo install -Dm644 "LICENSE" -t "${pkgdir}/usr/share/licenses/${name}" + cd "${_archive}" + install -Dm644 ./*.otf -t "${pkgdir}/usr/share/fonts/OTF" + install -Dm644 "LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}" } diff --git a/packages/nerd-fonts-fira-code/nerd-fonts-fira-code.pacscript b/packages/nerd-fonts-fira-code/nerd-fonts-fira-code.pacscript index c320c2f9e0..9ccb1cfe19 100644 --- a/packages/nerd-fonts-fira-code/nerd-fonts-fira-code.pacscript +++ b/packages/nerd-fonts-fira-code/nerd-fonts-fira-code.pacscript @@ -1,13 +1,14 @@ -name="nerd-fonts-fira-code" -replace=("${name}") +pkgname="nerd-fonts-fira-code" +replaces=("${pkgname}") repology=("project: fonts:nerd-fonts") pkgver="3.1.1" -url="https://github.com/ryanoasis/nerd-fonts/releases/download/v${pkgver}/FiraCode.zip" +source=("https://github.com/ryanoasis/nerd-fonts/releases/download/v${pkgver}/FiraCode.zip") pkgdesc="Patched font Fira Code from Nerd Fonts library" -hash="1ad776cc5c186ff7ba1e2a05eea6701dfa57f7a1763e1db3422979301fb86209" -maintainer="Nezred " +sha256sums=("1ad776cc5c186ff7ba1e2a05eea6701dfa57f7a1763e1db3422979301fb86209") +maintainer=("Nezred ") package() { - sudo install -Dm644 ./*.ttf -t "${pkgdir}/usr/share/fonts/TTF" - sudo install -Dm644 "LICENSE" -t "${pkgdir}/usr/share/licenses/${name}" + cd "${_archive}" + install -Dm644 ./*.ttf -t "${pkgdir}/usr/share/fonts/TTF" + install -Dm644 "LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}" } diff --git a/packages/nerd-fonts-hack/nerd-fonts-hack.pacscript b/packages/nerd-fonts-hack/nerd-fonts-hack.pacscript index 0e08f2e623..d8ff699c7b 100644 --- a/packages/nerd-fonts-hack/nerd-fonts-hack.pacscript +++ b/packages/nerd-fonts-hack/nerd-fonts-hack.pacscript @@ -1,13 +1,14 @@ -name="nerd-fonts-hack" -replace=("${name}") +pkgname="nerd-fonts-hack" +replaces=("${pkgname}") repology=("project: fonts:nerd-fonts") pkgver="3.1.1" -url="https://github.com/ryanoasis/nerd-fonts/releases/download/v${pkgver}/Hack.tar.xz" +source=("https://github.com/ryanoasis/nerd-fonts/releases/download/v${pkgver}/Hack.tar.xz") pkgdesc="Patched font Hack from Nerd Fonts library" -hash="0d820cb2fedb86a15ca1354e03f26443face8b6aa190610263fad1125a409a16" -maintainer="Elsie19 " +sha256sums=("0d820cb2fedb86a15ca1354e03f26443face8b6aa190610263fad1125a409a16") +maintainer=("Elsie19 ") package() { - sudo install -Dm644 ./*.ttf -t "${pkgdir}/usr/share/fonts/TTF" - sudo install -Dm644 "LICENSE.md" -t "${pkgdir}/usr/share/licenses/${name}" + cd "${_archive}" + install -Dm644 ./*.ttf -t "${pkgdir}/usr/share/fonts/TTF" + install -Dm644 "LICENSE.md" -t "${pkgdir}/usr/share/licenses/${pkgname}" } diff --git a/packages/nerd-fonts-jetbrains-mono/nerd-fonts-jetbrains-mono.pacscript b/packages/nerd-fonts-jetbrains-mono/nerd-fonts-jetbrains-mono.pacscript index 5ee5b2c2ef..37582bc3cd 100644 --- a/packages/nerd-fonts-jetbrains-mono/nerd-fonts-jetbrains-mono.pacscript +++ b/packages/nerd-fonts-jetbrains-mono/nerd-fonts-jetbrains-mono.pacscript @@ -1,13 +1,14 @@ -name="nerd-fonts-jetbrains-mono" -replace=("${name}") +pkgname="nerd-fonts-jetbrains-mono" +replaces=("${pkgname}") repology=("project: fonts:nerd-fonts") pkgver="3.1.1" -url="https://github.com/ryanoasis/nerd-fonts/releases/download/v${pkgver}/JetBrainsMono.tar.xz" +source=("https://github.com/ryanoasis/nerd-fonts/releases/download/v${pkgver}/JetBrainsMono.tar.xz") pkgdesc="Patched font JetBrains Mono from Nerd Fonts library" -hash="92225abcacf2fe500c59c5f16962528909a0c5caec8e2aa14a6546ff268a1db9" -maintainer="Damian Bednarczyk " +sha256sums=("92225abcacf2fe500c59c5f16962528909a0c5caec8e2aa14a6546ff268a1db9") +maintainer=("Damian Bednarczyk ") package() { - sudo install -Dm644 ./*.ttf -t "${pkgdir}/usr/share/fonts/TTF" - sudo install -Dm644 "OFL.txt" -t "${pkgdir}/usr/share/licenses/${name}" + cd "${_archive}" + install -Dm644 ./*.ttf -t "${pkgdir}/usr/share/fonts/TTF" + install -Dm644 "OFL.txt" -t "${pkgdir}/usr/share/licenses/${pkgname}" } diff --git a/packages/nodejs-lts-deb/nodejs-lts-deb.pacscript b/packages/nodejs-lts-deb/nodejs-lts-deb.pacscript index 6d63ca2fc4..dcb2714ca7 100644 --- a/packages/nodejs-lts-deb/nodejs-lts-deb.pacscript +++ b/packages/nodejs-lts-deb/nodejs-lts-deb.pacscript @@ -1,13 +1,12 @@ -name="nodejs-lts-deb" -pkgname="nodejs" +pkgname="nodejs-lts-deb" +gives="nodejs" _major_version="18" pkgver="18.15.0" -breaks=("${pkgname}" "${pkgname}-git" "${pkgname}-bin" "${pkgname}-app") -replace=("${pkgname}" "node") -gives="${pkgname}" +breaks=("${gives}" "${gives}-git" "${gives}-bin" "${gives}-app") +replaces=("${gives}" "node") pkgdesc="Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine" -maintainer="Paul Cosma (saenai) " -hash="c253e9021faf026115d45ae8ea56f5c587483baebeab1394578c3cd1d44d9c64" +maintainer=("Paul Cosma (saenai) ") +sha256sums=("c253e9021faf026115d45ae8ea56f5c587483baebeab1394578c3cd1d44d9c64") arch=('amd64') -url="https://deb.nodesource.com/node_${_major_version}.x/pool/main/n/nodejs/nodejs_${pkgver}-deb-1nodesource1_amd64.deb" +source=("https://deb.nodesource.com/node_${_major_version}.x/pool/main/n/nodejs/nodejs_${pkgver}-deb-1nodesource1_amd64.deb") repology=("project: nodejs" "repo: centos_stream_9") diff --git a/packages/nofetch/nofetch.pacscript b/packages/nofetch/nofetch.pacscript index 1f5b01bd47..86eecf982c 100644 --- a/packages/nofetch/nofetch.pacscript +++ b/packages/nofetch/nofetch.pacscript @@ -1,12 +1,13 @@ -name="nofetch" +pkgname="nofetch" pkgver="1.0" -url="https://github.com/jnats/nofetch/archive/refs/tags/v${pkgver}.zip" +source=("https://github.com/jnats/nofetch/archive/refs/tags/v${pkgver}.zip") pkgdesc="The simple man's fetch tool" breaks=("foo") -hash="92e1d4b047b2f5c5ba99d2afa922a65004321cd7930027183ee8c57d393cbb78" +sha256sums=("92e1d4b047b2f5c5ba99d2afa922a65004321cd7930027183ee8c57d393cbb78") package() { - sudo mkdir -p "${pkgdir}/usr/bin" + cd "${_archive}" + mkdir -p "${pkgdir}/usr/bin" chmod +x nofetch - sudo mv nofetch "${pkgdir}/usr/bin" + mv nofetch "${pkgdir}/usr/bin" } diff --git a/packages/noisetorch-bin/noisetorch-bin.pacscript b/packages/noisetorch-bin/noisetorch-bin.pacscript index 2e33fe9074..a7748e6391 100644 --- a/packages/noisetorch-bin/noisetorch-bin.pacscript +++ b/packages/noisetorch-bin/noisetorch-bin.pacscript @@ -1,28 +1,34 @@ -name="noisetorch-bin" -pkgname="noisetorch" +pkgname="noisetorch-bin" +gives="noisetorch" pkgver="0.12.2" pkgdesc="Easy to use noise suppression for PulseAudio" repology=("project: noisetorch" "visiblename: noisetorch-bin") -url="https://github.com/noisetorch/NoiseTorch/releases/download/v${pkgver}/NoiseTorch_x64_v${pkgver}.tgz" -hash="aaa29e76736dc3432197e665f3c868496b5aca52183b67e5a0a1b8fa7913fe60" -maintainer="Marie Piontek " -gives="${pkgname}" -breaks=("${pkgname}" "${pkgname}-deb" "${pkgname}-app" "${pkgname}-git") +source=( + "https://github.com/noisetorch/NoiseTorch/releases/download/v${pkgver}/NoiseTorch_x64_v${pkgver}.tgz" + "noisetorch-pipewire.service::https://aur.archlinux.org/cgit/aur.git/plain/noisetorch-pipewire.service?h=noisetorch-bin" + "noisetorch-pulse.service::https://aur.archlinux.org/cgit/aur.git/plain/noisetorch-pulse.service?h=noisetorch-bin" +) +sha256sums=( + "aaa29e76736dc3432197e665f3c868496b5aca52183b67e5a0a1b8fa7913fe60" + "SKIP" + "SKIP" +) +maintainer=("Marie Piontek ") +breaks=("${gives}" "${gives}-deb" "${gives}-app" "${gives}-git") depends=("policykit-1") package() { + cd "${_archive}" # Extract tgz tar zxf NoiseTorch_x64_v"${pkgver}".tgz # Get services from AUR and install - wget -q "https://aur.archlinux.org/cgit/aur.git/plain/noisetorch-pipewire.service?h=noisetorch-bin" -O noisetorch-pipewire.service - wget -q "https://aur.archlinux.org/cgit/aur.git/plain/noisetorch-pulse.service?h=noisetorch-bin" -O noisetorch-pulse.service - sudo install -D -m644 noisetorch-{pulse,pipewire}.service -t "${pkgdir}/usr/lib/systemd/user/" + install -D -m644 noisetorch-{pulse,pipewire}.service -t "${pkgdir}/usr/lib/systemd/user/" # Install the rest of the app - sudo install -D -m755 "${SRCDIR}/.local/bin/noisetorch" "${pkgdir}/usr/bin/noisetorch" - sudo install -D -m644 "${SRCDIR}/.local/share/applications/noisetorch.desktop" "${pkgdir}/usr/share/applications/noisetorch.desktop" + install -D -m755 "${srcdir}/.local/bin/noisetorch" "${pkgdir}/usr/bin/noisetorch" + install -D -m644 "${srcdir}/.local/share/applications/noisetorch.desktop" "${pkgdir}/usr/share/applications/noisetorch.desktop" - sudo chmod +x "${pkgdir}/usr/bin/noisetorch" - sudo install -D -m644 "${SRCDIR}/.local/share/icons/hicolor/256x256/apps/noisetorch.png" "${pkgdir}/usr/share/icons/hicolor/256x256/apps/noisetorch.png" + chmod +x "${pkgdir}/usr/bin/noisetorch" + install -D -m644 "${srcdir}/.local/share/icons/hicolor/256x256/apps/noisetorch.png" "${pkgdir}/usr/share/icons/hicolor/256x256/apps/noisetorch.png" } diff --git a/packages/nomachine-deb/nomachine-deb.pacscript b/packages/nomachine-deb/nomachine-deb.pacscript index 4f426e1cfb..62e527deca 100644 --- a/packages/nomachine-deb/nomachine-deb.pacscript +++ b/packages/nomachine-deb/nomachine-deb.pacscript @@ -1,11 +1,11 @@ -name="nomachine-deb" +pkgname="nomachine-deb" gives="nomachine" repology=("project: ${gives}") pkgver="8.4.2_1" breaks=("${gives}-bin" "${gives}-app" "${gives}-git") -replace=("${gives}") -hash="0934b3cf8468d3748a84a084b5eebd4c06974499e29a1f512ae61488357962fa" -url="https://download.nomachine.com/download/8.4/Linux/${gives}_${pkgver}_${CARCH}.deb" +replaces=("${gives}") +sha256sums=("0934b3cf8468d3748a84a084b5eebd4c06974499e29a1f512ae61488357962fa") +source=("https://download.nomachine.com/download/8.4/Linux/${gives}_${pkgver}_${CARCH}.deb") pkgdesc="Remote desktop software designed for anyone who wants to access a single or multiple computers." arch=('amd64') -maintainer="Cameron Computer " +maintainer=("Cameron Computer ") diff --git a/packages/nordlayer-deb/nordlayer-deb.pacscript b/packages/nordlayer-deb/nordlayer-deb.pacscript index 92ce71a1fc..98463b41d5 100644 --- a/packages/nordlayer-deb/nordlayer-deb.pacscript +++ b/packages/nordlayer-deb/nordlayer-deb.pacscript @@ -1,9 +1,9 @@ -name="nordlayer-deb" +pkgname="nordlayer-deb" gives="nordlayer" -replace=("nordvpnteams") +replaces=("nordvpnteams") repology=("project: ${gives}") pkgver="2.6.0" -url="https://downloads.nordlayer.com/linux/latest/debian/pool/main/${gives}_${pkgver}_amd64.deb" +source=("https://downloads.nordlayer.com/linux/latest/debian/pool/main/${gives}_${pkgver}_amd64.deb") pkgdesc="NordLayer's CLI Tool" -hash="650f813e14b451df5595ae410bd1e726682e1f8ffd1141596071c47589c96b32" +sha256sums=("650f813e14b451df5595ae410bd1e726682e1f8ffd1141596071c47589c96b32") arch=('amd64') diff --git a/packages/nordvpn-deb/nordvpn-deb.pacscript b/packages/nordvpn-deb/nordvpn-deb.pacscript index c1c6d2282d..d603b6a704 100644 --- a/packages/nordvpn-deb/nordvpn-deb.pacscript +++ b/packages/nordvpn-deb/nordvpn-deb.pacscript @@ -1,9 +1,9 @@ -name="nordvpn-deb" +pkgname="nordvpn-deb" gives="nordvpn" repology=("project: ${gives}" "visiblename: ${gives}-bin") pkgver="3.17.0" -url="https://repo.nordvpn.com/deb/${gives}/debian/pool/main/${gives}_${pkgver}_amd64.deb" +source=("https://repo.nordvpn.com/deb/${gives}/debian/pool/main/${gives}_${pkgver}_amd64.deb") pkgdesc="NordVPN's CLI tool" -hash="d12c830f9e4fe949942a00fd874fdd3e426d5694478feae5482c9f53065ebbf1" +sha256sums=("d12c830f9e4fe949942a00fd874fdd3e426d5694478feae5482c9f53065ebbf1") arch=('amd64') -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") diff --git a/packages/notion-app-deb/notion-app-deb.pacscript b/packages/notion-app-deb/notion-app-deb.pacscript index 43b5ac4992..a79bc99461 100644 --- a/packages/notion-app-deb/notion-app-deb.pacscript +++ b/packages/notion-app-deb/notion-app-deb.pacscript @@ -1,12 +1,11 @@ -name="notion-app-deb" -pkgname="notion-app" -repology=("project: ${pkgname}") +pkgname="notion-app-deb" +gives="notion-app" +repology=("project: ${gives}") pkgver="2.0.18-1" -url="https://github.com/notion-enhancer/notion-repackaged/releases/download/v${pkgver}/${pkgname}_${pkgver}_amd64.deb" -breaks=("${pkgname}-app" "${pkgname}-enhanced-deb" "${pkgname}-enhanced-app") -replace=("${pkgname}") -gives="${pkgname}" +source=("https://github.com/notion-enhancer/notion-repackaged/releases/download/v${pkgver}/${gives}_${pkgver}_amd64.deb") +breaks=("${gives}-app" "${gives}-enhanced-deb" "${gives}-enhanced-app") +replaces=("${gives}") pkgdesc="The all-in-one workspace for your notes and tasks" -hash="7246fb0485cc6ecd5f5381d0568b29d77afff3628ee42a486f39d5af8728ff4e" +sha256sums=("7246fb0485cc6ecd5f5381d0568b29d77afff3628ee42a486f39d5af8728ff4e") arch=('amd64') -maintainer="IOplus " +maintainer=("IOplus ") diff --git a/packages/notion-app-enhanced-deb/notion-app-enhanced-deb.pacscript b/packages/notion-app-enhanced-deb/notion-app-enhanced-deb.pacscript index dd25de4ddb..a47a22b840 100644 --- a/packages/notion-app-enhanced-deb/notion-app-enhanced-deb.pacscript +++ b/packages/notion-app-enhanced-deb/notion-app-enhanced-deb.pacscript @@ -1,12 +1,11 @@ -name="notion-app-enhanced-deb" -pkgname="notion-app-enhanced" -repology=("project: ${pkgname}") +pkgname="notion-app-enhanced-deb" +gives="notion-app-enhanced" +repology=("project: ${gives}") pkgver="2.0.18-1" -url="https://github.com/notion-enhancer/notion-repackaged/releases/download/v${pkgver}/${pkgname}_${pkgver}_amd64.deb" -breaks=("${pkgname}-app" "notion-app-deb" "notion-app-app") -replace=("${pkgname}") -gives="${pkgname}" +source=("https://github.com/notion-enhancer/notion-repackaged/releases/download/v${pkgver}/${gives}_${pkgver}_amd64.deb") +breaks=("${gives}-app" "notion-app-deb" "notion-app-app") +replaces=("${gives}") pkgdesc="The all-in-one workspace for your notes and tasks, but enhanced" -hash="b4c2b63eff8c93201ce6ddfef9b0cbd53a3fb7cec9fcd01e3a877d4a9c943bfc" +sha256sums=("b4c2b63eff8c93201ce6ddfef9b0cbd53a3fb7cec9fcd01e3a877d4a9c943bfc") arch=('amd64') -maintainer="IOplus " +maintainer=("IOplus ") diff --git a/packages/notion-git/notion-git.pacscript b/packages/notion-git/notion-git.pacscript index 119c4f52a9..d97bcc5148 100644 --- a/packages/notion-git/notion-git.pacscript +++ b/packages/notion-git/notion-git.pacscript @@ -1,20 +1,18 @@ -name="notion-git" pkgname="notion-git" +gives="notion-git" pkgdesc="The notion window manager" -maintainer="edward-riley " -url="https://github.com/raboof/notion.git" +maintainer=("edward-riley ") +source=("https://github.com/raboof/notion.git") pkgver="4.0.2" depends=("build-essential" "lua5.1" "liblua5.1-0-dev" "libx11-dev" "libxext-dev" "libsm-dev" "gettext" "libxinerama-dev" "libxrandr-dev" "libxft-dev") -gives="notion" breaks=("notion") -pkgver() { - git ls-remote "${url}" main | cut -f1 | cut -c1-8 -} build() { + cd "${_archive}" make -j"${NCPU}" } package() { - sudo make install DESTDIR="${pkgdir}" + cd "${_archive}" + make install DESTDIR="${pkgdir}" } diff --git a/packages/nowpm/nowpm.pacscript b/packages/nowpm/nowpm.pacscript index 6bde983ff4..ae1d78845a 100644 --- a/packages/nowpm/nowpm.pacscript +++ b/packages/nowpm/nowpm.pacscript @@ -1,13 +1,14 @@ -name="nowpm" +pkgname="nowpm" pkgver="1.0" -url="https://github.com/jnats/nowpm/archive/refs/tags/v${pkgver}.zip" +source=("https://github.com/jnats/nowpm/archive/refs/tags/v${pkgver}.zip") pkgdesc="the no-bullshit wpm utility" depends=("wdiff") breaks=("foo") -hash="293e22e3ccdffd3e5db70ff025f66369d6550a1ea7fc18af538bc8d83f91b790" +sha256sums=("293e22e3ccdffd3e5db70ff025f66369d6550a1ea7fc18af538bc8d83f91b790") package() { - sudo mkdir -p "${pkgdir}/usr/bin" + cd "${_archive}" + mkdir -p "${pkgdir}/usr/bin" chmod +x nowpm - sudo mv nowpm "${pkgdir}/usr/bin" + mv nowpm "${pkgdir}/usr/bin" } diff --git a/packages/nu-tongues-bin/nu-tongues-bin.pacscript b/packages/nu-tongues-bin/nu-tongues-bin.pacscript index 3d19586217..bc92a9fb52 100644 --- a/packages/nu-tongues-bin/nu-tongues-bin.pacscript +++ b/packages/nu-tongues-bin/nu-tongues-bin.pacscript @@ -1,25 +1,20 @@ -name="nu-tongues-bin" +pkgname="nu-tongues-bin" gives="nu-tongues" repology=("project: ${gives}") arch=("amd64" "arm64") pkgver="0.1.0" -homepage="https://github.com/rhino-linux/${gives}" -url="https://github.com/rhino-linux/${gives}/releases/download/v${pkgver}/${gives}_v${pkgver}_${CARCH}.zip" +url="https://github.com/rhino-linux/${gives}" +source=("https://github.com/rhino-linux/${gives}/releases/download/v${pkgver}/${gives}_v${pkgver}_${CARCH}.zip") pkgdesc="A translaton plugin for nushell. Allows nushell scripts to set up commands to get translated strings." -case "${CARCH}" in - amd64) - hash="8fa03893368db208cf6fe1e65264e4d4374f5bb6b4b09b4dde5df31a85eaf34f" - ;; - arm64) - hash="29d3a06c6188b66738dcbecc9efaf2ce0708e17243e298adcd5710aac2a356e8" - ;; - *) return 1 ;; -esac -maintainer="wren54 " +sha256sums_amd64=("8fa03893368db208cf6fe1e65264e4d4374f5bb6b4b09b4dde5df31a85eaf34f") +sha256sums_arm64=("29d3a06c6188b66738dcbecc9efaf2ce0708e17243e298adcd5710aac2a356e8") + +maintainer=("wren54 ") pacdeps=("nushell-bin") package() { - sudo install -Dm0555 "nu_plugin_${gives}" -t "${pkgdir}/usr/local/bin" + cd "${_archive}" + install -Dm0555 "nu_plugin_${gives}" -t "${pkgdir}/usr/local/bin" } post_install() { diff --git a/packages/nuclear-deb/nuclear-deb.pacscript b/packages/nuclear-deb/nuclear-deb.pacscript index 063670a4bc..ba57f3ca74 100644 --- a/packages/nuclear-deb/nuclear-deb.pacscript +++ b/packages/nuclear-deb/nuclear-deb.pacscript @@ -1,10 +1,10 @@ -name="nuclear-deb" +pkgname="nuclear-deb" gives="nuclear" breaks=("${gives}" "${gives}-app") pkgver="0.6.17" _version="e8fcb6" pkgdesc="Streaming music player that finds free music for you" -hash="10b3d9fafbe07ad9feb89747c6cf06e3b2288f021d197f2880042434774e8008" -maintainer="AloneER0 " -url="https://github.com/nukeop/nuclear/releases/download/${_version}/nuclear-${_version}.deb" +sha256sums=("10b3d9fafbe07ad9feb89747c6cf06e3b2288f021d197f2880042434774e8008") +maintainer=("AloneER0 ") +source=("https://github.com/nukeop/nuclear/releases/download/${_version}/nuclear-${_version}.deb") repology=("project: ${gives}") diff --git a/packages/nuclei-bin/nuclei-bin.pacscript b/packages/nuclei-bin/nuclei-bin.pacscript index fea012c359..5b88fbe137 100644 --- a/packages/nuclei-bin/nuclei-bin.pacscript +++ b/packages/nuclei-bin/nuclei-bin.pacscript @@ -1,17 +1,17 @@ -maintainer="Oren Klopfer " -name="nuclei-bin" -pkgname="nuclei" +maintainer=("Oren Klopfer ") +pkgname="nuclei-bin" gives="nuclei" pkgver="3.1.7" pkgdesc="Fast and customisable vulnerability scanner based on simple YAML based DSL" -url="https://github.com/projectdiscovery/${gives}/releases/download/v${pkgver}/${gives}_${pkgver}_linux_amd64.zip" -hash="898399d8d8dfc0aee2cb7d4955912ad0c428dcfa72b4c29fe4fd93adc84df3cc" +source=("https://github.com/projectdiscovery/${gives}/releases/download/v${pkgver}/${gives}_${pkgver}_linux_amd64.zip") +sha256sums=("898399d8d8dfc0aee2cb7d4955912ad0c428dcfa72b4c29fe4fd93adc84df3cc") arch=('amd64') -breaks=("${pkgname}" "${pkgname}-deb" "${pkgname}-git") -repology=("project: ${pkgname}") +breaks=("${gives}" "${gives}-deb" "${gives}-git") +repology=("project: ${gives}") package() { + cd "${_archive}" # Install bin - sudo install -Dm755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}" + install -Dm755 "${gives}" "${pkgdir}/usr/bin/${gives}" } # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/nushell-bin/nushell-bin.pacscript b/packages/nushell-bin/nushell-bin.pacscript index b622f5008f..72b74a82a5 100644 --- a/packages/nushell-bin/nushell-bin.pacscript +++ b/packages/nushell-bin/nushell-bin.pacscript @@ -6,37 +6,38 @@ # \ // \/ -- \ # \__/\ / \_______ \______ / # \/ \/ \/ -maintainer="wizard-28 " +maintainer=("wizard-28 ") -name="nushell-bin" +pkgname="nushell-bin" fake_gives="nushell" pkgver="0.92.2" pkgdesc="A new type of shell" breaks=("${fake_gives}" "${fake_gives}-git" "${fake_gives}-deb" "${fake_gives}-app") repology=("project: nushell") arch=('arm64' 'amd64') -if [[ ${CARCH} == "arm64" ]]; then - hash="1585e9fe41189b49f479f39f871e6457aedc8732775a2db21ea13c7b6e580181" +sha256sums_arm64=("1585e9fe41189b49f479f39f871e6457aedc8732775a2db21ea13c7b6e580181") +sha256sums_amd64=("f6e726ebbb570cec27ad2e1f2d4bd7c78faf338920c7136566d70607aa50a167") +if [[ ${CARCH} == arm64 ]]; then gnuarch="aarch64" else - hash="f6e726ebbb570cec27ad2e1f2d4bd7c78faf338920c7136566d70607aa50a167" gnuarch="x86_64" fi -url="https://github.com/nushell/nushell/releases/download/${pkgver}/nu-${pkgver}-${gnuarch}-unknown-linux-gnu.tar.gz" +source=("https://github.com/nushell/nushell/releases/download/${pkgver}/nu-${pkgver}-${gnuarch}-unknown-linux-gnu.tar.gz") package() { + cd "${_archive}" # binaries find ./ \ -maxdepth 1 \ -executable \ -type f \ -name "nu*" \ - -exec sudo install -vDm755 -t "${pkgdir}/usr/bin" "{}" + + -exec install -vDm755 -t "${pkgdir}/usr/bin" "{}" + # documentation - sudo install -vDm644 -t "${pkgdir}/usr/share/doc/${fake_gives}" README.txt + install -vDm644 -t "${pkgdir}/usr/share/doc/${fake_gives}" README.txt # license - sudo install -vDm644 -t "${pkgdir}/usr/share/licenses/${fake_gives}" LICENSE + install -vDm644 -t "${pkgdir}/usr/share/licenses/${fake_gives}" LICENSE } # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/obquit-git/obquit-git.pacscript b/packages/obquit-git/obquit-git.pacscript index 3d2f94d200..e37be5d10f 100644 --- a/packages/obquit-git/obquit-git.pacscript +++ b/packages/obquit-git/obquit-git.pacscript @@ -1,16 +1,14 @@ -name="obquit-git" -pkgname="obquit" +pkgname="obquit-git" +gives="obquit" pkgdesc="Utility script for logging out of a session, inspired by Oblogout" -url="https://github.com/dglava/${pkgname}.git" +source=("https://github.com/dglava/${gives}.git") pkgver="0.0.1" depends=("python3-distutils" "python3-cairo" "python-gi-dev") -breaks=("${pkgname}" "${pkgname}-bin") -maintainer="Lanius " -pkgver() { - git ls-remote "${url}" master | cut -f1 | cut -c1-8 -} +breaks=("${gives}" "${gives}-bin") +maintainer=("Lanius ") package() { + cd "${_archive}" # Install obquit - sudo python3 setup.py install --root="${pkgdir}" + python3 setup.py install --root="${pkgdir}" } diff --git a/packages/obs-backgroundremoval-deb/obs-backgroundremoval-deb.pacscript b/packages/obs-backgroundremoval-deb/obs-backgroundremoval-deb.pacscript index 78dfa26454..063e58699c 100644 --- a/packages/obs-backgroundremoval-deb/obs-backgroundremoval-deb.pacscript +++ b/packages/obs-backgroundremoval-deb/obs-backgroundremoval-deb.pacscript @@ -1,11 +1,11 @@ -name="obs-backgroundremoval-deb" +pkgname="obs-backgroundremoval-deb" gives="obs-backgroundremoval" repology=("project: ${gives}") breaks=("${gives}" "${gives}-git") pkgver="1.1.12" -url="https://github.com/royshil/obs-backgroundremoval/releases/download/${pkgver}/obs-backgroundremoval-${pkgver}-x86_64-linux-gnu.deb" +source=("https://github.com/royshil/obs-backgroundremoval/releases/download/${pkgver}/obs-backgroundremoval-${pkgver}-x86_64-linux-gnu.deb") pkgdesc="OBS plugin to replace the background in portrait images and video" -hash="f7fc1ff2beb93a9049187b0bfb32faf2126af0aad167f7e8d0d3c724189ff190" +sha256sums=("f7fc1ff2beb93a9049187b0bfb32faf2126af0aad167f7e8d0d3c724189ff190") arch=('amd64') -maintainer="Zahrun " +maintainer=("Zahrun ") incompatible=("debian:bullseye") diff --git a/packages/obs-backgroundremoval-git/obs-backgroundremoval-git.pacscript b/packages/obs-backgroundremoval-git/obs-backgroundremoval-git.pacscript old mode 100755 new mode 100644 index bbb84d18c0..087ab9f5a5 --- a/packages/obs-backgroundremoval-git/obs-backgroundremoval-git.pacscript +++ b/packages/obs-backgroundremoval-git/obs-backgroundremoval-git.pacscript @@ -1,25 +1,23 @@ -name="obs-backgroundremoval-git" -pkgname="obs-backgroundremoval" -url="https://github.com/royshil/obs-backgroundremoval.git" +pkgname="obs-backgroundremoval-git" +gives="obs-backgroundremoval" +source=("https://github.com/royshil/obs-backgroundremoval.git") pkgver="1.1.8" makedepends=("libobs-dev" "libcurl4-openssl-dev" "libssl-dev" "qt6-base-dev" "libgl1-mesa-dev" "ninja-build" "cmake") -breaks=("${pkgname}") -replace=("${pkgname}") -gives=("${pkgname}") +breaks=("${gives}") +replaces=("${gives}") arch=('amd64') pkgdesc="OBS plugin to replace the background in portrait images and video" -maintainer="Zahrun " -pkgver() { - git ls-remote "${url}" refs/heads/main | cut -f1 | cut -c1-8 -} +maintainer=("Zahrun ") incompatible=('*:jammy' '*:focal' '*:bionic' '*:buster' '*:bullseye') build() { + cd "${_archive}" cmake --preset linux-x86_64 -DCMAKE_INSTALL_PREFIX=/usr cmake --build build_x86_64 --parallel } package() { - sudo cmake --install build_x86_64 --prefix "${pkgdir}"/usr - sudo install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${name}" + cd "${_archive}" + cmake --install build_x86_64 --prefix "${pkgdir}"/usr + install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" } diff --git a/packages/obs-backgroundremoval/obs-backgroundremoval.pacscript b/packages/obs-backgroundremoval/obs-backgroundremoval.pacscript old mode 100755 new mode 100644 index eb43f28c4e..77dd049b63 --- a/packages/obs-backgroundremoval/obs-backgroundremoval.pacscript +++ b/packages/obs-backgroundremoval/obs-backgroundremoval.pacscript @@ -1,23 +1,25 @@ -name="obs-backgroundremoval" +pkgname="obs-backgroundremoval" repology=("project: obs-backgroundremoval") pkgver="1.1.12" -url="https://github.com/royshil/obs-backgroundremoval/archive/refs/tags/${pkgver}.tar.gz" +source=("https://github.com/royshil/obs-backgroundremoval/archive/refs/tags/${pkgver}.tar.gz") makedepends=("libobs-dev" "libcurl4-openssl-dev" "libssl-dev" "qt6-base-dev" "libgl1-mesa-dev" "ninja-build" "cmake") -breaks=("${name}-git") -replace=("${name}") +breaks=("${pkgname}-git") +replaces=("${pkgname}") arch=('amd64') pkgdesc="OBS plugin to replace the background in portrait images and video" -hash="50687434e49c005a881977ea46877c00da974a10810db2ee23b0b3fbeed7d6aa" -maintainer="Zahrun " +sha256sums=("50687434e49c005a881977ea46877c00da974a10810db2ee23b0b3fbeed7d6aa") +maintainer=("Zahrun ") incompatible=('*:jammy' '*:focal' '*:bionic' '*:buster' '*:bullseye') build() { + cd "${_archive}" cmake --preset linux-x86_64 -DCMAKE_INSTALL_PREFIX=/usr cmake --build build_x86_64 --parallel } package() { - sudo cmake --install build_x86_64 --prefix "${pkgdir}"/usr - sudo install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${name}" + cd "${_archive}" + cmake --install build_x86_64 --prefix "${pkgdir}"/usr + install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" } diff --git a/packages/obs-ndi-deb/obs-ndi-deb.pacscript b/packages/obs-ndi-deb/obs-ndi-deb.pacscript old mode 100755 new mode 100644 index 2366b41744..e5a523b68f --- a/packages/obs-ndi-deb/obs-ndi-deb.pacscript +++ b/packages/obs-ndi-deb/obs-ndi-deb.pacscript @@ -1,7 +1,7 @@ -name="obs-ndi-deb" +pkgname="obs-ndi-deb" gives="obs-ndi" pkgver="4.9.1" -url="https://github.com/Palakis/obs-ndi/releases/download/${pkgver}/obs-ndi_${pkgver}-1_amd64.deb" +source=("https://github.com/Palakis/obs-ndi/releases/download/${pkgver}/obs-ndi_${pkgver}-1_amd64.deb") pkgdesc="Network A/V in OBS Studio with NewTek's NDI technology" -hash="e91a27370dcbee0879fb27ffec8dba149825f47909a92e31a001e87e64e7329b" +sha256sums=("e91a27370dcbee0879fb27ffec8dba149825f47909a92e31a001e87e64e7329b") arch=('amd64') diff --git a/packages/obsidian-deb/obsidian-deb.pacscript b/packages/obsidian-deb/obsidian-deb.pacscript index 1bd47cfb77..de9ac61602 100644 --- a/packages/obsidian-deb/obsidian-deb.pacscript +++ b/packages/obsidian-deb/obsidian-deb.pacscript @@ -1,9 +1,9 @@ -name="obsidian-deb" +pkgname="obsidian-deb" gives="obsidian" pkgver="1.5.3" -url="https://github.com/obsidianmd/obsidian-releases/releases/download/v${pkgver}/obsidian_${pkgver}_amd64.deb" +source=("https://github.com/obsidianmd/obsidian-releases/releases/download/v${pkgver}/obsidian_${pkgver}_amd64.deb") pkgdesc="Powerful and extensible knowledge base editor that uses markdown" -hash="15053618d0a4c3230dcd73cf798fe4a52f670b1b2f740b5e799de2e03c777cb2" -maintainer="Hepno " +sha256sums=("15053618d0a4c3230dcd73cf798fe4a52f670b1b2f740b5e799de2e03c777cb2") +maintainer=("Hepno ") arch=("amd64") repology=("project: obsidian") diff --git a/packages/oh-my-posh-git/oh-my-posh-git.pacscript b/packages/oh-my-posh-git/oh-my-posh-git.pacscript old mode 100755 new mode 100644 index bd919d0d5f..eb6d4cd4f9 --- a/packages/oh-my-posh-git/oh-my-posh-git.pacscript +++ b/packages/oh-my-posh-git/oh-my-posh-git.pacscript @@ -1,28 +1,26 @@ -name="oh-my-posh-git" -pkgname="oh-my-posh" -url="https://github.com/JanDeDobbeleer/oh-my-posh.git" +pkgname="oh-my-posh-git" +gives="oh-my-posh" +source=("https://github.com/JanDeDobbeleer/oh-my-posh.git") pkgver="19.8.2" makedepends=("golang-1.21-go") pacdeps=("nerd-fonts-hack") -breaks=("${pkgname}") -replace=("${pkgname}") -gives=("${pkgname}") +breaks=("${gives}") +replaces=("${gives}") pkgdesc="A prompt theme engine for any shell" -maintainer="Zahrun " +maintainer=("Zahrun ") incompatible=('*:bookworm') -pkgver() { - git ls-remote "${url}" refs/heads/main | cut -f1 | cut -c1-8 -} build() { + cd "${_archive}" cd src || exit 1 - /usr/lib/go-1.21/bin/go build -o "${pkgname}" + /usr/lib/go-1.21/bin/go build -o "${gives}" } package() { - sudo install -Dm644 COPYING -t "${pkgdir}/usr/share/licenses/${name}" - sudo install -Dm755 "src/${pkgname}" -t "${pkgdir}/usr/bin/" - sudo install -d "${pkgdir}/usr/share/oh-my-posh/themes" - sudo install -m 644 themes/* -t "${pkgdir}/usr/share/oh-my-posh/themes" + cd "${_archive}" + install -Dm644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}" + install -Dm755 "src/${gives}" -t "${pkgdir}/usr/bin/" + install -d "${pkgdir}/usr/share/oh-my-posh/themes" + install -m 644 themes/* -t "${pkgdir}/usr/share/oh-my-posh/themes" } diff --git a/packages/oil/oil.pacscript b/packages/oil/oil.pacscript index 331f70cab6..1af37f64c3 100644 --- a/packages/oil/oil.pacscript +++ b/packages/oil/oil.pacscript @@ -4,25 +4,27 @@ # \ // \/ -- \ # \__/\ / \_______ \______ / # \/ \/ \/ -maintainer="wizard-28 " +maintainer=("wizard-28 ") -name="oil" +pkgname="oil" pkgver="0.20.0" pkgdesc="A bash-compatible UNIX shell written in Python" -url="https://www.oilshell.org/download/oil-${pkgver}.tar.xz" +source=("https://www.oilshell.org/download/oil-${pkgver}.tar.xz") gives="oil" -breaks=("${name}-bin" "${name}-git" "${name}-deb" "${name}-app") -hash="42b85f52bbba4a3bb8e16f23fc394c4302bcfd9638f067f01c37d23f2ee449a0" +breaks=("${pkgname}-bin" "${pkgname}-git" "${pkgname}-deb" "${pkgname}-app") +sha256sums=("42b85f52bbba4a3bb8e16f23fc394c4302bcfd9638f067f01c37d23f2ee449a0") repology=("project: oil-shell") # Edit MAKEFLAGS here MAKEFLAGS=() prepare() { + cd "${_archive}" mkdir -p tmp } build() { + cd "${_archive}" TMPDIR="./tmp/" ./configure --prefix="/usr" # We want this to expand @@ -31,6 +33,7 @@ build() { } package() { - sudo DESTDIR="${pkgdir}" ./install + cd "${_archive}" + DESTDIR="${pkgdir}" ./install } # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/onefetch-bin/onefetch-bin.pacscript b/packages/onefetch-bin/onefetch-bin.pacscript index 26fc896ef8..2236359518 100644 --- a/packages/onefetch-bin/onefetch-bin.pacscript +++ b/packages/onefetch-bin/onefetch-bin.pacscript @@ -1,10 +1,11 @@ -name="onefetch-bin" +pkgname="onefetch-bin" gives="onefetch" pkgver="2.18.0" -url="https://github.com/o2sh/onefetch/releases/download/${pkgver}/onefetch-linux.tar.gz" +source=("https://github.com/o2sh/onefetch/releases/download/${pkgver}/onefetch-linux.tar.gz") pkgdesc="Git repository summary on your terminal" -hash="414d166e55e045a18d3a908cbe719cca08dabe5bfde45fa8aefce71099305a16" +sha256sums=("414d166e55e045a18d3a908cbe719cca08dabe5bfde45fa8aefce71099305a16") package() { - sudo install -Dm755 onefetch -t "${pkgdir}/usr/bin" + cd "${_archive}" + install -Dm755 onefetch -t "${pkgdir}/usr/bin" } diff --git a/packages/onlyoffice-desktopeditors-deb/onlyoffice-desktopeditors-deb.pacscript b/packages/onlyoffice-desktopeditors-deb/onlyoffice-desktopeditors-deb.pacscript index d46bc8eb44..b9ee32d0b6 100644 --- a/packages/onlyoffice-desktopeditors-deb/onlyoffice-desktopeditors-deb.pacscript +++ b/packages/onlyoffice-desktopeditors-deb/onlyoffice-desktopeditors-deb.pacscript @@ -1,10 +1,10 @@ -name="onlyoffice-desktopeditors-deb" +pkgname="onlyoffice-desktopeditors-deb" gives="onlyoffice-desktopeditors" pkgver="8.0.1" -replace=("${gives}") -url="https://github.com/ONLYOFFICE/DesktopEditors/releases/download/v${pkgver}/onlyoffice-desktopeditors_amd64.deb" +replaces=("${gives}") +source=("https://github.com/ONLYOFFICE/DesktopEditors/releases/download/v${pkgver}/onlyoffice-desktopeditors_amd64.deb") pkgdesc="Free office suite that combines text, spreadsheet and presentation" repology=("project: onlyoffice-desktopeditors") -hash="5978cf746c3074ed77becc95613ba82e031e76c0034bc68ebd92fe73071c0564" +sha256sums=("5978cf746c3074ed77becc95613ba82e031e76c0034bc68ebd92fe73071c0564") arch=('amd64') -maintainer="সৌম্যদীপ " +maintainer=("সৌম্যদীপ ") diff --git a/packages/onnxruntime-bin/onnxruntime-bin.pacscript b/packages/onnxruntime-bin/onnxruntime-bin.pacscript old mode 100755 new mode 100644 index fff8f79110..19e4d2fa30 --- a/packages/onnxruntime-bin/onnxruntime-bin.pacscript +++ b/packages/onnxruntime-bin/onnxruntime-bin.pacscript @@ -1,17 +1,18 @@ -name="onnxruntime-bin" -pkgname="onnxruntime" +pkgname="onnxruntime-bin" +gives="onnxruntime" repology=("project: onnxruntime") -replace=("${pkgname}" "${pkgname}-bin" "${pkgname}-1-7-0-bin" "${pkgname}-gpu" "${pkgname}-gpu-bin") +replaces=("${gives}" "${gives}-bin" "${gives}-1-7-0-bin" "${gives}-gpu" "${gives}-gpu-bin") pkgver="1.17.1" -url="https://github.com/microsoft/onnxruntime/releases/download/v${pkgver}/onnxruntime-linux-x64-${pkgver}.tgz" +source=("https://github.com/microsoft/onnxruntime/releases/download/v${pkgver}/onnxruntime-linux-x64-${pkgver}.tgz") pkgdesc="Cross-platform inference and training machine-learning accelerator" -hash="89b153af88746665909c758a06797175ae366280cbf25502c41eb5955f9a555e" -maintainer="Zahrun " +sha256sums=("89b153af88746665909c758a06797175ae366280cbf25502c41eb5955f9a555e") +maintainer=("Zahrun ") package() { - sudo install -Dm755 "lib/lib${pkgname}.so.${pkgver}" -t "${pkgdir}/usr/local/lib" - sudo install -Dm644 include/* -t "${pkgdir}/usr/local/include" - sudo install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${name}" - sudo mkdir -p "${pkgdir}/usr/local/lib" - sudo ln -sf "/usr/local/lib/lib${pkgname}.so.${pkgver}" "${pkgdir}/usr/local/lib/lib${pkgname}.so" + cd "${_archive}" + install -Dm755 "lib/lib${gives}.so.${pkgver}" -t "${pkgdir}/usr/local/lib" + install -Dm644 include/* -t "${pkgdir}/usr/local/include" + install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" + mkdir -p "${pkgdir}/usr/local/lib" + ln -sf "/usr/local/lib/lib${gives}.so.${pkgver}" "${pkgdir}/usr/local/lib/lib${gives}.so" } diff --git a/packages/onnxruntime-gpu-bin/onnxruntime-gpu-bin.pacscript b/packages/onnxruntime-gpu-bin/onnxruntime-gpu-bin.pacscript old mode 100755 new mode 100644 index d2a6e70ca1..1ac48406f0 --- a/packages/onnxruntime-gpu-bin/onnxruntime-gpu-bin.pacscript +++ b/packages/onnxruntime-gpu-bin/onnxruntime-gpu-bin.pacscript @@ -1,20 +1,19 @@ -name="onnxruntime-gpu-bin" +pkgname="onnxruntime-gpu-bin" gives="onnxruntime-gpu" -pkgname="onnxruntime-gpu" -_pkgname="onnxruntime" repology=("project: onnxruntime") pkgver="1.17.1" -url="https://github.com/microsoft/onnxruntime/releases/download/v${pkgver}/onnxruntime-linux-x64-gpu-${pkgver}.tgz" +source=("https://github.com/microsoft/onnxruntime/releases/download/v${pkgver}/onnxruntime-linux-x64-gpu-${pkgver}.tgz") pkgdesc="Cross-platform inference and training machine-learning accelerator with gpu support" -hash="613c53745ea4960ed368f6b3ab673558bb8561c84a8fa781b4ea7fb4a4340be4" -maintainer="Zahrun " -replace=("${_pkgname}" "${_pkgname}-bin" "${_pkgname}-1-7-0-bin" "${gives}" "${gives}-bin") +sha256sums=("613c53745ea4960ed368f6b3ab673558bb8561c84a8fa781b4ea7fb4a4340be4") +maintainer=("Zahrun ") +replaces=("${_gives}" "${_gives}-bin" "${_gives}-1-7-0-bin" "${gives}" "${gives}-bin") package() { - sudo install -Dm755 "lib/lib${_pkgname}.so.${pkgver}" -t "${pkgdir}/usr/local/lib" - sudo install -Dm755 "lib/lib${_pkgname}_"* -t "${pkgdir}/usr/local/lib" - sudo install -Dm644 include/* -t "${pkgdir}/usr/local/include" - sudo install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${name}" - sudo mkdir -p "${pkgdir}/usr/local/lib" - sudo ln -sf "/usr/local/lib/lib${_pkgname}.so.${pkgver}" "${pkgdir}/usr/local/lib/lib${_pkgname}.so" + cd "${_archive}" + install -Dm755 "lib/lib${_gives}.so.${pkgver}" -t "${pkgdir}/usr/local/lib" + install -Dm755 "lib/lib${_gives}_"* -t "${pkgdir}/usr/local/lib" + install -Dm644 include/* -t "${pkgdir}/usr/local/include" + install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" + mkdir -p "${pkgdir}/usr/local/lib" + ln -sf "/usr/local/lib/lib${_gives}.so.${pkgver}" "${pkgdir}/usr/local/lib/lib${_gives}.so" } diff --git a/packages/opendoas-git/opendoas-git.pacscript b/packages/opendoas-git/opendoas-git.pacscript index dd3a3a106b..6d93653cdd 100644 --- a/packages/opendoas-git/opendoas-git.pacscript +++ b/packages/opendoas-git/opendoas-git.pacscript @@ -4,44 +4,43 @@ # \ // \/ -- \ # \__/\ / \_______ \______ / # \/ \/ \/ -maintainer="wizard-28 " +maintainer=("wizard-28 ") -name="opendoas-git" -pkgname="opendoas" +pkgname="opendoas-git" +gives="opendoas" pkgdesc="A portable fork of the OpenBSD doas command" -url="https://github.com/Duncaen/OpenDoas.git" +source=("https://github.com/Duncaen/OpenDoas.git") pkgver="6.8.2" makedepends=("bison" "libpam0g-dev") -breaks=("${pkgname}" "${pkgname}-bin") -pkgver() { - git ls-remote "${url}" master | cut -f1 | cut -c1-8 -} +breaks=("${gives}" "${gives}-bin") build() { + cd "${_archive}" ./configure --prefix=/usr --with-timestamp # Build rquired files make -j"${NCPU}" DESTDIR="${pkgdir}" } package() { + cd "${_archive}" # Install license - sudo install -Dm644 "LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}" + install -Dm644 "LICENSE" -t "${pkgdir}/usr/share/licenses/${gives}" # Install doc - sudo install -Dm644 "README.md" -t "${pkgdir}/usr/share/doc/${pkgname}" + install -Dm644 "README.md" -t "${pkgdir}/usr/share/doc/${gives}" # Install doas - sudo make install DESTDIR="${pkgdir}" + make install DESTDIR="${pkgdir}" # Install config file - sudo mkdir -p "${pkgdir}/etc" - echo "permit persist ${LOGNAME} as root" | sudo tee "${pkgdir}/etc/doas.conf" > /dev/null + mkdir -p "${pkgdir}/etc" + echo "permit persist ${LOGNAME} as root" | tee "${pkgdir}/etc/doas.conf" > /dev/null } post_remove() { # Remove empty directories - sudo rm -rf "/usr/share/licenses/${pkgname}" - sudo rm -rf "/usr/share/doc/${pkgname}" + sudo rm -rf "/usr/share/licenses/${gives}" + sudo rm -rf "/usr/share/doc/${gives}" } # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/opensnitch-deb/opensnitch-deb.pacscript b/packages/opensnitch-deb/opensnitch-deb.pacscript index 4f11e570cb..88b57bd2af 100644 --- a/packages/opensnitch-deb/opensnitch-deb.pacscript +++ b/packages/opensnitch-deb/opensnitch-deb.pacscript @@ -1,9 +1,9 @@ -name="opensnitch-deb" +pkgname="opensnitch-deb" pkgver="1.6.2" -url="https://github.com/evilsocket/opensnitch/releases/download/v${pkgver}/opensnitch_${pkgver}-1_amd64.deb" +source=("https://github.com/evilsocket/opensnitch/releases/download/v${pkgver}/opensnitch_${pkgver}-1_amd64.deb") gives="opensnitch" pkgdesc="OpenSnitch is a GNU/Linux port of the Little Snitch application firewall" -hash="edc9dad5f2e5fbb83c0cdc4a672d74ef3ab8cbfcc30ff1f9e26294cbc9ee0e04" +sha256sums=("edc9dad5f2e5fbb83c0cdc4a672d74ef3ab8cbfcc30ff1f9e26294cbc9ee0e04") arch=('amd64') -maintainer="echometerain " +maintainer=("echometerain ") repology=("project: opensnitch") diff --git a/packages/opensnitch-ui-deb/opensnitch-ui-deb.pacscript b/packages/opensnitch-ui-deb/opensnitch-ui-deb.pacscript index 44b9c387f9..b23ee41bbe 100644 --- a/packages/opensnitch-ui-deb/opensnitch-ui-deb.pacscript +++ b/packages/opensnitch-ui-deb/opensnitch-ui-deb.pacscript @@ -1,9 +1,9 @@ -name="opensnitch-ui-deb" +pkgname="opensnitch-ui-deb" pkgver="1.6.3" -url="https://github.com/evilsocket/opensnitch/releases/download/v${pkgver}/python3-opensnitch-ui_${pkgver}-1_all.deb" +source=("https://github.com/evilsocket/opensnitch/releases/download/v${pkgver}/python3-opensnitch-ui_${pkgver}-1_all.deb") depends=("qt-material") gives="python3-opensnitch-ui" pkgdesc="OpenSnitch is a GNU/Linux port of the Little Snitch application firewall" -hash="529f31d24bc162fc19930e6be0ddba16f4731dfc00d6ebab3612d22790dd8b84" -maintainer="echometerain " +sha256sums=("529f31d24bc162fc19930e6be0ddba16f4731dfc00d6ebab3612d22790dd8b84") +maintainer=("echometerain ") repology=("project: opensnitch-ui" "repo: nix_unstable") diff --git a/packages/opentoonz/opentoonz.pacscript b/packages/opentoonz/opentoonz.pacscript index e9be35571c..0e43b986f3 100644 --- a/packages/opentoonz/opentoonz.pacscript +++ b/packages/opentoonz/opentoonz.pacscript @@ -1,20 +1,21 @@ -name="opentoonz" +pkgname="opentoonz" pkgver="1.7.1" -url="https://github.com/opentoonz/opentoonz/archive/refs/tags/v${pkgver}.tar.gz" +source=("https://github.com/opentoonz/opentoonz/archive/refs/tags/v${pkgver}.tar.gz") makedepends=("libboost-all-dev" "qtbase5-dev" "libqt5svg5-dev" "qtscript5-dev" "qttools5-dev" "libqt5opengl5-dev" "qtmultimedia5-dev" "libqt5serialport5-dev" "libsuperlu-dev" "liblz4-dev" "libusb-1.0-0-dev" "liblzo2-dev" "libpng-dev" "libjpeg-dev" "libglew-dev" "freeglut3-dev" "libfreetype6-dev" "libjson-c-dev" "qtwayland5" "libmypaint-dev" "libopencv-dev" "libturbojpeg-dev" "libmypaint-dev" "libopenblas-dev" "libegl1-mesa-dev" "libgles2-mesa-dev" "libglib2.0-dev" "liblzma-dev" "cmake" "build-essential" "git") depends=("qtchooser" "qt5-qmake" "qtbase5-dev-tools" "qttools5-dev-tools" "libqt5multimedia5-plugins" "qtwayland5" "libgsl-dev" "pkg-config") pkgdesc="An open-source full-featured 2D animation creation software" -hash="d0daf60d06510efe15d0db3f9eed0162499ed58061504dca27892c2b9ea5f22d" -maintainer="echometerain " +sha256sums=("d0daf60d06510efe15d0db3f9eed0162499ed58061504dca27892c2b9ea5f22d") +maintainer=("echometerain ") gives="opentoonz" -breaks=("${name}-git" "${name}-deb" "${name}-app" "${name}-deb" "${name}-bin") +breaks=("${pkgname}-git" "${pkgname}-deb" "${pkgname}-app" "${pkgname}-deb" "${pkgname}-bin") repology=("project: opentoonz") prepare() { + cd "${_archive}" - sudo mkdir -p "/home/${LOGNAME}/.config/OpenToonz" - sudo cp -r "./stuff" "/home/${LOGNAME}/.config/OpenToonz/" - sudo chown -R "${LOGNAME}" "/home/${LOGNAME}/.config/OpenToonz/" + mkdir -p "/home/${LOGNAME}/.config/OpenToonz" + cp -r "./stuff" "/home/${LOGNAME}/.config/OpenToonz/" + chown -R "${LOGNAME}" "/home/${LOGNAME}/.config/OpenToonz/" cd "toonz" || return mkdir build @@ -22,6 +23,7 @@ prepare() { } build() { + cd "${_archive}" cd "thirdparty/tiff-4.0.3" || return ./configure --with-pic --disable-jbig @@ -36,20 +38,21 @@ build() { } package() { + cd "${_archive}" cd "toonz/build" || return - sudo mkdir -p "${pkgdir}/usr/share/pixmaps/" - sudo mkdir -p "${pkgdir}/usr/share/applications/" - sudo make install DESTDIR="${pkgdir}" + mkdir -p "${pkgdir}/usr/share/pixmaps/" + mkdir -p "${pkgdir}/usr/share/applications/" + make install DESTDIR="${pkgdir}" cd "../../" || return - sudo install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${name}/LICENSE.txt" - sudo chmod +x "${pkgdir}/opt/${name}/bin/opentoonz" + install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt" + chmod +x "${pkgdir}/opt/${pkgname}/bin/opentoonz" - sudo install -Dm755 "toonz/sources/xdg-data/io.github.OpenToonz.desktop" "${pkgdir}/usr/share/applications/" - sudo install -Dm644 "toonz/sources/xdg-data/io.github.OpenToonz.png" "${pkgdir}/usr/share/pixmaps/" + install -Dm755 "toonz/sources/xdg-data/io.github.OpenToonz.desktop" "${pkgdir}/usr/share/applications/" + install -Dm644 "toonz/sources/xdg-data/io.github.OpenToonz.png" "${pkgdir}/usr/share/pixmaps/" - printf '#!/bin/sh\nsh /opt/opentoonz/bin/opentoonz' | sudo tee /usr/bin/opentoonz > /dev/null - sudo chmod +x "/usr/bin/opentoonz" + printf '#!/bin/sh\nsh /opt/opentoonz/bin/opentoonz' | tee /usr/bin/opentoonz > /dev/null + chmod +x "/usr/bin/opentoonz" } post_remove() { diff --git a/packages/opera-beta-deb/opera-beta-deb.pacscript b/packages/opera-beta-deb/opera-beta-deb.pacscript index 7bfba739ac..c7ae8c956a 100644 --- a/packages/opera-beta-deb/opera-beta-deb.pacscript +++ b/packages/opera-beta-deb/opera-beta-deb.pacscript @@ -1,9 +1,9 @@ -name="opera-beta-deb" +pkgname="opera-beta-deb" gives="opera-beta" # repology=("project: ${gives}") pkgver="107.0.5045.4" -url="https://deb.opera.com/opera/pool/non-free/o/opera-beta/${gives}_${pkgver}_amd64.deb" +source=("https://deb.opera.com/opera/pool/non-free/o/opera-beta/${gives}_${pkgver}_amd64.deb") pkgdesc="Opera is a fast, secure, and user-friendly web browser - Beta" -hash="ad4a113c3b011cb6ffe015a65f36864e11b78d50bbe0dc2836ba291ac76bff18" +sha256sums=("ad4a113c3b011cb6ffe015a65f36864e11b78d50bbe0dc2836ba291ac76bff18") arch=('amd64') -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") diff --git a/packages/opera-deb/opera-deb.pacscript b/packages/opera-deb/opera-deb.pacscript index 963504bd02..8eb2ffd249 100644 --- a/packages/opera-deb/opera-deb.pacscript +++ b/packages/opera-deb/opera-deb.pacscript @@ -1,11 +1,11 @@ -maintainer="Oren Klopfer " -name="opera-deb" +maintainer=("Oren Klopfer ") +pkgname="opera-deb" gives="opera-stable" -replace=("${gives}") +replaces=("${gives}") pkgver="106.0.4998.52" -url="https://deb.opera.com/opera/pool/non-free/o/opera-stable/${gives}_${pkgver}_amd64.deb" +source=("https://deb.opera.com/opera/pool/non-free/o/opera-stable/${gives}_${pkgver}_amd64.deb") pkgdesc="Multi-platform web browser developed by its namesake company Opera" -hash="2539ca8caf9c70c01e7ff559b83a564be1450eaea5a257a7d2995c91c3c0fbdc" +sha256sums=("2539ca8caf9c70c01e7ff559b83a564be1450eaea5a257a7d2995c91c3c0fbdc") arch=('amd64') repology=("project: opera") diff --git a/packages/opera-developer-deb/opera-developer-deb.pacscript b/packages/opera-developer-deb/opera-developer-deb.pacscript index ffc56d7cb5..7d1d1576de 100644 --- a/packages/opera-developer-deb/opera-developer-deb.pacscript +++ b/packages/opera-developer-deb/opera-developer-deb.pacscript @@ -1,9 +1,9 @@ -name="opera-developer-deb" +pkgname="opera-developer-deb" gives="opera-developer" pkgver="108.0.5054.0" repology=("project: opera" "visiblename: ${gives}") -url="https://get.geo.opera.com/pub/${gives}/${pkgver}/linux/${gives}_${pkgver}_amd64.deb" +source=("https://get.geo.opera.com/pub/${gives}/${pkgver}/linux/${gives}_${pkgver}_amd64.deb") pkgdesc="Opera is a fast, secure, and user-friendly web browser - Developer" -hash="4c6267cd8b41562a57be3f7e50c1d9c2461a3b391ae0f2e68168a911e814fedf" +sha256sums=("4c6267cd8b41562a57be3f7e50c1d9c2461a3b391ae0f2e68168a911e814fedf") arch=('amd64') -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") diff --git a/packages/os-installer-git/os-installer-git.pacscript b/packages/os-installer-git/os-installer-git.pacscript index 19debb8381..0c5a068e23 100644 --- a/packages/os-installer-git/os-installer-git.pacscript +++ b/packages/os-installer-git/os-installer-git.pacscript @@ -1,31 +1,30 @@ -name="os-installer-git" -maintainer="cat-master21 <96554164+cat-master21@users.noreply.github.com>" -pkgname="os-installer" +pkgname="os-installer-git" +maintainer=("cat-master21 <96554164+cat-master21@users.noreply.github.com>") +gives="os-installer" pkgdesc="A generic and changable os-installer" -url="https://gitlab.gnome.org/p3732/os-installer.git" +source=("https://gitlab.gnome.org/p3732/os-installer.git") pkgver="0.3" depends=("libgnome-desktop-4-2" "libadwaita-1-0" "libgweather-4-0" "python3-yaml" "libudisks2-0" "libvte-2.91-gtk4-0" "gir1.2-gnomedesktop-4.0" "gir1.2-vte-3.91") makedepends=("meson" "gettext" "libgnome-desktop-4-dev" "libadwaita-1-dev" "libgweather-4-dev" "python3-yaml" "libudisks2-dev" "libvte-2.91-gtk4-dev") -breaks=("${pkgname}-bin" "${pkgname}" "${pkgname}-commit") +breaks=("${gives}-bin" "${gives}" "${gives}-commit") optdepends=("gnome-disk-utility: Default disk CMD if not set" "epiphany-browser: Default browser CMD if not set" "gnome-control-center: Default wifi CMD if not set") -pkgver() { - git ls-remote "${url}" main | cut -f1 | cut -c1-8 -} build() { + cd "${_archive}" # Build nessesary files meson build --prefix="/usr" --buildtype=release } package() { + cd "${_archive}" # Install license - sudo install -Dm644 "LICENSE" doc/* -t "${pkgdir}/usr/share/licenses/${pkgname}" + install -Dm644 "LICENSE" doc/* -t "${pkgdir}/usr/share/licenses/${gives}" # Install doc - sudo install -Dm644 "README.md" -t "${pkgdir}/usr/share/doc/${pkgname}" + install -Dm644 "README.md" -t "${pkgdir}/usr/share/doc/${gives}" # Install - sudo meson install -C build --destdir "${pkgdir}" + meson install -C build --destdir "${pkgdir}" } diff --git a/packages/owofetch/owofetch.pacscript b/packages/owofetch/owofetch.pacscript index c8641e7db0..5d0145a874 100644 --- a/packages/owofetch/owofetch.pacscript +++ b/packages/owofetch/owofetch.pacscript @@ -1,17 +1,17 @@ -name="owofetch" pkgname="owofetch" -pkgver="0.3.1" gives="owofetch" +pkgver="0.3.1" pkgdesc="OwO~" -url="https://github.com/netthier/owofetch-rs/archive/refs/tags/v${pkgver}.zip" -hash="c4f8cd96751ceb932d75b98ad38c19ce5b3aad0aa274aeb5eb11e0aa89a6bd13" +source=("https://github.com/netthier/owofetch-rs/archive/refs/tags/v${pkgver}.zip") +sha256sums=("c4f8cd96751ceb932d75b98ad38c19ce5b3aad0aa274aeb5eb11e0aa89a6bd13") breaks=("owofetch-git") arch=('any') makedepends=("cargo") -maintainer="Herisson " +maintainer=("Herisson ") repology=("project: owofetch") package() { + cd "${_archive}" cargo build -j"${NCPU}" --release --locked - sudo install -Dm755 ./target/release/owofetch "${pkgdir}/usr/bin/${pkgname}" + install -Dm755 ./target/release/owofetch "${pkgdir}/usr/bin/${gives}" } diff --git a/packages/pacget-git/pacget-git.pacscript b/packages/pacget-git/pacget-git.pacscript old mode 100755 new mode 100644 index 77acd98789..c47fcb4ce0 --- a/packages/pacget-git/pacget-git.pacscript +++ b/packages/pacget-git/pacget-git.pacscript @@ -1,25 +1,23 @@ #!/bin/env bash #-*- mode: sh ;mode:lsp;-*- -name="pacget-git" -pkgname="pacget" -maintainer="Erik Lundstedt " -url="https://gitlab.com/Erik.Lundstedt/pacget.git" +pkgname="pacget-git" +gives="pacget" +maintainer=("Erik Lundstedt ") +source=("https://gitlab.com/Erik.Lundstedt/pacget.git") pkgver="0.0.1" license="Don't Be a Jerk" depends=("fzf" "curl" "bash") pkgdesc="A fully foss, lightweight fuzzysearching TUI frontend for pacstall using fzf" -pkgver() { - git ls-remote "${url}" main | cut -f1 | cut -c1-8 -} ## installation steps #this just copies the files over and makes the file executable package() { - sudo install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - sudo install -Dm755 "pacget" "${pkgdir}/usr/bin/pacget" + cd "${_archive}" + install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${gives}/LICENSE" + install -Dm755 "pacget" "${pkgdir}/usr/bin/pacget" } post_remove() { - sudo rm -rf "/usr/share/licenses/${pkgname}" + sudo rm -rf "/usr/share/licenses/${gives}" } # vim:set ft=sh ts=4 sw=4 noet: diff --git a/packages/paconvert-git/paconvert-git.pacscript b/packages/paconvert-git/paconvert-git.pacscript index 3fa671eea2..96acf9df3d 100644 --- a/packages/paconvert-git/paconvert-git.pacscript +++ b/packages/paconvert-git/paconvert-git.pacscript @@ -1,18 +1,17 @@ -name="paconvert-git" +pkgname="paconvert-git" gives="paconvert" breaks=("${gives}-deb" "${gives}-bin" "${gives}-app" "${gives}-git") -url="https://github.com/pacstall/paconvert.git" +source=("https://github.com/pacstall/paconvert.git") pkgver="0.0.1" pkgdesc="Paconvert makes converting PKGBUILDS into pacscripts easier." -maintainer="cat-master21 <96554164+cat-master21@users.noreply.github.com>" -pkgver() { - git ls-remote "${url}" master | cut -f1 | cut -c1-8 -} +maintainer=("cat-master21 <96554164+cat-master21@users.noreply.github.com>") prepare() { - sudo mkdir -p "${pkgdir}/usr/bin" + cd "${_archive}" + mkdir -p "${pkgdir}/usr/bin" } package() { - sudo install -Dm755 ./paconvert "${pkgdir}/usr/bin/paconvert" + cd "${_archive}" + install -Dm755 ./paconvert "${pkgdir}/usr/bin/paconvert" } diff --git a/packages/pacstall-gui-git/pacstall-gui-git.pacscript b/packages/pacstall-gui-git/pacstall-gui-git.pacscript index 2a4096ef3b..be493b5f04 100644 --- a/packages/pacstall-gui-git/pacstall-gui-git.pacscript +++ b/packages/pacstall-gui-git/pacstall-gui-git.pacscript @@ -1,23 +1,22 @@ -name="pacstall-gui-git" +pkgname="pacstall-gui-git" depends=("yad" "sed" "adwaita-icon-theme" "policykit-1" "desktop-file-utils") -url="https://github.com/cat-master21/pacstall-gui.git" +source=("https://github.com/cat-master21/pacstall-gui.git") pkgver="0.0.1" gives="pacstall-gui" breaks=("${gives}" "${gives}-bin" "${gives}-deb") pkgdesc="A gui for Pacstall written in bash." -maintainer="cat-master21 <96554164+cat-master21@users.noreply.github.com>" -pkgver() { - git ls-remote "${url}" master | cut -f1 | cut -c1-8 -} +maintainer=("cat-master21 <96554164+cat-master21@users.noreply.github.com>") prepare() { - sudo mkdir -p "${pkgdir}/usr/bin" "${pkgdir}/usr/share/applications" + cd "${_archive}" + mkdir -p "${pkgdir}/usr/bin" "${pkgdir}/usr/share/applications" } package() { - sudo install -Dm755 pacstall-gui "${pkgdir}/usr/bin/pacstall-gui" - sudo install -Dm755 LICENSE "${pkgdir}/usr/share/licenses/pacstall-gui/LICENSE" - sudo mv -f ./pacstall-gui.desktop "${pkgdir}/usr/share/applications" + cd "${_archive}" + install -Dm755 pacstall-gui "${pkgdir}/usr/bin/pacstall-gui" + install -Dm755 LICENSE "${pkgdir}/usr/share/licenses/pacstall-gui/LICENSE" + mv -f ./pacstall-gui.desktop "${pkgdir}/usr/share/applications" } post_install() { diff --git a/packages/pacstall-qa-git/pacstall-qa-git.pacscript b/packages/pacstall-qa-git/pacstall-qa-git.pacscript index 47a4b44bc5..b9d3cbccab 100644 --- a/packages/pacstall-qa-git/pacstall-qa-git.pacscript +++ b/packages/pacstall-qa-git/pacstall-qa-git.pacscript @@ -1,20 +1,19 @@ -name="pacstall-qa-git" -url="https://github.com/pacstall/pacstall-qa" +pkgname="pacstall-qa-git" +source=("git+https://github.com/pacstall/pacstall-qa") pkgver="0.0.1" gives="pacstall-qa" makedepends=("make") pacdeps=("nushell-bin") pkgdesc="A tool to easily test pacscripts from PRs locally" -maintainer="Oren Klopfer " -pkgver() { - git ls-remote "${url}" master | cut -f1 | cut -c1-8 -} +maintainer=("Oren Klopfer ") build() { - sudo mkdir -p "${pkgdir}/usr/bin" - sudo mkdir -p "${pkgdir}/usr/share/pacstall-qa" + cd "${_archive}" + mkdir -p "${pkgdir}/usr/bin" + mkdir -p "${pkgdir}/usr/share/pacstall-qa" } package() { - sudo DESTDIR="${pkgdir}" make install + cd "${_archive}" + DESTDIR="${pkgdir}" make install } diff --git a/packages/pacup-bin/pacup-bin.pacscript b/packages/pacup-bin/pacup-bin.pacscript index 9650883712..9977fb6ec0 100644 --- a/packages/pacup-bin/pacup-bin.pacscript +++ b/packages/pacup-bin/pacup-bin.pacscript @@ -6,18 +6,18 @@ # \ // \/ -- \ # \__/\ / \_______ \______ / # \/ \/ \/ -maintainer="wizard-28 " +maintainer=("wizard-28 ") -name="pacup-bin" -pkgname="pacup" +pkgname="pacup-bin" gives="pacup" pkgver="2.1.1" pkgdesc="Help maintainers update pacscripts" -url="https://github.com/pacstall/pacup/releases/download/${pkgver}/pacup" -breaks=("${pkgname}" "${pkgname}-git" "${pkgname}-deb" "${pkgname}-app") -hash="ccb753ef785b0ad38a3b090c7fdaba023f4f31634a93ce8158d1d12fa5457f36" +source=("https://github.com/pacstall/pacup/releases/download/${pkgver}/pacup") +breaks=("${gives}" "${gives}-git" "${gives}-deb" "${gives}-app") +sha256sums=("ccb753ef785b0ad38a3b090c7fdaba023f4f31634a93ce8158d1d12fa5457f36") package() { - sudo install -Dm755 "${pkgname}" -t "${pkgdir}/usr/bin" + cd "${_archive}" + install -Dm755 "${gives}" -t "${pkgdir}/usr/bin" } # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/panagement/panagement.pacscript b/packages/panagement/panagement.pacscript index abe67fa493..c9aece9d2f 100644 --- a/packages/panagement/panagement.pacscript +++ b/packages/panagement/panagement.pacscript @@ -1,16 +1,17 @@ -name="panagement" +pkgname="panagement" _name="Panagement" pkgver="2.4" -url="https://www.auburnsounds.com/downloads/${_name}-FREE-${pkgver}.zip" +source=("https://www.auburnsounds.com/downloads/${_name}-FREE-${pkgver}.zip") pkgdesc="Panagement is the spatialization laboratory that has found its way to thousands of studios around the world. Panagement gives you raw power over your stereo tracks." -hash="d8544b8941fcc9049b6743c99799b380bd636c6f49b10ed08204719de866f1a1" -maintainer="echometerain " +sha256sums=("d8544b8941fcc9049b6743c99799b380bd636c6f49b10ed08204719de866f1a1") +maintainer=("echometerain ") package() { - sudo mkdir -p "${pkgdir}/usr/lib/lv2" - sudo mv "./Linux/Linux-64b-LV2-FREE" "${pkgdir}/usr/lib/lv2/Auburn Sounds ${_name} 2.lv2" - sudo mkdir -p "${pkgdir}/usr/lib/vst" - sudo mv "./Linux/Linux-64b-VST2-FREE" "${pkgdir}/usr/lib/vst/Auburn Sounds ${_name} 2.VST2" - sudo mkdir -p "${pkgdir}/usr/lib/vst3" - sudo mv "./Linux/Linux-64b-VST3-FREE/Auburn Sounds ${_name} 2.vst3" "${pkgdir}/usr/lib/vst3/Auburn Sounds ${_name} 2.vst3" + cd "${_archive}" + mkdir -p "${pkgdir}/usr/lib/lv2" + mv "./Linux/Linux-64b-LV2-FREE" "${pkgdir}/usr/lib/lv2/Auburn Sounds ${_name} 2.lv2" + mkdir -p "${pkgdir}/usr/lib/vst" + mv "./Linux/Linux-64b-VST2-FREE" "${pkgdir}/usr/lib/vst/Auburn Sounds ${_name} 2.VST2" + mkdir -p "${pkgdir}/usr/lib/vst3" + mv "./Linux/Linux-64b-VST3-FREE/Auburn Sounds ${_name} 2.vst3" "${pkgdir}/usr/lib/vst3/Auburn Sounds ${_name} 2.vst3" } diff --git a/packages/pap/pap.pacscript b/packages/pap/pap.pacscript index 870ba63e9e..015320c248 100644 --- a/packages/pap/pap.pacscript +++ b/packages/pap/pap.pacscript @@ -1,17 +1,19 @@ -name="pap" +pkgname="pap" pkgver="0.15.0" -url="https://github.com/talwat/pap/archive/v${pkgver}.tar.gz" +source=("https://github.com/talwat/pap/archive/v${pkgver}.tar.gz") pkgdesc="Swiss army knife for minecraft servers" -maintainer="Talwat " +maintainer=("Talwat ") makedepends=("golang-go") -hash="743fd7d6d8f6e5fcd198ee75fcc54fd77ce272c77009cfa2c28c0eb6aec5121c" +sha256sums=("743fd7d6d8f6e5fcd198ee75fcc54fd77ce272c77009cfa2c28c0eb6aec5121c") incompatible=('debian:bullseye') -repology=("project: ${name}") +repology=("project: ${pkgname}") build() { + cd "${_archive}" make -j"${NCPU}" } package() { - sudo make install PREFIX="${pkgdir}/usr" + cd "${_archive}" + make install PREFIX="${pkgdir}/usr" } diff --git a/packages/paper-icon-theme/paper-icon-theme.pacscript b/packages/paper-icon-theme/paper-icon-theme.pacscript index 75f5d16305..5f40a68c82 100644 --- a/packages/paper-icon-theme/paper-icon-theme.pacscript +++ b/packages/paper-icon-theme/paper-icon-theme.pacscript @@ -1,15 +1,17 @@ -name="paper-icon-theme" +pkgname="paper-icon-theme" pkgver="1.5.0" -maintainer="aranym " -url="https://github.com/snwh/paper-icon-theme/archive/refs/tags/v.1.5.0.tar.gz" +maintainer=("aranym ") +source=("https://github.com/snwh/paper-icon-theme/archive/refs/tags/v.1.5.0.tar.gz") makedepends=("meson" "ninja-build") pkgdesc="Paper is an open source desktop theme and icon project by Sam Hewitt" -hash="62f21dfe95ece481e5c635480f32347f1ad27ea66b2ef0526fe799090b298ece" +sha256sums=("62f21dfe95ece481e5c635480f32347f1ad27ea66b2ef0526fe799090b298ece") build() { + cd "${_archive}" meson "build" --prefix="${pkgdir}/usr" } package() { - sudo ninja -C "build" install > /dev/null + cd "${_archive}" + ninja -C "build" install > /dev/null } diff --git a/packages/papirus-folders/papirus-folders.pacscript b/packages/papirus-folders/papirus-folders.pacscript index ff82248e32..c0d2fa5f09 100644 --- a/packages/papirus-folders/papirus-folders.pacscript +++ b/packages/papirus-folders/papirus-folders.pacscript @@ -1,12 +1,13 @@ -name="papirus-folders" +pkgname="papirus-folders" pkgver="1.13.1" pkgdesc="Papirus folder theme" repology=("project: papirus-folders") depends=("papirus-icon-theme") -url="https://github.com/PapirusDevelopmentTeam/${name}/archive/refs/tags/v${pkgver}.tar.gz" -hash="df38d1a86d4aaad575d1f93f1fc541d538409d985fa418d5eac46a77c18cb028" -maintainer="Oren Klopfer " +source=("https://github.com/PapirusDevelopmentTeam/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz") +sha256sums=("df38d1a86d4aaad575d1f93f1fc541d538409d985fa418d5eac46a77c18cb028") +maintainer=("Oren Klopfer ") package() { - sudo make DESTDIR="${pkgdir}" install + cd "${_archive}" + make DESTDIR="${pkgdir}" install } diff --git a/packages/papirus-icon-theme/papirus-icon-theme.pacscript b/packages/papirus-icon-theme/papirus-icon-theme.pacscript index 5313a5b1fc..1e924faa89 100644 --- a/packages/papirus-icon-theme/papirus-icon-theme.pacscript +++ b/packages/papirus-icon-theme/papirus-icon-theme.pacscript @@ -1,15 +1,16 @@ -name="papirus-icon-theme" +pkgname="papirus-icon-theme" pkgver="20231201" pkgdesc="Papirus icon theme" repology=("project: papirus-icon-theme" "repo: aur") -url="https://github.com/PapirusDevelopmentTeam/${name}/archive/${pkgver}/${name}-${pkgver}.tar.gz" -hash="9dde683d6444ed2d3b3dacf8579b04d527ce278cef575d606f690c7b31c7aebd" -maintainer="Oren Klopfer " -gives="${name}" -breaks=("${name}" "${name}-git") +source=("https://github.com/PapirusDevelopmentTeam/${pkgname}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz") +sha256sums=("9dde683d6444ed2d3b3dacf8579b04d527ce278cef575d606f690c7b31c7aebd") +maintainer=("Oren Klopfer ") +gives="${pkgname}" +breaks=("${pkgname}" "${pkgname}-git") depends=("gtk-update-icon-cache") makedepends=("make") package() { - sudo make DESTDIR="${pkgdir}" install + cd "${_archive}" + make DESTDIR="${pkgdir}" install } diff --git a/packages/parsec-deb/parsec-deb.pacscript b/packages/parsec-deb/parsec-deb.pacscript index 5db6b656d9..412394129b 100644 --- a/packages/parsec-deb/parsec-deb.pacscript +++ b/packages/parsec-deb/parsec-deb.pacscript @@ -1,6 +1,6 @@ -name="parsec-deb" +pkgname="parsec-deb" gives="parsec" pkgver="150-86e" -url="https://builds.parsec.app/package/parsec-linux.deb" +source=("https://builds.parsec.app/package/parsec-linux.deb") pkgdesc="Simple, low-latency game streaming" incompatible=("debian:sid") diff --git a/packages/pb-git/pb-git.pacscript b/packages/pb-git/pb-git.pacscript index 8c9168c6b5..2bced7b850 100644 --- a/packages/pb-git/pb-git.pacscript +++ b/packages/pb-git/pb-git.pacscript @@ -1,12 +1,10 @@ -name="pb-git" +pkgname="pb-git" pkgver="2022.11.03" pkgdesc="0x0 pastebin utility" -maintainer="vigress8 " -url="https://git.envs.net/envs/pb.git" -pkgver() { - git ls-remote "${url}" master | cut -f1 | cut -c1-8 -} +maintainer=("vigress8 ") +source=("https://git.envs.net/envs/pb.git") package() { - sudo make install DESTDIR="${pkgdir}" + cd "${_archive}" + make install DESTDIR="${pkgdir}" } diff --git a/packages/pdf-mix-tool-git/pdf-mix-tool-git.pacscript b/packages/pdf-mix-tool-git/pdf-mix-tool-git.pacscript index 2abf26faef..43d7267fba 100644 --- a/packages/pdf-mix-tool-git/pdf-mix-tool-git.pacscript +++ b/packages/pdf-mix-tool-git/pdf-mix-tool-git.pacscript @@ -1,27 +1,27 @@ -name="pdf-mix-tool-git" +pkgname="pdf-mix-tool-git" gives="pdf-mix-tool" -url="https://gitlab.com/scarpetta/pdfmixtool.git" +source=("https://gitlab.com/scarpetta/pdfmixtool.git") pkgver="1.1.1" makedepends=("libqpdf-dev" "make" "cmake" "libmagick++-6.q16-dev" "libqt5svg5-dev" "qtbase5-dev" "qtbase5-dev-tools" "qttools5-dev") depends=("libqpdf28") breaks=("${gives}" "${gives}-bin" "${gives}-app" "${gives}-deb") pkgdesc="a GUI application to split, merge, rotate and mix PDF files" optdepends=("ImageMagick: image manipulation tool") -maintainer="echometerain " -pkgver() { - git ls-remote "${url}" master | cut -f1 | cut -c1-8 -} +maintainer=("echometerain ") prepare() { + cd "${_archive}" mkdir build } build() { + cd "${_archive}" cd build || return 1 cmake .. -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_BUILD_TYPE=Release make -j"${NCPU}" } package() { - sudo make install DESTDIR="${pkgdir}" + cd "${_archive}" + make install DESTDIR="${pkgdir}" } diff --git a/packages/pdfmm-git/pdfmm-git.pacscript b/packages/pdfmm-git/pdfmm-git.pacscript index 28807d8af9..3ce98552ab 100644 --- a/packages/pdfmm-git/pdfmm-git.pacscript +++ b/packages/pdfmm-git/pdfmm-git.pacscript @@ -1,15 +1,13 @@ -name="pdfmm-git" -pkgname="pdfmm" +pkgname="pdfmm-git" +gives="pdfmm" pkgdesc="pdfmm (for 'pdf minus minus', or 'pdf--') is a graphical assistant to reduce the size of PDF files." -url="https://github.com/jpfleury/${pkgname}.git" +source=("https://github.com/jpfleury/${gives}.git") pkgver="0.0.1" depends=("bash" "sed" "zenity" "ghostscript") -breaks=("${pkgname}") -hash="3a1d5046490cbeb1f3a3eae34d66ea0e714a19a01f15dc43cb1d31fbb58d7a51" -pkgver() { - git ls-remote "${url}" master | cut -f1 | cut -c1-8 -} +breaks=("${gives}") +sha256sums=("3a1d5046490cbeb1f3a3eae34d66ea0e714a19a01f15dc43cb1d31fbb58d7a51") package() { - sudo install -Dm755 "${pkgname}" -t "${pkgdir}/usr/bin" + cd "${_archive}" + install -Dm755 "${gives}" -t "${pkgdir}/usr/bin" } diff --git a/packages/pfetch-bin/pfetch-bin.pacscript b/packages/pfetch-bin/pfetch-bin.pacscript index 60bc63270a..86b3817ffb 100644 --- a/packages/pfetch-bin/pfetch-bin.pacscript +++ b/packages/pfetch-bin/pfetch-bin.pacscript @@ -1,14 +1,15 @@ -name="pfetch-bin" -pkgname="pfetch" +pkgname="pfetch-bin" +gives="pfetch" pkgver="0.6.0" -url="https://github.com/dylanaraps/${pkgname}/archive/refs/tags/${pkgver}.zip" -breaks=("${pkgname}" "${pkgname}-bin" "${pkgname}-deb" "${pkgname}-app" "${pkgname}-git") +source=("https://github.com/dylanaraps/${gives}/archive/refs/tags/${pkgver}.zip") +breaks=("${gives}" "${gives}-bin" "${gives}-deb" "${gives}-app" "${gives}-git") pkgdesc="A lightweight and simple fetch tool" -hash="ec85100a912c0bdd06a82a9647d19a5c6d1d51c3a262d60b9ac8f17570fbfb39" -repology=("project: ${pkgname}") -maintainer="Zahrun " +sha256sums=("ec85100a912c0bdd06a82a9647d19a5c6d1d51c3a262d60b9ac8f17570fbfb39") +repology=("project: ${gives}") +maintainer=("Zahrun ") package() { - sudo install -Dm755 "${pkgname}" -t "${pkgdir}/usr/bin" - sudo install -Dm644 "LICENSE.md" -t "${pkgdir}/usr/share/licenses/${pkgname}" + cd "${_archive}" + install -Dm755 "${gives}" -t "${pkgdir}/usr/bin" + install -Dm644 "LICENSE.md" -t "${pkgdir}/usr/share/licenses/${gives}" } diff --git a/packages/pgmigrate/pgmigrate.pacscript b/packages/pgmigrate/pgmigrate.pacscript index 55a2e83e45..0b90e95383 100644 --- a/packages/pgmigrate/pgmigrate.pacscript +++ b/packages/pgmigrate/pgmigrate.pacscript @@ -1,19 +1,21 @@ -name="pgmigrate" -repology=("project: ${name}") -breaks="${name}-git" -replace=("${name}") +pkgname="pgmigrate" +repology=("project: ${pkgname}") +breaks="${pkgname}-git" +replaces=("${pkgname}") pkgver="1.0.7" -url="https://github.com/yandex/${name}/archive/refs/tags/${pkgver}.tar.gz" +source=("https://github.com/yandex/${pkgname}/archive/refs/tags/${pkgver}.tar.gz") depends=("python3" "python3-sqlparse" "python3-yaml" "python3-psycopg2") makedepends=("python3-setuptools") pkgdesc="Simple tool to evolve PostgreSQL schema easily" -hash="ba39ee6198b1132a5306c3cce79d16644c507d7be999fbcc9c039cd3307693f6" -maintainer="WRM-42 " +sha256sums=("ba39ee6198b1132a5306c3cce79d16644c507d7be999fbcc9c039cd3307693f6") +maintainer=("WRM-42 ") build() { + cd "${_archive}" python3 setup.py build } package() { - sudo python3 setup.py install --root="${pkgdir}" --optimize=1 + cd "${_archive}" + python3 setup.py install --root="${pkgdir}" --optimize=1 } diff --git a/packages/picom/picom.pacscript b/packages/picom/picom.pacscript index 9cc29ffbf8..278801dfa0 100644 --- a/packages/picom/picom.pacscript +++ b/packages/picom/picom.pacscript @@ -1,10 +1,10 @@ -name="picom" +pkgname="picom" homepage='https://github.com/yshui/picom' pkgver="11.2" pkgdesc="A lightweight compositor for X11" -repology=("project: ${name}") -replace=("${name}") -breaks=("compton" "${name}-git" "ibhagwan-${name}-git" "jonaburg-${name}-git") +repology=("project: ${pkgname}") +replaces=("${pkgname}") +breaks=("compton" "${pkgname}-git" "ibhagwan-${pkgname}-git" "jonaburg-${pkgname}-git") makedepends=( "libconfig-dev" "libdbus-1-dev" "libegl-dev" "libepoxy-dev" "libev-dev" "libgl-dev" "libpcre2-dev" @@ -32,18 +32,21 @@ optdepends=( "python3: for running picom-convgen.py" "x11-utils: for picom-trans" ) -url="https://github.com/yshui/picom/archive/refs/tags/v${pkgver}.tar.gz" -hash="1c1063936faf09ed9bba726e7737a562564b7a5f8cdef79d48fcdaf3669a4df4" -maintainer="vigress8 " +source=("https://github.com/yshui/picom/archive/refs/tags/v${pkgver}.tar.gz") +sha256sums=("1c1063936faf09ed9bba726e7737a562564b7a5f8cdef79d48fcdaf3669a4df4") +maintainer=("vigress8 ") prepare() { + cd "${_archive}" meson setup -Dprefix="${pkgdir}/usr" --buildtype=release . build } build() { + cd "${_archive}" ninja -C build } package() { - sudo ninja -C build install + cd "${_archive}" + ninja -C build install } diff --git a/packages/pipes.sh-bin/pipes.sh-bin.pacscript b/packages/pipes.sh-bin/pipes.sh-bin.pacscript index 8549d3102f..4b845a3960 100644 --- a/packages/pipes.sh-bin/pipes.sh-bin.pacscript +++ b/packages/pipes.sh-bin/pipes.sh-bin.pacscript @@ -1,25 +1,26 @@ -name="pipes.sh-bin" -pkgname="pipes.sh" +pkgname="pipes.sh-bin" +gives="pipes.sh" pkgver="1.3.0" pkgdesc="Animated pipes terminal screensaver" -url="https://github.com/pipeseroni/${pkgname}/archive/v${pkgver}.tar.gz" -breaks=("${pkgname}" "${pkgname}-git" "${pkgname}-deb" "${pkgname}-app") -hash="532976dd8dc2d98330c45a8bcb6d7dc19e0b0e30bba8872dcce352361655a426" +source=("https://github.com/pipeseroni/${gives}/archive/v${pkgver}.tar.gz") +breaks=("${gives}" "${gives}-git" "${gives}-deb" "${gives}-app") +sha256sums=("532976dd8dc2d98330c45a8bcb6d7dc19e0b0e30bba8872dcce352361655a426") package() { + cd "${_archive}" # Install license - sudo install -Dm644 "LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}" + install -Dm644 "LICENSE" -t "${pkgdir}/usr/share/licenses/${gives}" # Install doc - sudo install -Dm644 "README.rst" -t "${pkgdir}/usr/share/doc/${pkgname}" + install -Dm644 "README.rst" -t "${pkgdir}/usr/share/doc/${gives}" # Install binary - sudo make DESTDIR="${pkgdir}" PREFIX=/usr install + make DESTDIR="${pkgdir}" PREFIX=/usr install } post_remove() { # Remove empty directories - sudo rm -rf "/usr/share/licenses/${pkgname}" - sudo rm -rf "/usr/share/doc/${pkgname}" + sudo rm -rf "/usr/share/licenses/${gives}" + sudo rm -rf "/usr/share/doc/${gives}" } # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/pipewire/pipewire.pacscript b/packages/pipewire/pipewire.pacscript index 727333a4a9..5a9caf4bdd 100644 --- a/packages/pipewire/pipewire.pacscript +++ b/packages/pipewire/pipewire.pacscript @@ -1,23 +1,26 @@ -name="pipewire" +pkgname="pipewire" pkgver="0.3.65" makedepends=("meson" "libdbus-1-dev" "debhelper-compat" "findutils" "libasound2-dev" "libavcodec-dev" "libavfilter-dev" "libavformat-dev" "libdbus-1-dev" "libglib2.0-dev" "libgstreamer1.0-dev" "libgstreamer-plugins-base1.0-dev" "libsbc-dev" "libsdl2-dev" "libudev-dev" "libva-dev" "libv4l-dev" "libx11-dev" "ninja-build" "pkg-config" "python3-docutils" "python3-pip") -url="https://gitlab.freedesktop.org/${name}/${name}/-/archive/${pkgver}/${name}-${pkgver}.zip" +source=("https://gitlab.freedesktop.org/${pkgname}/${pkgname}/-/archive/${pkgver}/${pkgname}-${pkgver}.zip") homepage='https://pipewire.org/' -maintainer="Elsie19 " +maintainer=("Elsie19 ") pkgdesc="Server and user space API to deal with multimedia pipelines" -hash="f5fbe0028b56a9e9cc6c9fbb4e3e73d108bb818895f6fed3cd62d1a1b6fc4c30" +sha256sums=("f5fbe0028b56a9e9cc6c9fbb4e3e73d108bb818895f6fed3cd62d1a1b6fc4c30") incompatible=('debian:stable') prepare() { + cd "${_archive}" meson setup builddir } build() { + cd "${_archive}" meson configure builddir -Dprefix=/usr ninja -C builddir } package() { + cd "${_archive}" cd builddir/ - sudo DESTDIR="${pkgdir}" meson install + DESTDIR="${pkgdir}" meson install } diff --git a/packages/planner-git/planner-git.pacscript b/packages/planner-git/planner-git.pacscript index c6034665ba..9cc783ef1d 100644 --- a/packages/planner-git/planner-git.pacscript +++ b/packages/planner-git/planner-git.pacscript @@ -1,21 +1,20 @@ -name="planner-git" -url="https://github.com/alainm23/planner.git" +pkgname="planner-git" +source=("https://github.com/alainm23/planner.git") pkgver="4.1" makedepends=("meson" "ninja-build" "libgtk-3-dev" "libgee-0.8-dev" "libjson-glib-dev" "libsqlite3-dev" "libsoup2.4-dev" "libgranite-dev" "libwebkit2gtk-4.0-dev" "libecal2.0-dev" "libedataserver1.2-dev" "libpeas-dev" "libical-dev" "libhandy-1-dev") depends=("libgtk-3-0" "libgee-0.8-2" "libjson-glib-1.0-0" "libjson-glib-1.0-common" "libsqlite3-0" "libsoup2.4-1" "libgranite5" "libgranite-common" "libwebkit2gtk-4.0-37" "libecal-2.0-1" "libedataserver-1.2-26" "libpeas-1.0-0" "libpeas-common" "libical3" "libhandy-1-0" "valac" "elementary-icon-theme" "libevolution") pkgdesc="Task manager with Todoist support designed for GNU/Linux" -maintainer="echometer " -pkgver() { - git ls-remote "${url}" master | cut -f1 | cut -c1-8 -} +maintainer=("echometer ") build() { + cd "${_archive}" meson build --prefix="/usr" cd build ninja } package() { + cd "${_archive}" cd build - sudo DESTDIR="${pkgdir}" ninja install + DESTDIR="${pkgdir}" ninja install } diff --git a/packages/plexmediaserver-deb/plexmediaserver-deb.pacscript b/packages/plexmediaserver-deb/plexmediaserver-deb.pacscript index 60c927f54b..30486fe9af 100644 --- a/packages/plexmediaserver-deb/plexmediaserver-deb.pacscript +++ b/packages/plexmediaserver-deb/plexmediaserver-deb.pacscript @@ -1,19 +1,11 @@ -name="plexmediaserver-deb" +pkgname="plexmediaserver-deb" gives="plexmediaserver" repology=("project: ${gives}") pkgver="1.32.0.6918-6f393eda1" -replace=("${gives}") -url="https://downloads.plex.tv/plex-media-server-new/${pkgver}/debian/${gives}_${pkgver}_${CARCH}.deb" +replaces=("${gives}") +source=("https://downloads.plex.tv/plex-media-server-new/${pkgver}/debian/${gives}_${pkgver}_${CARCH}.deb") pkgdesc="Plex organizes all of your personal media so you can easily access and enjoy it" -case "${CARCH}" in - amd64) - hash="f6b1a6524d26eed04b4a8e4b790d5fbf6ae798aed643d0150d43d4d1aa972eb3" - arch=('amd64') - ;; - arm64) - hash="abc3d990f19216711a7ae7562c506aded2fe74c7ba6bc616f92c8cf89c0da600" - arch=('arm64') - ;; - *) return 1 ;; -esac -maintainer="Oren Klopfer " +sha256sums_amd64=("f6b1a6524d26eed04b4a8e4b790d5fbf6ae798aed643d0150d43d4d1aa972eb3") +sha256sums_arm64=("abc3d990f19216711a7ae7562c506aded2fe74c7ba6bc616f92c8cf89c0da600") + +maintainer=("Oren Klopfer ") diff --git a/packages/polybar/polybar.pacscript b/packages/polybar/polybar.pacscript index 067c0f320a..bb71352966 100644 --- a/packages/polybar/polybar.pacscript +++ b/packages/polybar/polybar.pacscript @@ -1,11 +1,11 @@ -name="polybar" pkgname="polybar" +gives="polybar" pkgver="3.7.1" -url="https://github.com/polybar/polybar/releases/download/${pkgver}/polybar-${pkgver}.tar.gz" +source=("https://github.com/polybar/polybar/releases/download/${pkgver}/polybar-${pkgver}.tar.gz") makedepends=("cmake" "cmake-data" "pkg-config" "python3-sphinx" "python3-packaging" "libcairo2-dev" "libxcb1-dev" "libuv1-dev" "libxcb-util0-dev" "libxcb-randr0-dev" "libxcb-composite0-dev" "python3-xcbgen" "xcb-proto" "libxcb-image0-dev" "libxcb-ewmh-dev" "libxcb-icccm4-dev") pkgdesc="Polybar aims to help users build beautiful and highly customizable status bars for their desktop environment, without the need of having a black belt in shell scripting" -maintainer="Elsie19 " -hash="5de6ad385ba09dc453a4e5ec7054749a4882b5b21a62c17ae40bf7c90613ff0f" +maintainer=("Elsie19 ") +sha256sums=("5de6ad385ba09dc453a4e5ec7054749a4882b5b21a62c17ae40bf7c90613ff0f") optdepends=("libxcb-xkb-dev: xkeyboard" "libxcb-xrm-dev: xrdb" "libxcb-cursor-dev: cursorclick/scroll" @@ -18,12 +18,14 @@ optdepends=("libxcb-xkb-dev: xkeyboard" repology=("project: polybar") build() { + cd "${_archive}" mkdir build && cd build cmake .. make -j"${NCPU}" } package() { + cd "${_archive}" cd build/ - sudo make install DESTDIR="${pkgdir}" + make install DESTDIR="${pkgdir}" } diff --git a/packages/pomatez-deb/pomatez-deb.pacscript b/packages/pomatez-deb/pomatez-deb.pacscript index d3b36efc5d..67982e370c 100644 --- a/packages/pomatez-deb/pomatez-deb.pacscript +++ b/packages/pomatez-deb/pomatez-deb.pacscript @@ -1,11 +1,10 @@ -name="pomatez-deb" +pkgname="pomatez-deb" repology=("project: pomatez") -pkgname="pomatez" +gives="pomatez" pkgver="1.6.4" -url="https://github.com/roldanjr/${pkgname}/releases/download/v${pkgver}/Pomatez-v${pkgver}-linux-amd64.deb" +source=("https://github.com/roldanjr/${gives}/releases/download/v${pkgver}/Pomatez-v${pkgver}-linux-amd64.deb") arch=("amd64") depends=("libgtk-3-0" "libnotify4" "libnss3" "libxss1" "libxtst6" "xdg-utils" "libatspi2.0-0" "libuuid1" "libappindicator3-1" "libsecret-1-0") -gives="pomatez" -replace=("pomatez") +replaces=("pomatez") pkgdesc="Stay Focused. Take a Break." -hash="ae0572ff1816463dcca1d7e2a0bde7ba3b06eebfde5e374b9b2eb34ca4d37ae7" +sha256sums=("ae0572ff1816463dcca1d7e2a0bde7ba3b06eebfde5e374b9b2eb34ca4d37ae7") diff --git a/packages/popcorn-time-deb/popcorn-time-deb.pacscript b/packages/popcorn-time-deb/popcorn-time-deb.pacscript index 0054e6a74c..4f191aaa39 100644 --- a/packages/popcorn-time-deb/popcorn-time-deb.pacscript +++ b/packages/popcorn-time-deb/popcorn-time-deb.pacscript @@ -1,9 +1,9 @@ -name="popcorn-time-deb" +pkgname="popcorn-time-deb" gives="popcorn-time" repology=("project: popcorntime") pkgver="0.5.1" -url="https://github.com/popcorn-official/popcorn-desktop/releases/download/v${pkgver}/Popcorn-Time-${pkgver}-amd64.deb" +source=("https://github.com/popcorn-official/popcorn-desktop/releases/download/v${pkgver}/Popcorn-Time-${pkgver}-amd64.deb") pkgdesc="A multi-platform, free software BitTorrent client that includes an integrated media player" -hash="3167d0649255108e6a0ece401c4398bb0bf890860a25f54be46da6f3490bcd95" +sha256sums=("3167d0649255108e6a0ece401c4398bb0bf890860a25f54be46da6f3490bcd95") arch=('amd64') -maintainer="Zahrun " +maintainer=("Zahrun ") diff --git a/packages/popsicle/popsicle.pacscript b/packages/popsicle/popsicle.pacscript index 02e91925cf..f03ebe6f50 100644 --- a/packages/popsicle/popsicle.pacscript +++ b/packages/popsicle/popsicle.pacscript @@ -1,17 +1,18 @@ -name="popsicle" pkgname="popsicle" +gives="popsicle" pkgver="1.3.0" -url="https://github.com/pop-os/popsicle/archive/refs/tags/1.3.0.zip" +source=("https://github.com/pop-os/popsicle/archive/refs/tags/1.3.0.zip") license="MIT" makedepends=("cargo" "libgtk-3-dev" "help2man") -gives="popsicle" pkgdesc="Multiple USB File Flasher" -hash="4dd0f92f46d0befabd56c0cea50829b4db6d2ae8a8673e3d31c7e4228b02248b" +sha256sums=("4dd0f92f46d0befabd56c0cea50829b4db6d2ae8a8673e3d31c7e4228b02248b") build() { + cd "${_archive}" make -j"${NCPU}" } package() { - sudo make install DESTDIR="${pkgdir}" + cd "${_archive}" + make install DESTDIR="${pkgdir}" } diff --git a/packages/postman-bin/postman-bin.pacscript b/packages/postman-bin/postman-bin.pacscript index 82536e943e..9aa14ea02c 100644 --- a/packages/postman-bin/postman-bin.pacscript +++ b/packages/postman-bin/postman-bin.pacscript @@ -1,27 +1,33 @@ -name="postman-bin" +pkgname="postman-bin" pkgver="10.18.10" pkgdesc="Build, test, and document your APIs faster" repology=("project: postman" "visiblename: postman-bin") -url="https://dl.pstmn.io/download/version/${pkgver}/linux64" -hash="08063d6f63bed6f44e5047c64517997b1f5287995bdec202e1313154744be95a" -maintainer="Marie Piontek " +source=( + "https://dl.pstmn.io/download/version/${pkgver}/linux64" + "postman.desktop::https://aur.archlinux.org/cgit/aur.git/plain/postman.desktop?h=postman-bin" +) +sha256sums=( + "08063d6f63bed6f44e5047c64517997b1f5287995bdec202e1313154744be95a" + "SKIP" +) +maintainer=("Marie Piontek ") gives="postman" breaks=("postman" "postman-deb" "postman-app") depends=("libxss1" "libnss3" "libgtk-3-0") package() { + cd "${_archive}" # Get desktop file and install it - wget -q "https://aur.archlinux.org/cgit/aur.git/plain/postman.desktop?h=postman-bin" -O postman.desktop - sudo install -Dm644 postman.desktop -t "${pkgdir}/usr/share/applications" + install -Dm644 "${srcdir}"/postman.desktop -t "${pkgdir}/usr/share/applications" # Install the rest of the app - sudo install -d "${pkgdir}/opt/postman/" "${pkgdir}/usr/bin" - sudo install -d "${pkgdir}/usr/share/icons/hicolor/128x128/apps" + install -d "${pkgdir}/opt/postman/" "${pkgdir}/usr/bin" + install -d "${pkgdir}/usr/share/icons/hicolor/128x128/apps" - sudo cp -r "${SRCDIR}/Postman/app/"* "${pkgdir}/opt/postman/" - sudo chmod +x "${pkgdir}/opt/postman/postman" - sudo mkdir -p "${pkgdir}/usr/bin" - sudo ln -sf "/opt/postman/Postman" "${pkgdir}/usr/bin/postman" - sudo mkdir -p "${pkgdir}/usr/share/icons/hicolor/128x128/apps" - sudo ln -sf "/opt/postman/resources/app/assets/icon.png" "${pkgdir}/usr/share/icons/hicolor/128x128/apps/postman.png" + cp -r "${srcdir}/Postman/app/"* "${pkgdir}/opt/postman/" + chmod +x "${pkgdir}/opt/postman/postman" + mkdir -p "${pkgdir}/usr/bin" + ln -sf "/opt/postman/Postman" "${pkgdir}/usr/bin/postman" + mkdir -p "${pkgdir}/usr/share/icons/hicolor/128x128/apps" + ln -sf "/opt/postman/resources/app/assets/icon.png" "${pkgdir}/usr/share/icons/hicolor/128x128/apps/postman.png" } diff --git a/packages/powertop-git/powertop-git.pacscript b/packages/powertop-git/powertop-git.pacscript index c4d3d031a6..fdc144df30 100644 --- a/packages/powertop-git/powertop-git.pacscript +++ b/packages/powertop-git/powertop-git.pacscript @@ -1,25 +1,25 @@ -name="powertop-git" +pkgname="powertop-git" gives="powertop" -replace=("powertop") +replaces=("powertop") breaks=("powertop") -url="https://github.com/fenrus75/powertop.git" +source=("https://github.com/fenrus75/powertop.git") pkgver="2.15" makedepends=("libpci-dev" "libnl-3-dev" "libnl-genl-3-dev" "gettext" "libgettextpo-dev" "autopoint" "gettext" "libncurses5-dev" "libncursesw5-dev" "libtool-bin" "dh-autoreconf" "autoconf-archive" "pkg-config") -maintainer="Elsie19 " +maintainer=("Elsie19 ") pkgdesc="Linux tool used to diagnose issues with power consumption and power management" -pkgver() { - git ls-remote "${url}" master | cut -f1 | cut -c1-8 -} prepare() { + cd "${_archive}" ./autogen.sh ./configure } build() { + cd "${_archive}" make -j"${NCPU}" } package() { - sudo make DESTDIR="${pkgdir}" install + cd "${_archive}" + make DESTDIR="${pkgdir}" install } diff --git a/packages/prettier/prettier.pacscript b/packages/prettier/prettier.pacscript index 413fd7182d..407bdb90ce 100644 --- a/packages/prettier/prettier.pacscript +++ b/packages/prettier/prettier.pacscript @@ -1,20 +1,21 @@ -name="prettier" +pkgname="prettier" pkgver="3.2.5" pkgdesc="An opinionated code formatter" homepage='https://prettier.io' depends=("nodejs") -url="https://registry.npmjs.org/prettier/-/prettier-${pkgver}.tgz" -hash="a9d68ae56e5b0fea5c9d8e68b67104dae8445db21e1d24fb3522f3f4c0fb271d" -repology=("project: ${name}") -maintainer="vigress8 " +source=("https://registry.npmjs.org/prettier/-/prettier-${pkgver}.tgz") +sha256sums=("a9d68ae56e5b0fea5c9d8e68b67104dae8445db21e1d24fb3522f3f4c0fb271d") +repology=("project: ${pkgname}") +maintainer=("vigress8 ") package() { - local mod_dir="usr/lib/node_modules/${name}" - sudo install -d "${pkgdir}/"{usr/bin,"${mod_dir}"} - sudo cp -a ./* "${pkgdir}/${mod_dir}" - sudo chmod 755 "${pkgdir}/${mod_dir}/bin/${name}.cjs" - sudo install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${name}" - sudo ln -sf "/${mod_dir}/bin/${name}.cjs" "${pkgdir}/usr/bin/${name}" + cd "${_archive}" + local mod_dir="usr/lib/node_modules/${pkgname}" + install -d "${pkgdir}/"{usr/bin,"${mod_dir}"} + cp -a ./* "${pkgdir}/${mod_dir}" + chmod 755 "${pkgdir}/${mod_dir}/bin/${pkgname}.cjs" + install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" + ln -sf "/${mod_dir}/bin/${pkgname}.cjs" "${pkgdir}/usr/bin/${pkgname}" } # vim:set ft=sh ts=2 sw=2 :et diff --git a/packages/prismlauncher-git/prismlauncher-git.pacscript b/packages/prismlauncher-git/prismlauncher-git.pacscript index 6b023882e9..1dd5fec5bd 100644 --- a/packages/prismlauncher-git/prismlauncher-git.pacscript +++ b/packages/prismlauncher-git/prismlauncher-git.pacscript @@ -1,6 +1,6 @@ -name="prismlauncher-git" +pkgname="prismlauncher-git" gives="prismlauncher" -url="https://github.com/PrismLauncher/PrismLauncher.git" +source=("https://github.com/PrismLauncher/PrismLauncher.git") pkgver="8.2" makedepends=("qt6-base-dev" "qtbase5-dev" "qtchooser" "qt5-qmake" "qmake6" "qtbase5-dev-tools" "cmake" "ninja-build" "extra-cmake-modules" "zlib1g-dev" "openjdk-17-jdk" "libgl1-mesa-dev" "scdoc") case "${DISTRO}" in @@ -12,13 +12,11 @@ case "${DISTRO}" in ;; esac pkgdesc="Custom launcher for Minecraft" -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") -pkgver() { - git ls-remote "${url}" develop | cut -f1 | cut -c1-8 -} build() { + cd "${_archive}" cmake -S . -B build -G Ninja \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX="/usr" \ @@ -28,5 +26,6 @@ build() { } package() { - sudo DESTDIR="${pkgdir}" cmake --install build + cd "${_archive}" + DESTDIR="${pkgdir}" cmake --install build } diff --git a/packages/proton-python-client/proton-python-client.pacscript b/packages/proton-python-client/proton-python-client.pacscript index 8c0a668048..6b4a47d277 100644 --- a/packages/proton-python-client/proton-python-client.pacscript +++ b/packages/proton-python-client/proton-python-client.pacscript @@ -1,13 +1,14 @@ -name="proton-python-client" -breaks="${name}-git ${name}-bin" -replace=("${name}") -repology=("project: ${name}") +pkgname="proton-python-client" +breaks="${pkgname}-git ${pkgname}-bin" +replaces=("${pkgname}") +repology=("project: ${pkgname}") pkgver="0.7.1" -url="https://github.com/ProtonMail/${name}/archive/refs/tags/${pkgver}.tar.gz" +source=("https://github.com/ProtonMail/${pkgname}/archive/refs/tags/${pkgver}.tar.gz") makedepends=("python3-requests" "python3-setuptools" "python3-bcrypt" "python3-gnupg" "python3-openssl") pkgdesc="Python Proton client module" -hash="88d2546a922d9053988b5e1863bf6cf965e97b4c643cd879f16bb3f0b5f02b5e" +sha256sums=("88d2546a922d9053988b5e1863bf6cf965e97b4c643cd879f16bb3f0b5f02b5e") package() { - sudo python3 setup.py install --root="${pkgdir}" --optimize=1 + cd "${_archive}" + python3 setup.py install --root="${pkgdir}" --optimize=1 } diff --git a/packages/protonmail-bridge-deb/protonmail-bridge-deb.pacscript b/packages/protonmail-bridge-deb/protonmail-bridge-deb.pacscript index d4d6b213f5..39c355c377 100644 --- a/packages/protonmail-bridge-deb/protonmail-bridge-deb.pacscript +++ b/packages/protonmail-bridge-deb/protonmail-bridge-deb.pacscript @@ -1,10 +1,10 @@ -name="protonmail-bridge-deb" +pkgname="protonmail-bridge-deb" gives="protonmail-bridge" breaks=("${gives}" "${gives}-git") repology=("project: ${gives}") pkgver="3.9.1" -url="https://github.com/ProtonMail/proton-bridge/releases/download/v${pkgver}/${gives}_${pkgver}-1_amd64.deb" +source=("https://github.com/ProtonMail/proton-bridge/releases/download/v${pkgver}/${gives}_${pkgver}-1_amd64.deb") pkgdesc="ProtonMail Bridge is an application available to all paid users that enables the integration of your ProtonMail account with popular email clients, such as Microsoft Outlook, Mozilla Thunderbird, or Apple Mail. Bridge runs in the background by seamlessly encrypting and decrypting messages as they enter and leave your computer. The app is compatible with most email clients supporting IMAP and SMTP protocols" -hash="b6506a4d3c2adae72bb35e550cd2605eda3448dd156479891c4546a63632e1c0" +sha256sums=("b6506a4d3c2adae72bb35e550cd2605eda3448dd156479891c4546a63632e1c0") arch=('amd64') -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") diff --git a/packages/protonup-qt-app/protonup-qt-app.pacscript b/packages/protonup-qt-app/protonup-qt-app.pacscript index 63fede9a59..c28ca3a32c 100644 --- a/packages/protonup-qt-app/protonup-qt-app.pacscript +++ b/packages/protonup-qt-app/protonup-qt-app.pacscript @@ -1,26 +1,31 @@ -name="protonup-qt-app" -pkgname="net.davidotek.pupgui2" +pkgname="protonup-qt-app" +gives="net.davidotek.pupgui2" pkgver="2.9.2" -gives="protonup-qt" pkgdesc="Install and manage Proton-GE and Luxtorpeda for Steam and Wine-GE for Lutris" -url="https://github.com/DavidoTek/ProtonUp-Qt/releases/download/v${pkgver}/ProtonUp-Qt-${pkgver}-x86_64.AppImage" -hash="775523ca153b05eccea106419e6ae4f7a803d0c6d8493d1747e3d65589af1854" +source=( + "https://github.com/DavidoTek/ProtonUp-Qt/releases/download/v${pkgver}/ProtonUp-Qt-${pkgver}-x86_64.AppImage" + "net.davidotek.pupgui2.png::https://raw.githubusercontent.com/DavidoTek/ProtonUp-Qt/main/share/icons/hicolor/256x256/apps/net.davidotek.pupgui2.png" +) +sha256sums=( + "775523ca153b05eccea106419e6ae4f7a803d0c6d8493d1747e3d65589af1854" + "SKIP" +) arch=('amd64') -maintainer="DavidoTek <54072917+DavidoTek@users.noreply.github.com>" +maintainer=("DavidoTek <54072917+DavidoTek@users.noreply.github.com>") package() { - sudo install -Dm755 "ProtonUp-Qt-${pkgver}-x86_64.AppImage" "${pkgdir}/usr/bin/${pkgname}" - wget -q https://raw.githubusercontent.com/DavidoTek/ProtonUp-Qt/main/share/icons/hicolor/256x256/apps/net.davidotek.pupgui2.png - sudo install -Dm644 "net.davidotek.pupgui2.png" "${pkgdir}/usr/share/icons/hicolor/256x256/apps/${pkgname}.png" - sudo mkdir -p "${pkgdir}/usr/share/applications" + cd "${_archive}" + install -Dm755 "ProtonUp-Qt-${pkgver}-x86_64.AppImage" "${pkgdir}/usr/bin/${gives}" + install -Dm644 "${srcdir}/net.davidotek.pupgui2.png" "${pkgdir}/usr/share/icons/hicolor/256x256/apps/${gives}.png" + mkdir -p "${pkgdir}/usr/share/applications" echo "[Desktop Entry] Name=ProtonUp-Qt -Icon=${pkgname} -Exec=${pkgname} +Icon=${gives} +Exec=${gives} Type=Application Categories=Game;Utility; Terminal=false -X-AppImage-Version=${pkgver}" | sudo tee "${pkgdir}/usr/share/applications/net.davidotek.pupgui2.desktop" > /dev/null - sudo mkdir -p "${pkgdir}/usr/bin" - sudo ln -sf "/usr/bin/${pkgname}" "${pkgdir}/usr/bin/protonup-qt" +X-AppImage-Version=${pkgver}" | tee "${pkgdir}/usr/share/applications/net.davidotek.pupgui2.desktop" > /dev/null + mkdir -p "${pkgdir}/usr/bin" + ln -sf "/usr/bin/${gives}" "${pkgdir}/usr/bin/protonup-qt" } diff --git a/packages/protonvpn-cli/protonvpn-cli.pacscript b/packages/protonvpn-cli/protonvpn-cli.pacscript index cef63ffeac..973927c065 100644 --- a/packages/protonvpn-cli/protonvpn-cli.pacscript +++ b/packages/protonvpn-cli/protonvpn-cli.pacscript @@ -1,16 +1,17 @@ -name="protonvpn-cli" -breaks="${name}-git" -replace=("${name}") -repology=("project: ${name}") +pkgname="protonvpn-cli" +breaks="${pkgname}-git" +replaces=("${pkgname}") +repology=("project: ${pkgname}") pkgver="3.13.0" -url="https://github.com/ProtonVPN/linux-cli/archive/refs/tags/${pkgver}.tar.gz" +source=("https://github.com/ProtonVPN/linux-cli/archive/refs/tags/${pkgver}.tar.gz") makedepends=("python3-setuptools") depends=("python3-dialog") pacdeps=("protonvpn-nm-lib" "proton-python-client") pkgdesc="Official ProtonVPN Linux app (CLI)" -hash="d295d6c899638a88d615e2cacb078ecf2aee8c771ebb087c9edb43aea25aacd9" -maintainer="Oren Klopfer " +sha256sums=("d295d6c899638a88d615e2cacb078ecf2aee8c771ebb087c9edb43aea25aacd9") +maintainer=("Oren Klopfer ") package() { - sudo python3 setup.py install --root="${pkgdir}" --optimize=1 + cd "${_archive}" + python3 setup.py install --root="${pkgdir}" --optimize=1 } diff --git a/packages/protonvpn-gui/protonvpn-gui.pacscript b/packages/protonvpn-gui/protonvpn-gui.pacscript index 2d77fadda2..81e3702668 100644 --- a/packages/protonvpn-gui/protonvpn-gui.pacscript +++ b/packages/protonvpn-gui/protonvpn-gui.pacscript @@ -1,26 +1,29 @@ -name="protonvpn-gui" +pkgname="protonvpn-gui" gives="protonvpn" -breaks=("${name}-git") -replace=("${name}") -repology=("project: ${name}") +breaks=("${pkgname}-git") +replaces=("${pkgname}") +repology=("project: ${pkgname}") pkgver="1.12.0" -url="https://github.com/ProtonVPN/linux-app/archive/refs/tags/${pkgver}.tar.gz" +source=("https://github.com/ProtonVPN/linux-app/archive/refs/tags/${pkgver}.tar.gz") makedepends=("libgtk-3-dev" "gobject-introspection" "python3-psutil" "python3-setuptools") optdepends=("gnome-shell-extension-appindicator: This extension integrates Ubuntu AppIndicators and KStatusNotifierItems into GNOME Shell") pacdeps=("protonvpn-nm-lib" "protonvpn-cli" "proton-python-client") pkgdesc="Official ProtonVPN Linux app (GUI)" -hash="708dd5aa04a12963361a7a13188c65938b94adc268608e341faa2985312e7f94" -maintainer="Oren Klopfer " +sha256sums=("708dd5aa04a12963361a7a13188c65938b94adc268608e341faa2985312e7f94") +maintainer=("Oren Klopfer ") prepare() { - sudo install -Dm755 "${gives}.desktop" -t "${pkgdir}/usr/share/applications" - sudo install -Dm755 "protonvpn_gui/assets/icons/${gives}-logo.png" -t "${pkgdir}/usr/share/icons/hicolor/scalable/apps" + cd "${_archive}" + install -Dm755 "${gives}.desktop" -t "${pkgdir}/usr/share/applications" + install -Dm755 "protonvpn_gui/assets/icons/${gives}-logo.png" -t "${pkgdir}/usr/share/icons/hicolor/scalable/apps" } build() { + cd "${_archive}" python3 setup.py build } package() { - sudo python3 setup.py install --root="${pkgdir}" --optimize=1 + cd "${_archive}" + python3 setup.py install --root="${pkgdir}" --optimize=1 } diff --git a/packages/protonvpn-nm-lib/protonvpn-nm-lib.pacscript b/packages/protonvpn-nm-lib/protonvpn-nm-lib.pacscript index 7e911ee009..58cd346986 100644 --- a/packages/protonvpn-nm-lib/protonvpn-nm-lib.pacscript +++ b/packages/protonvpn-nm-lib/protonvpn-nm-lib.pacscript @@ -1,14 +1,15 @@ -name="protonvpn-nm-lib" -breaks="${name}-git" -replace=("${name}") -repology=("project: ${name}") +pkgname="protonvpn-nm-lib" +breaks="${pkgname}-git" +replaces=("${pkgname}") +repology=("project: ${pkgname}") pkgver="3.8.0" -url="https://github.com/ProtonVPN/${name}/archive/refs/tags/${pkgver}.tar.gz" +source=("https://github.com/ProtonVPN/${pkgname}/archive/refs/tags/${pkgver}.tar.gz") depends=("python3" "network-manager" "network-manager-openvpn" "openvpn" "gir1.2-nm-1.0" "libsecret-tools" "dbus-x11" "gnome-keyring" "network-manager-openvpn-gnome") makedepends=("python3-setuptools" "python3-xdg" "python3-xdg" "python3-distro" "python3-keyring") pkgdesc="The ProtonVPN NM (NetworkManager) Library is intended for every ProtonVPN service user" -hash="c8193defd5722a460b4628c54fbc55556caa525e70476a7e15fccf06f155cd97" +sha256sums=("c8193defd5722a460b4628c54fbc55556caa525e70476a7e15fccf06f155cd97") package() { - sudo python3 setup.py install --root="${pkgdir}" --optimize=1 + cd "${_archive}" + python3 setup.py install --root="${pkgdir}" --optimize=1 } diff --git a/packages/pulsar-deb/pulsar-deb.pacscript b/packages/pulsar-deb/pulsar-deb.pacscript index 239fdc1686..5188d5c557 100644 --- a/packages/pulsar-deb/pulsar-deb.pacscript +++ b/packages/pulsar-deb/pulsar-deb.pacscript @@ -1,9 +1,9 @@ -name="pulsar-deb" +pkgname="pulsar-deb" gives="pulsar" pkgver="1.116.0" -url="https://github.com/pulsar-edit/pulsar/releases/download/v${pkgver}/Linux.pulsar_${pkgver}_amd64.deb" -hash="9d18055931d8a819f1c68ad1c687b11741ef2c29768cc749006ed1ff9f597761" +source=("https://github.com/pulsar-edit/pulsar/releases/download/v${pkgver}/Linux.pulsar_${pkgver}_amd64.deb") +sha256sums=("9d18055931d8a819f1c68ad1c687b11741ef2c29768cc749006ed1ff9f597761") pkgdesc="A Community-led Hyper-Hackable Text Editor" arch=('amd64') -maintainer="Zahrun " +maintainer=("Zahrun ") repology=("project: pulsar-edit") diff --git a/packages/pycharm-community-bin/pycharm-community-bin.pacscript b/packages/pycharm-community-bin/pycharm-community-bin.pacscript index a2f63b2215..1ac350b65b 100644 --- a/packages/pycharm-community-bin/pycharm-community-bin.pacscript +++ b/packages/pycharm-community-bin/pycharm-community-bin.pacscript @@ -1,30 +1,27 @@ -name="pycharm-community-bin" +pkgname="pycharm-community-bin" pkgver="2023.2.5" -pkgname="pycharm-community" gives="pycharm-community" -maintainer="ObsidianPresidium " +maintainer=("ObsidianPresidium ") pkgdesc="Python IDE for professional developers aimed at productivity with a keyboard-centric focus." -url="https://download.jetbrains.com/python/pycharm-community-${pkgver}.tar.gz" -hash="3a35e0b2245e6ecad5dc05b0fc81cf36cb4f5fe0bc987c8559e04c808de9d072" -desktop_file_sum="0367fc67c51d5d99fd64a5184b8acb2dbed4a56bb26eecdcf25a2414f2233c04" +source=( + "https://download.jetbrains.com/python/pycharm-community-${pkgver}.tar.gz" + "pycharm.desktop::https://raw.githubusercontent.com/pacstall/pacstall-programs/master/packages/${pkgname}/pycharm.desktop" +) +sha256sums=( + "3a35e0b2245e6ecad5dc05b0fc81cf36cb4f5fe0bc987c8559e04c808de9d072" + "0367fc67c51d5d99fd64a5184b8acb2dbed4a56bb26eecdcf25a2414f2233c04" +) repology=("project: pycharm") -prepare() { - wget -qO "pycharm.desktop" "https://raw.githubusercontent.com/pacstall/pacstall-programs/master/packages/${name}/pycharm.desktop" - if [[ "$(sha256sum pycharm.desktop | cut -d' ' -f 1)" != "${desktop_file_sum}" ]]; then - fancy_message error "Checksum for pycharm.desktop failed" - return 1 - fi -} - package() { - sudo mkdir -p "${pkgdir}/usr/share/licenses/pycharm" - sudo mkdir -p "${pkgdir}/usr/share/pycharm" - sudo mkdir -p "${pkgdir}/usr/share/pixmaps" - sudo cp -dr --no-preserve='ownership' bin jbr lib plugins "${pkgdir}/usr/share/pycharm/" - sudo cp -dr --no-preserve='ownership' license "${pkgdir}/usr/share/licenses/pycharm/" - sudo cp -dr "${pkgdir}/usr/share/pycharm/bin/pycharm.png" "${pkgdir}/usr/share/pixmaps/" - sudo install -Dm 644 pycharm.desktop -t "${pkgdir}"/usr/share/applications/ - sudo mkdir -p "${pkgdir}/usr/bin" - sudo ln -sf "/usr/share/pycharm/bin/pycharm.sh" "${pkgdir}/usr/bin/pycharm" + cd "${_archive}" + mkdir -p "${pkgdir}/usr/share/licenses/pycharm" + mkdir -p "${pkgdir}/usr/share/pycharm" + mkdir -p "${pkgdir}/usr/share/pixmaps" + cp -dr --no-preserve='ownership' bin jbr lib plugins "${pkgdir}/usr/share/pycharm/" + cp -dr --no-preserve='ownership' license "${pkgdir}/usr/share/licenses/pycharm/" + cp -dr "${pkgdir}/usr/share/pycharm/bin/pycharm.png" "${pkgdir}/usr/share/pixmaps/" + install -Dm 644 "${srcdir}"/pycharm.desktop -t "${pkgdir}"/usr/share/applications/ + mkdir -p "${pkgdir}/usr/bin" + ln -sf "/usr/share/pycharm/bin/pycharm.sh" "${pkgdir}/usr/bin/pycharm" } diff --git a/packages/python3-imdbpy-deb/python3-imdbpy-deb.pacscript b/packages/python3-imdbpy-deb/python3-imdbpy-deb.pacscript index ca2544bacc..e50112965a 100644 --- a/packages/python3-imdbpy-deb/python3-imdbpy-deb.pacscript +++ b/packages/python3-imdbpy-deb/python3-imdbpy-deb.pacscript @@ -1,8 +1,8 @@ -name="python3-imdbpy-deb" +pkgname="python3-imdbpy-deb" gives="python3-imdbpy" pkgver="2021.04.18" -url="http://ftp.debian.org/debian/pool/main/i/imdbpy/python3-imdbpy_${pkgver}-3_all.deb" -hash="b093fa1a632d596c4dfcc48a2b6a5149753348b3ca028cd8c0f4c2e1e5ffe80e" +source=("http://ftp.debian.org/debian/pool/main/i/imdbpy/python3-imdbpy_${pkgver}-3_all.deb") +sha256sums=("b093fa1a632d596c4dfcc48a2b6a5149753348b3ca028cd8c0f4c2e1e5ffe80e") pkgdesc="A package to retrieve and manage the data of the IMDb movie database about both movies and people" -maintainer="Zahrun " +maintainer=("Zahrun ") repology=("project: imdbpy" "repo: debian_unstable") diff --git a/packages/python3-levenshtein-deb/python3-levenshtein-deb.pacscript b/packages/python3-levenshtein-deb/python3-levenshtein-deb.pacscript index f0894e8404..e5d1606bcb 100644 --- a/packages/python3-levenshtein-deb/python3-levenshtein-deb.pacscript +++ b/packages/python3-levenshtein-deb/python3-levenshtein-deb.pacscript @@ -1,13 +1,10 @@ -name="python3-levenshtein-deb" +pkgname="python3-levenshtein-deb" pkgver="0.12.2-2+b5" gives="python3-levenshtein" -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") pkgdesc="Forward port of Python3 Levenshtein to latest Ubuntu versions" arch=('amd64' 'arm64') compatible=("ubuntu:devel" "ubuntu:noble") -if [[ ${CARCH} == "arm64" ]]; then - hash="2ec9244df249c70f844823bcd24548c9a4f4897f74198dd90118a0f33055638d" -else - hash="4c1dc750b05d670ee3ac4c7d2f6151a461417f1ff8a65b59c6cff5a40e83bf35" -fi -url="http://ftp.debian.org/debian/pool/main/p/python-levenshtein/${gives}_${pkgver}_${CARCH}.deb" +sha256sums_amd64=("4c1dc750b05d670ee3ac4c7d2f6151a461417f1ff8a65b59c6cff5a40e83bf35") +sha256sums_arm64=("2ec9244df249c70f844823bcd24548c9a4f4897f74198dd90118a0f33055638d") +source=("http://ftp.debian.org/debian/pool/main/p/python-levenshtein/${gives}_${pkgver}_${CARCH}.deb") diff --git a/packages/qogir-gtk-theme-bin/qogir-gtk-theme-bin.pacscript b/packages/qogir-gtk-theme-bin/qogir-gtk-theme-bin.pacscript index 8ef57a08ad..d33d88e792 100644 --- a/packages/qogir-gtk-theme-bin/qogir-gtk-theme-bin.pacscript +++ b/packages/qogir-gtk-theme-bin/qogir-gtk-theme-bin.pacscript @@ -4,17 +4,17 @@ # \ // \/ -- \ # \__/\ / \_______ \______ / # \/ \/ \/ -maintainer="wizard-28 " +maintainer=("wizard-28 ") -name="qogir-gtk-theme-bin" -pkgname="qogir-gtk-theme" +pkgname="qogir-gtk-theme-bin" +gives="qogir-gtk-theme" pkgver="2023-02-27" pkgdesc="Qogir is a flat Design theme for GTK" -url="https://github.com/vinceliuice/Qogir-theme/archive/${pkgver}.tar.gz" +source=("https://github.com/vinceliuice/Qogir-theme/archive/${pkgver}.tar.gz") depends=("gtk2-engines-murrine" "gtk2-engines-pixbuf") makedepends=("libsass1") -breaks=("${pkgname}" "${pkgname}-git" "${pkgname}-deb" "${pkgname}-app") -hash="211d2d7e027fe595e7512ca346b63a9314ee59e3ddee875bc1c06aeef9e5b9bb" +breaks=("${gives}" "${gives}-git" "${gives}-deb" "${gives}-app") +sha256sums=("211d2d7e027fe595e7512ca346b63a9314ee59e3ddee875bc1c06aeef9e5b9bb") repology=("project: qogir-theme" "repo: nix_unstable") # To specify flags for theme installation you have two options @@ -25,6 +25,7 @@ repology=("project: qogir-theme" "repo: nix_unstable") _INSTALL_OPTS= build() { + cd "${_archive}" # Parse install flags from /etc/qogir-gtk-theme/options.txt, if it exists and _INSTALL_OPTS has not been set if [[ -f "/etc/qogir-gtk-theme/options.txt" && -z ${_INSTALL_OPTS} ]]; then _INSTALL_OPTS="$(/usr/bin/grep --extended-regexp --max-count=1 --line-regexp --invert-match '^\s*$|#.+' /etc/qogir-gtk-theme/options.txt 2> /dev/null)" @@ -39,9 +40,10 @@ build() { } package() { - sudo install -dm755 "${pkgdir}/usr/share/themes" + cd "${_archive}" + install -dm755 "${pkgdir}/usr/share/themes" # HACK: Disabling SC2086 check, as this is the desired behavior # shellcheck disable=SC2086 - sudo ./install.sh ${_INSTALL_OPTS} --dest "${pkgdir}/usr/share/themes" + ./install.sh ${_INSTALL_OPTS} --dest "${pkgdir}/usr/share/themes" } # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/qogir-icon-theme-bin/qogir-icon-theme-bin.pacscript b/packages/qogir-icon-theme-bin/qogir-icon-theme-bin.pacscript index f120d7b962..cd7ddacdf8 100644 --- a/packages/qogir-icon-theme-bin/qogir-icon-theme-bin.pacscript +++ b/packages/qogir-icon-theme-bin/qogir-icon-theme-bin.pacscript @@ -4,32 +4,33 @@ # \ // \/ -- \ # \__/\ / \_______ \______ / # \/ \/ \/ -maintainer="wizard-28 " +maintainer=("wizard-28 ") -name="qogir-icon-theme-bin" -pkgname="qogir-icon-theme" +pkgname="qogir-icon-theme-bin" +gives="qogir-icon-theme" pkgver="2022-11-05" pkgdesc="A colorful design icon theme for linux desktops" makedepends=("gtk-update-icon-cache") -url="https://github.com/vinceliuice/Qogir-icon-theme/archive/${pkgver}.tar.gz" -breaks=("${pkgname}" "${pkgname}-git" "${pkgname}-deb" "${pkgname}-app") -hash="7747f8a139e01a075a94b832d95a53a98b98784b06e866dd8259bb0a38404480" +source=("https://github.com/vinceliuice/Qogir-icon-theme/archive/${pkgver}.tar.gz") +breaks=("${gives}" "${gives}-git" "${gives}-deb" "${gives}-app") +sha256sums=("7747f8a139e01a075a94b832d95a53a98b98784b06e866dd8259bb0a38404480") package() { + cd "${_archive}" # Install license - sudo install -Dm644 "COPYING" -t "${pkgdir}/usr/share/licenses/${pkgname}" + install -Dm644 "COPYING" -t "${pkgdir}/usr/share/licenses/${gives}" # Install doc - sudo install -Dm644 "README.md" -t "${pkgdir}/usr/share/doc/${pkgname}" + install -Dm644 "README.md" -t "${pkgdir}/usr/share/doc/${gives}" # Run installation script - sudo install -d "${pkgdir}/usr/share/icons" - sudo ./install.sh -d "${pkgdir}/usr/share/icons" + install -d "${pkgdir}/usr/share/icons" + ./install.sh -d "${pkgdir}/usr/share/icons" } post_remove() { # Remove empty directories - sudo rm -rf "/usr/share/licenses/${pkgname}" - sudo rm -rf "/usr/share/doc/${pkgname}" + sudo rm -rf "/usr/share/licenses/${gives}" + sudo rm -rf "/usr/share/doc/${gives}" } # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/qt6pas/qt6pas.pacscript b/packages/qt6pas/qt6pas.pacscript index ac6c319952..d7a34a2308 100644 --- a/packages/qt6pas/qt6pas.pacscript +++ b/packages/qt6pas/qt6pas.pacscript @@ -1,23 +1,23 @@ -name="qt6pas" +pkgname="qt6pas" gives="libqt6pas-dev" pkgver="6.2.7" _lazarus_tag="3_0" _lazarus_version="3.0.0" -url="https://gitlab.com/freepascal.org/lazarus/lazarus/-/archive/lazarus_${_lazarus_tag}/lazarus-lazarus_${_lazarus_tag}.tar.bz2" +source=("https://gitlab.com/freepascal.org/lazarus/lazarus/-/archive/lazarus_${_lazarus_tag}/lazarus-lazarus_${_lazarus_tag}.tar.bz2") arch=("amd64") makedepends=('qt6-base-dev' 'qmake6' 'libgl-dev') provides=('libqt6pas1') -hash="053ebb9d703162617a6c5bbd26e78aacb45e439d9a9964aa3197eaada2aa8c2e" +sha256sums=("053ebb9d703162617a6c5bbd26e78aacb45e439d9a9964aa3197eaada2aa8c2e") pkgdesc="Free Pascal Qt6 binding library updated by lazarus IDE" -maintainer="Xdavius " +maintainer=("Xdavius ") build() { - cd "${srcdir}"/lcl/interfaces/qt6/cbindings + cd "${srcdir}" qmake6 make -j"${NCPU}" } package() { - cd "${srcdir}"/lcl/interfaces/qt6/cbindings - sudo make INSTALL_ROOT="${pkgdir}" install + cd "${srcdir}" + make INSTALL_ROOT="${pkgdir}" install } diff --git a/packages/qtile-extras-git/qtile-extras-git.pacscript b/packages/qtile-extras-git/qtile-extras-git.pacscript index ab3678172e..305b90ce85 100644 --- a/packages/qtile-extras-git/qtile-extras-git.pacscript +++ b/packages/qtile-extras-git/qtile-extras-git.pacscript @@ -1,14 +1,11 @@ -name="qtile-extras-git" +pkgname="qtile-extras-git" gives="qtile-extras" -url="https://github.com/elParaguayo/${gives}.git" +source=("https://github.com/elParaguayo/${gives}.git") pkgver="0.23.1" pkgdesc="A list of mods developed by elParaguayo for Qtile" pacdeps=("qtile-git") -maintainer="Ruturajn " +maintainer=("Ruturajn ") makedepends=("python3-venv" "python3-pip") -pkgver() { - git ls-remote "${url}" main | cut -f1 | cut -c1-8 -} release="$(lsb_release -cs)" modern=("devel" "sid" "lunar" "bookworm" "mantic" "noble" "trixie" "testing" "unstable") @@ -20,13 +17,15 @@ else fi build() { + cd "${_archive}" pip3 install build --user "${pyhack[@]}" python3 -m build - sudo mv dist/*.whl . + mv dist/*.whl . } package() { - sudo pip3 install qtile_extras*.whl "${pyhack[@]}" + cd "${_archive}" + pip3 install qtile_extras*.whl "${pyhack[@]}" } diff --git a/packages/qtile-git/qtile-git.pacscript b/packages/qtile-git/qtile-git.pacscript index 99742d5181..27fa5abd0b 100644 --- a/packages/qtile-git/qtile-git.pacscript +++ b/packages/qtile-git/qtile-git.pacscript @@ -1,14 +1,11 @@ -name="qtile-git" -pkgname="qtile" -url="https://github.com/qtile/qtile.git" +pkgname="qtile-git" +gives="qtile" +source=("https://github.com/qtile/qtile.git") pkgver="0.22.1" license="MIT" depends=("python3-cffi" "xserver-xorg" "python3-xcffib" "python3-cairocffi" "libpangocairo-1.0-0" "python3-pip" "python3-dbus" "libpulse-dev" "pavucontrol" "python3-testresources") pkgdesc="A full-featured, hackable tiling window manager written and configured in Python" -maintainer="Ruturajn " -pkgver() { - git ls-remote "${url}" master | cut -f1 | cut -c1-8 -} +maintainer=("Ruturajn ") release="$(lsb_release -cs)" modern=("devel" "sid" "lunar" "bookworm" "mantic" "noble" "trixie" "testing" "unstable") @@ -20,12 +17,13 @@ else fi package() { - sudo pip3 install --upgrade --no-cache --force-reinstall cairocffi cffi xcffib "${pyhack[@]}" - sudo pip3 install dbus-next setuptools-scm setuptools "${pyhack[@]}" - sudo mkdir -p "${pkgdir}"/usr/share/xsessions - sudo chown root:root ./ - sudo python3 setup.py install --root="${pkgdir}" - sudo cp ./resources/qtile.desktop "${pkgdir}"/usr/share/xsessions/qtile.desktop + cd "${_archive}" + pip3 install --upgrade --no-cache --force-reinstall cairocffi cffi xcffib "${pyhack[@]}" + pip3 install dbus-next setuptools-scm setuptools "${pyhack[@]}" + mkdir -p "${pkgdir}"/usr/share/xsessions + chown root:root ./ + python3 setup.py install --root="${pkgdir}" + cp ./resources/qtile.desktop "${pkgdir}"/usr/share/xsessions/qtile.desktop } post_remove() { diff --git a/packages/quarto-deb/quarto-deb.pacscript b/packages/quarto-deb/quarto-deb.pacscript index e3be8d0762..0373a89756 100644 --- a/packages/quarto-deb/quarto-deb.pacscript +++ b/packages/quarto-deb/quarto-deb.pacscript @@ -1,8 +1,8 @@ -name="quarto-deb" +pkgname="quarto-deb" gives="quarto" pkgver="1.3.450" -url="https://github.com/quarto-dev/quarto-cli/releases/download/v${pkgver}/quarto-${pkgver}-linux-amd64.deb" +source=("https://github.com/quarto-dev/quarto-cli/releases/download/v${pkgver}/quarto-${pkgver}-linux-amd64.deb") pkgdesc="Academic, scientific, and technical publishing system built on Pandoc" -hash="667ea45f963949f8c13b75c63dd30734b7f5f0ec49fd5991c5824a753066fcdd" +sha256sums=("667ea45f963949f8c13b75c63dd30734b7f5f0ec49fd5991c5824a753066fcdd") arch=('amd64') repology=("project: quarto") diff --git a/packages/quintom-cursor-theme-git/quintom-cursor-theme-git.pacscript b/packages/quintom-cursor-theme-git/quintom-cursor-theme-git.pacscript index 291c2aa267..10cc01385b 100644 --- a/packages/quintom-cursor-theme-git/quintom-cursor-theme-git.pacscript +++ b/packages/quintom-cursor-theme-git/quintom-cursor-theme-git.pacscript @@ -1,16 +1,14 @@ -name="quintom-cursor-theme-git" +pkgname="quintom-cursor-theme-git" gives="quintom-cursor-theme" -url="https://gitlab.com/Burning_Cube/quintom-cursor-theme.git" +source=("https://gitlab.com/Burning_Cube/quintom-cursor-theme.git") pkgver="0.0.1" pkgrel="2" pkgdesc="A cursor theme designed to look decent" -maintainer="Elsie19 " -pkgver() { - git ls-remote "${url}" master | cut -f1 | cut -c1-8 -} +maintainer=("Elsie19 ") package() { - sudo mkdir -p "${pkgdir}/usr/share/icons" - sudo cp -r 'Quintom_Ink Cursors/Quintom_Ink' "${pkgdir}/usr/share/icons" - sudo cp -r 'Quintom_Snow Cursors/Quintom_Snow' "${pkgdir}/usr/share/icons" + cd "${_archive}" + mkdir -p "${pkgdir}/usr/share/icons" + cp -r 'Quintom_Ink Cursors/Quintom_Ink' "${pkgdir}/usr/share/icons" + cp -r 'Quintom_Snow Cursors/Quintom_Snow' "${pkgdir}/usr/share/icons" } diff --git a/packages/raspi-config-deb/raspi-config-deb.pacscript b/packages/raspi-config-deb/raspi-config-deb.pacscript index 4b3eb8acd1..637894f813 100644 --- a/packages/raspi-config-deb/raspi-config-deb.pacscript +++ b/packages/raspi-config-deb/raspi-config-deb.pacscript @@ -1,10 +1,10 @@ -name="raspi-config-deb" +pkgname="raspi-config-deb" gives="raspi-config" -replace=("${gives}") +replaces=("${gives}") pkgver="20231216" -url="https://archive.raspberrypi.org/debian/pool/main/r/${gives}/${gives}_${pkgver}_all.deb" +source=("https://archive.raspberrypi.org/debian/pool/main/r/${gives}/${gives}_${pkgver}_all.deb") pkgdesc="Raspberry Pi configuration tool" -hash="8e328e0886b58023b03b8cf799a77180650c318df075605684103735c90a747f" -maintainer="Oren Klopfer " +sha256sums=("8e328e0886b58023b03b8cf799a77180650c318df075605684103735c90a747f") +maintainer=("Oren Klopfer ") arch=("any") repology=("project: ${gives}") diff --git a/packages/realvnc-vnc-viewer-deb/realvnc-vnc-viewer-deb.pacscript b/packages/realvnc-vnc-viewer-deb/realvnc-vnc-viewer-deb.pacscript index 83e9a94f31..da91427c68 100644 --- a/packages/realvnc-vnc-viewer-deb/realvnc-vnc-viewer-deb.pacscript +++ b/packages/realvnc-vnc-viewer-deb/realvnc-vnc-viewer-deb.pacscript @@ -1,9 +1,9 @@ -name="realvnc-vnc-viewer-deb" +pkgname="realvnc-vnc-viewer-deb" gives="realvnc-vnc-viewer" breaks=("${gives}" "${gives}-bin" "${gives}-app") pkgver="7.6.0" pkgdesc="VNC Viewer, from RealVNC, is remote access software that enables you to securely connect to and control a remote computer" -hash="394ad2c5a87f7dd7a492938b64403ff2efc94a446d505ca506dca04fdb572f17" -maintainer="ObsidianPresidium " -url="https://downloads.realvnc.com/download/file/viewer.files/VNC-Viewer-${pkgver}-Linux-x64.deb" +sha256sums=("394ad2c5a87f7dd7a492938b64403ff2efc94a446d505ca506dca04fdb572f17") +maintainer=("ObsidianPresidium ") +source=("https://downloads.realvnc.com/download/file/viewer.files/VNC-Viewer-${pkgver}-Linux-x64.deb") repology=("project: realvnc-vnc-viewer") diff --git a/packages/renegate/renegate.pacscript b/packages/renegate/renegate.pacscript index b593a62cc0..8072879942 100644 --- a/packages/renegate/renegate.pacscript +++ b/packages/renegate/renegate.pacscript @@ -1,16 +1,17 @@ -name="renegate" +pkgname="renegate" _name="Renegate" pkgver="1.2" -url="https://www.auburnsounds.com/downloads/${_name}-FREE-${pkgver}.zip" +source=("https://www.auburnsounds.com/downloads/${_name}-FREE-${pkgver}.zip") pkgdesc="Renegate is simply just a full-band Gate plug-in. It has an always smooth, natural sound, and is quick to operate." -hash="d7119fddfa44751a5c346e345de7c494a0ea11fcbae2aba65f1b66a8f414ecef" -maintainer="echometerain " +sha256sums=("d7119fddfa44751a5c346e345de7c494a0ea11fcbae2aba65f1b66a8f414ecef") +maintainer=("echometerain ") package() { - sudo mkdir -p "${pkgdir}/usr/lib/lv2" - sudo mv "./Linux/Linux-64b-LV2-FREE" "${pkgdir}/usr/lib/lv2/Auburn Sounds ${_name}.lv2" - sudo mkdir -p "${pkgdir}/usr/lib/vst" - sudo mv "./Linux/Linux-64b-VST2-FREE" "${pkgdir}/usr/lib/vst/Auburn Sounds ${_name}.VST2" - sudo mkdir -p "${pkgdir}/usr/lib/vst3" - sudo mv "./Linux/Linux-64b-VST3-FREE/Auburn Sounds ${_name}.vst3" "${pkgdir}/usr/lib/vst3/Auburn Sounds ${_name}.vst3" + cd "${_archive}" + mkdir -p "${pkgdir}/usr/lib/lv2" + mv "./Linux/Linux-64b-LV2-FREE" "${pkgdir}/usr/lib/lv2/Auburn Sounds ${_name}.lv2" + mkdir -p "${pkgdir}/usr/lib/vst" + mv "./Linux/Linux-64b-VST2-FREE" "${pkgdir}/usr/lib/vst/Auburn Sounds ${_name}.VST2" + mkdir -p "${pkgdir}/usr/lib/vst3" + mv "./Linux/Linux-64b-VST3-FREE/Auburn Sounds ${_name}.vst3" "${pkgdir}/usr/lib/vst3/Auburn Sounds ${_name}.vst3" } diff --git a/packages/reshade-shaders-git/reshade-shaders-git.pacscript b/packages/reshade-shaders-git/reshade-shaders-git.pacscript index 5d87530b49..f42ed79d19 100644 --- a/packages/reshade-shaders-git/reshade-shaders-git.pacscript +++ b/packages/reshade-shaders-git/reshade-shaders-git.pacscript @@ -4,24 +4,21 @@ # \ // \/ -- \ # \__/\ / \_______ \______ / # \/ \/ \/ -maintainer="wizard-28 " +maintainer=("wizard-28 ") -name="reshade-shaders-git" pkgname="reshade-shaders-git" +gives="reshade-shaders-git" pkgdesc="A collection of post-processing shaders written in the ReShade FX shader language, to be used by vkBasalt" -url="https://github.com/crosire/reshade-shaders.git" +source=("https://github.com/crosire/reshade-shaders.git") pkgver="0.0.1" -gives="${pkgname}" -breaks=("${pkgname}" "${pkgname}-bin" "${pkgname}-deb" "${pkgname}-app") -pkgver() { - git ls-remote "${url}" slim | cut -f1 | cut -c1-8 -} +breaks=("${gives}" "${gives}-bin" "${gives}-deb" "${gives}-app") package() { - sudo install -dm 755 "${pkgdir}/opt/reshade/shaders" - sudo install -Dm 644 Shaders/*.* "${pkgdir}/opt/reshade/shaders/" - sudo install -dm 755 "${pkgdir}/opt/reshade/textures" - sudo install -Dm 644 Textures/*.* "${pkgdir}/opt/reshade/textures/" + cd "${_archive}" + install -dm 755 "${pkgdir}/opt/reshade/shaders" + install -Dm 644 Shaders/*.* "${pkgdir}/opt/reshade/shaders/" + install -dm 755 "${pkgdir}/opt/reshade/textures" + install -Dm 644 Textures/*.* "${pkgdir}/opt/reshade/textures/" } # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/rhino-core/rhino-core.pacscript b/packages/rhino-core/rhino-core.pacscript index 8bafe9bf3a..3fe1924db2 100644 --- a/packages/rhino-core/rhino-core.pacscript +++ b/packages/rhino-core/rhino-core.pacscript @@ -1,11 +1,11 @@ -name="rhino-core" -url="https://raw.githubusercontent.com/oklopfer/debs/master/logos/rhino-text.png" +pkgname="rhino-core" +source=("https://raw.githubusercontent.com/oklopfer/debs/master/logos/rhino-text.png") pacdeps=("unicorn-desktop-git" "rhino-kvantum-theme-git" "rhino-plymouth-theme-git" "rhino-pkg-git" "rhino-neofetch-git" "rhino-system-git" "pacstall-qa-git") depends=("printer-driver-all-enforce") pkgdesc="Transitional package to provide all core Rhino Linux software" -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") compatible=("ubuntu:devel" "ubuntu:noble") -replace=("rhino-pine-core" "rhino-server-core" "rhino-ubxi-core") +replaces=("rhino-pine-core" "rhino-server-core" "rhino-ubxi-core") priority="essential" pkgver="2023.4" pkgrel="9" @@ -13,16 +13,17 @@ style="(mainline)" branch="devel" pre_install() { - sudo dpkg-divert --quiet --package "${name}" --divert /usr/lib/ubuntu-release --rename /usr/lib/os-release - sudo dpkg-divert --quiet --package "${name}" --divert /usr/share/pixmaps/ubuntu-logo-text-overwritten.png --rename /usr/share/pixmaps/ubuntu-logo-text.png - sudo dpkg-divert --quiet --package "${name}" --divert /usr/share/pixmaps/ubuntu-logo-text-dark-overwritten.png --rename /usr/share/pixmaps/ubuntu-logo-text-dark.png + sudo dpkg-divert --quiet --package "${pkgname}" --divert /usr/lib/ubuntu-release --rename /usr/lib/os-release + sudo dpkg-divert --quiet --package "${pkgname}" --divert /usr/share/pixmaps/ubuntu-logo-text-overwritten.png --rename /usr/share/pixmaps/ubuntu-logo-text.png + sudo dpkg-divert --quiet --package "${pkgname}" --divert /usr/share/pixmaps/ubuntu-logo-text-dark-overwritten.png --rename /usr/share/pixmaps/ubuntu-logo-text-dark.png } package() { - sudo mkdir -p "${pkgdir}/usr/lib" - sudo mkdir -p "${pkgdir}/usr/share/pixmaps" + cd "${_archive}" + mkdir -p "${pkgdir}/usr/lib" + mkdir -p "${pkgdir}/usr/share/pixmaps" for i in ubuntu-logo-text.png ubuntu-logo-text-dark.png; do - sudo cp rhino-text.png "${pkgdir}/usr/share/pixmaps/${i}" + cp rhino-text.png "${pkgdir}/usr/share/pixmaps/${i}" done echo "PRETTY_NAME=\"Rhino Linux ${pkgver} ${style}\" NAME=\"Rhino Linux\" @@ -35,13 +36,13 @@ HOME_URL=\"https://rhinolinux.org/\" SUPPORT_URL=\"https://github.com/rhino-linux\" BUG_REPORT_URL=\"https://github.com/rhino-linux\" PRIVACY_POLICY_URL=\"https://www.ubuntu.com/legal/terms-and-policies/privacy-policy\" -UBUNTU_CODENAME=\"${branch}\"" | sudo tee "${pkgdir}/usr/lib/os-release" > /dev/null +UBUNTU_CODENAME=\"${branch}\"" | tee "${pkgdir}/usr/lib/os-release" > /dev/null } post_remove() { - if ! [[ -d "${STOWDIR}/${name}" ]]; then - sudo dpkg-divert --quiet --package "${name}" --remove --rename /usr/lib/os-release - sudo dpkg-divert --quiet --package "${name}" --remove --rename /usr/share/pixmaps/ubuntu-logo-text.png - sudo dpkg-divert --quiet --package "${name}" --remove --rename /usr/share/pixmaps/ubuntu-logo-text-dark.png + if ! [[ -d "${STAGEDIR}/${pkgname}" ]]; then + sudo dpkg-divert --quiet --package "${pkgname}" --remove --rename /usr/lib/os-release + sudo dpkg-divert --quiet --package "${pkgname}" --remove --rename /usr/share/pixmaps/ubuntu-logo-text.png + sudo dpkg-divert --quiet --package "${pkgname}" --remove --rename /usr/share/pixmaps/ubuntu-logo-text-dark.png fi } diff --git a/packages/rhino-docker-builder-git/rhino-docker-builder-git.pacscript b/packages/rhino-docker-builder-git/rhino-docker-builder-git.pacscript index a8266f46a7..7214a1debb 100644 --- a/packages/rhino-docker-builder-git/rhino-docker-builder-git.pacscript +++ b/packages/rhino-docker-builder-git/rhino-docker-builder-git.pacscript @@ -1,15 +1,13 @@ -name="rhino-docker-builder-git" +pkgname="rhino-docker-builder-git" gives="rhino-docker-builder" -url="https://github.com/rhino-linux/docker.git" +source=("https://github.com/rhino-linux/docker.git") pkgver="0.1.2" pkgdesc="A script to easily build, pull, and test Rhino Linux Docker images" -maintainer="Oren Klopfer " -pkgver() { - git ls-remote "${url}" master | cut -f1 | cut -c1-8 -} +maintainer=("Oren Klopfer ") package() { - sudo mkdir -p "${pkgdir}/usr/local/bin" - sudo install -Dm0755 ./"${gives}" "${pkgdir}/usr/local/bin" - sudo ln -sf "/usr/local/bin/${gives}" "${pkgdir}/usr/local/bin/rdb" + cd "${_archive}" + mkdir -p "${pkgdir}/usr/local/bin" + install -Dm0755 ./"${gives}" "${pkgdir}/usr/local/bin" + ln -sf "/usr/local/bin/${gives}" "${pkgdir}/usr/local/bin/rdb" } diff --git a/packages/rhino-kvantum-theme-git/rhino-kvantum-theme-git.pacscript b/packages/rhino-kvantum-theme-git/rhino-kvantum-theme-git.pacscript index 4478194661..3a89300a63 100644 --- a/packages/rhino-kvantum-theme-git/rhino-kvantum-theme-git.pacscript +++ b/packages/rhino-kvantum-theme-git/rhino-kvantum-theme-git.pacscript @@ -1,15 +1,13 @@ -name="rhino-kvantum-theme-git" +pkgname="rhino-kvantum-theme-git" gives="rhino-kvantum-theme" depends=("qt5-style-kvantum") -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") pkgdesc="Rhino Linux Kvantum theme" -url="https://github.com/rhino-linux/KvRhino.git" +source=("https://github.com/rhino-linux/KvRhino.git") pkgver="0.0.1" -pkgver() { - git ls-remote "${url}" main | cut -f1 | cut -c1-8 -} package() { - sudo mkdir -p "${pkgdir}/etc/skel/.config/Kvantum" - sudo mv KvRhino{,Dark} "${pkgdir}/etc/skel/.config/Kvantum" + cd "${_archive}" + mkdir -p "${pkgdir}/etc/skel/.config/Kvantum" + mv KvRhino{,Dark} "${pkgdir}/etc/skel/.config/Kvantum" } diff --git a/packages/rhino-lightdm-theme-git/rhino-lightdm-theme-git.pacscript b/packages/rhino-lightdm-theme-git/rhino-lightdm-theme-git.pacscript index 728d70ce97..601483947b 100644 --- a/packages/rhino-lightdm-theme-git/rhino-lightdm-theme-git.pacscript +++ b/packages/rhino-lightdm-theme-git/rhino-lightdm-theme-git.pacscript @@ -1,14 +1,12 @@ -name="rhino-lightdm-theme-git" +pkgname="rhino-lightdm-theme-git" gives="rhino-lightdm-theme" -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") pkgdesc="Rhino Linux Lightdm theme" -url="https://github.com/rhino-linux/lightdm.git" +source=("https://github.com/rhino-linux/lightdm.git") pkgver="0.0.1" -pkgver() { - git ls-remote "${url}" main | cut -f1 | cut -c1-8 -} package() { - sudo install -Dm644 rhino-blur.png -t "${pkgdir}/usr/share/pixmaps/" - sudo install -Dm644 lightdm-gtk-greeter.conf -t "${pkgdir}/etc/lightdm/" + cd "${_archive}" + install -Dm644 rhino-blur.png -t "${pkgdir}/usr/share/pixmaps/" + install -Dm644 lightdm-gtk-greeter.conf -t "${pkgdir}/etc/lightdm/" } diff --git a/packages/rhino-neofetch-git/rhino-neofetch-git.pacscript b/packages/rhino-neofetch-git/rhino-neofetch-git.pacscript index 9044790fad..69e4da6d02 100644 --- a/packages/rhino-neofetch-git/rhino-neofetch-git.pacscript +++ b/packages/rhino-neofetch-git/rhino-neofetch-git.pacscript @@ -1,17 +1,15 @@ -name="rhino-neofetch-git" -url="https://github.com/rhino-linux/neofetch.git" +pkgname="rhino-neofetch-git" +source=("https://github.com/rhino-linux/neofetch.git") pkgver="0.0.1" gives="rhino-neofetch" provides=('neofetch') -replace=("neofetch") +replaces=("neofetch") breaks=("neofetch") mask=("neofetch") pkgdesc="neofetch branded for Rhino Linux" -maintainer="Oren Klopfer " -pkgver() { - git ls-remote "${url}" master | cut -f1 | cut -c1-8 -} +maintainer=("Oren Klopfer ") package() { - sudo DESTDIR="${pkgdir}" make install + cd "${_archive}" + DESTDIR="${pkgdir}" make install } diff --git a/packages/rhino-pine-core/rhino-pine-core.pacscript b/packages/rhino-pine-core/rhino-pine-core.pacscript index 3bf7c6c643..0704389be1 100644 --- a/packages/rhino-pine-core/rhino-pine-core.pacscript +++ b/packages/rhino-pine-core/rhino-pine-core.pacscript @@ -1,14 +1,14 @@ -name="rhino-pine-core" -url="https://raw.githubusercontent.com/oklopfer/debs/master/logos/rhino-text.png" +pkgname="rhino-pine-core" +source=("https://raw.githubusercontent.com/oklopfer/debs/master/logos/rhino-text.png") pacdeps=("unicorn-mobile-git" "rhino-kvantum-theme-git" "rhino-plymouth-theme-git" "rhino-pkg-git" "rhino-neofetch-git" "rhino-system-git" "u-boot-mobian-deb" "mobile-usb-networking-deb" "pacstall-qa-git") depends=("initramfs-tools" "printer-driver-all-enforce") if [[ -f /usr/bin/enable-modem ]]; then depends+=("eg25-manager" "modemmanager" "gnome-calls" "gnome-contacts" "chatty" "callaudiod" "feedbackd" "purple-mm-sms" "ofono" "ofono-scripts" "gpsd") fi pkgdesc="Transitional package to provide all core Rhino Linux Mobile software" -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") compatible=("ubuntu:devel" "ubuntu:noble") -replace=("rhino-core" "rhino-server-core" "rhino-ubxi-core") +replaces=("rhino-core" "rhino-server-core" "rhino-ubxi-core") priority="essential" pkgver="2023.4" pkgrel="9" @@ -16,16 +16,17 @@ style="(mobile)" branch="devel" pre_install() { - sudo dpkg-divert --quiet --package "${name}" --divert /usr/lib/ubuntu-release --rename /usr/lib/os-release - sudo dpkg-divert --quiet --package "${name}" --divert /usr/share/pixmaps/ubuntu-logo-text-overwritten.png --rename /usr/share/pixmaps/ubuntu-logo-text.png - sudo dpkg-divert --quiet --package "${name}" --divert /usr/share/pixmaps/ubuntu-logo-text-dark-overwritten.png --rename /usr/share/pixmaps/ubuntu-logo-text-dark.png + sudo dpkg-divert --quiet --package "${pkgname}" --divert /usr/lib/ubuntu-release --rename /usr/lib/os-release + sudo dpkg-divert --quiet --package "${pkgname}" --divert /usr/share/pixmaps/ubuntu-logo-text-overwritten.png --rename /usr/share/pixmaps/ubuntu-logo-text.png + sudo dpkg-divert --quiet --package "${pkgname}" --divert /usr/share/pixmaps/ubuntu-logo-text-dark-overwritten.png --rename /usr/share/pixmaps/ubuntu-logo-text-dark.png } package() { - sudo mkdir -p "${pkgdir}/usr/lib" - sudo mkdir -p "${pkgdir}/usr/share/pixmaps" + cd "${_archive}" + mkdir -p "${pkgdir}/usr/lib" + mkdir -p "${pkgdir}/usr/share/pixmaps" for i in ubuntu-logo-text.png ubuntu-logo-text-dark.png; do - sudo cp rhino-text.png "${pkgdir}/usr/share/pixmaps/${i}" + cp rhino-text.png "${pkgdir}/usr/share/pixmaps/${i}" done echo "PRETTY_NAME=\"Rhino Linux ${pkgver} ${style}\" NAME=\"Rhino Linux\" @@ -38,7 +39,7 @@ HOME_URL=\"https://rhinolinux.org/\" SUPPORT_URL=\"https://github.com/rhino-linux\" BUG_REPORT_URL=\"https://github.com/rhino-linux\" PRIVACY_POLICY_URL=\"https://www.ubuntu.com/legal/terms-and-policies/privacy-policy\" -UBUNTU_CODENAME=\"${branch}\"" | sudo tee "${pkgdir}/usr/lib/os-release" > /dev/null +UBUNTU_CODENAME=\"${branch}\"" | tee "${pkgdir}/usr/lib/os-release" > /dev/null } post_install() { @@ -52,9 +53,9 @@ GPSD_OPTIONS="-D3"' | sudo tee /etc/default/gpsd } post_remove() { - if ! [[ -d "${STOWDIR}/${name}" ]]; then - sudo dpkg-divert --quiet --package "${name}" --remove --rename /usr/lib/os-release - sudo dpkg-divert --quiet --package "${name}" --remove --rename /usr/share/pixmaps/ubuntu-logo-text.png - sudo dpkg-divert --quiet --package "${name}" --remove --rename /usr/share/pixmaps/ubuntu-logo-text-dark.png + if ! [[ -d "${STAGEDIR}/${pkgname}" ]]; then + sudo dpkg-divert --quiet --package "${pkgname}" --remove --rename /usr/lib/os-release + sudo dpkg-divert --quiet --package "${pkgname}" --remove --rename /usr/share/pixmaps/ubuntu-logo-text.png + sudo dpkg-divert --quiet --package "${pkgname}" --remove --rename /usr/share/pixmaps/ubuntu-logo-text-dark.png fi } diff --git a/packages/rhino-pkg-git/rhino-pkg-git.pacscript b/packages/rhino-pkg-git/rhino-pkg-git.pacscript index 6f5aefa1bc..baf252aa44 100644 --- a/packages/rhino-pkg-git/rhino-pkg-git.pacscript +++ b/packages/rhino-pkg-git/rhino-pkg-git.pacscript @@ -1,17 +1,15 @@ -name="rhino-pkg-git" -url="https://github.com/rhino-linux/rhino-pkg.git" +pkgname="rhino-pkg-git" +source=("https://github.com/rhino-linux/rhino-pkg.git") pkgver="0.1.2" gives="rhino-pkg" makedepends=("make" "gettext") depends=("gettext") pkgdesc="Rhino-pkg wrapper script" -maintainer="Oren Klopfer " -pkgver() { - git ls-remote "${url}" master | cut -f1 | cut -c1-8 -} +maintainer=("Oren Klopfer ") package() { - sudo DESTDIR="${pkgdir}" make install - sudo mkdir -p "${pkgdir}/usr/bin" - sudo ln -sf "/usr/bin/rhino-pkg" "${pkgdir}/usr/bin/rpk" + cd "${_archive}" + DESTDIR="${pkgdir}" make install + mkdir -p "${pkgdir}/usr/bin" + ln -sf "/usr/bin/rhino-pkg" "${pkgdir}/usr/bin/rpk" } diff --git a/packages/rhino-plymouth-theme-git/rhino-plymouth-theme-git.pacscript b/packages/rhino-plymouth-theme-git/rhino-plymouth-theme-git.pacscript index ff1264bcd5..d421ae2aaf 100644 --- a/packages/rhino-plymouth-theme-git/rhino-plymouth-theme-git.pacscript +++ b/packages/rhino-plymouth-theme-git/rhino-plymouth-theme-git.pacscript @@ -1,13 +1,11 @@ -name="rhino-plymouth-theme-git" +pkgname="rhino-plymouth-theme-git" gives="rhino-plymouth-theme" -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") pkgdesc="Rhino Linux Plymouth theme" -url="https://github.com/rhino-linux/plymouth.git" +source=("https://github.com/rhino-linux/plymouth.git") pkgver="0.0.1" -pkgver() { - git ls-remote "${url}" main | cut -f1 | cut -c1-8 -} package() { - sudo install -Dm644 ./* -t "${pkgdir}/usr/share/plymouth/themes/rhino-spinner/" + cd "${_archive}" + install -Dm644 ./* -t "${pkgdir}/usr/share/plymouth/themes/rhino-spinner/" } diff --git a/packages/rhino-server-core/rhino-server-core.pacscript b/packages/rhino-server-core/rhino-server-core.pacscript index 7944553a2f..1286824f2d 100644 --- a/packages/rhino-server-core/rhino-server-core.pacscript +++ b/packages/rhino-server-core/rhino-server-core.pacscript @@ -1,10 +1,10 @@ -name="rhino-server-core" -url="https://raw.githubusercontent.com/oklopfer/debs/master/logos/rhino-text.png" +pkgname="rhino-server-core" +source=("https://raw.githubusercontent.com/oklopfer/debs/master/logos/rhino-text.png") pacdeps=("rhino-pkg-git" "rhino-neofetch-git" "pacstall-qa-git") pkgdesc="Transitional package to provide minimal core Rhino Linux software" -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") compatible=("ubuntu:devel" "ubuntu:noble") -replace=("rhino-core" "rhino-pine-core" "rhino-ubxi-core") +replaces=("rhino-core" "rhino-pine-core" "rhino-ubxi-core") priority="essential" pkgver="2023.4" pkgrel="6" @@ -12,16 +12,17 @@ style="(server)" branch="devel" pre_install() { - sudo dpkg-divert --quiet --package "${name}" --divert /usr/lib/ubuntu-release --rename /usr/lib/os-release - sudo dpkg-divert --quiet --package "${name}" --divert /usr/share/pixmaps/ubuntu-logo-text-overwritten.png --rename /usr/share/pixmaps/ubuntu-logo-text.png - sudo dpkg-divert --quiet --package "${name}" --divert /usr/share/pixmaps/ubuntu-logo-text-dark-overwritten.png --rename /usr/share/pixmaps/ubuntu-logo-text-dark.png + sudo dpkg-divert --quiet --package "${pkgname}" --divert /usr/lib/ubuntu-release --rename /usr/lib/os-release + sudo dpkg-divert --quiet --package "${pkgname}" --divert /usr/share/pixmaps/ubuntu-logo-text-overwritten.png --rename /usr/share/pixmaps/ubuntu-logo-text.png + sudo dpkg-divert --quiet --package "${pkgname}" --divert /usr/share/pixmaps/ubuntu-logo-text-dark-overwritten.png --rename /usr/share/pixmaps/ubuntu-logo-text-dark.png } package() { - sudo mkdir -p "${pkgdir}/usr/lib" - sudo mkdir -p "${pkgdir}/usr/share/pixmaps" + cd "${_archive}" + mkdir -p "${pkgdir}/usr/lib" + mkdir -p "${pkgdir}/usr/share/pixmaps" for i in ubuntu-logo-text.png ubuntu-logo-text-dark.png; do - sudo cp rhino-text.png "${pkgdir}/usr/share/pixmaps/${i}" + cp rhino-text.png "${pkgdir}/usr/share/pixmaps/${i}" done echo "PRETTY_NAME=\"Rhino Linux ${pkgver} ${style}\" NAME=\"Rhino Linux\" @@ -34,13 +35,13 @@ HOME_URL=\"https://rhinolinux.org/\" SUPPORT_URL=\"https://github.com/rhino-linux\" BUG_REPORT_URL=\"https://github.com/rhino-linux\" PRIVACY_POLICY_URL=\"https://www.ubuntu.com/legal/terms-and-policies/privacy-policy\" -UBUNTU_CODENAME=\"${branch}\"" | sudo tee "${pkgdir}/usr/lib/os-release" > /dev/null +UBUNTU_CODENAME=\"${branch}\"" | tee "${pkgdir}/usr/lib/os-release" > /dev/null } post_remove() { - if ! [[ -d "${STOWDIR}/${name}" ]]; then - sudo dpkg-divert --quiet --package "${name}" --remove --rename /usr/lib/os-release - sudo dpkg-divert --quiet --package "${name}" --remove --rename /usr/share/pixmaps/ubuntu-logo-text.png - sudo dpkg-divert --quiet --package "${name}" --remove --rename /usr/share/pixmaps/ubuntu-logo-text-dark.png + if ! [[ -d "${STAGEDIR}/${pkgname}" ]]; then + sudo dpkg-divert --quiet --package "${pkgname}" --remove --rename /usr/lib/os-release + sudo dpkg-divert --quiet --package "${pkgname}" --remove --rename /usr/share/pixmaps/ubuntu-logo-text.png + sudo dpkg-divert --quiet --package "${pkgname}" --remove --rename /usr/share/pixmaps/ubuntu-logo-text-dark.png fi } diff --git a/packages/rhino-setup-bin/rhino-setup-bin.pacscript b/packages/rhino-setup-bin/rhino-setup-bin.pacscript index 59a680a29c..fc32ecf79c 100644 --- a/packages/rhino-setup-bin/rhino-setup-bin.pacscript +++ b/packages/rhino-setup-bin/rhino-setup-bin.pacscript @@ -1,29 +1,28 @@ -name="rhino-setup-bin" +pkgname="rhino-setup-bin" depends=("gettext" "desktop-file-utils" "libadwaita-1-0") gives="rhino-setup" pkgdesc="Rhino Linux Setup Prompt" -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") incompatible=("debian:*") pkgver="2023.3" pkgrel="2" -replace=("${gives}" "${gives}-git") +replaces=("${gives}" "${gives}-git") arch=('arm64' 'amd64') -if [[ ${CARCH} == arm64 ]]; then - hash="b8e72f47cae41c70322cfc97f9e72096e848f51a786e2b032154a121c9e42a3d" -else - hash="ebc2bb8598f0eaa319b814f0fe41de994b018e11a8e1445201ca091f3cb69163" -fi -url="https://github.com/rhino-linux/${gives}/releases/download/v${pkgver}/${gives}_v${pkgver}_${CARCH}.zip" +sha256sums_arm64=("b8e72f47cae41c70322cfc97f9e72096e848f51a786e2b032154a121c9e42a3d") +sha256sums_amd64=("ebc2bb8598f0eaa319b814f0fe41de994b018e11a8e1445201ca091f3cb69163") +source=("https://github.com/rhino-linux/${gives}/releases/download/v${pkgver}/${gives}_v${pkgver}_${CARCH}.zip") build() { - sudo mkdir -p "${pkgdir}/usr" - sudo mkdir -p "${pkgdir}/etc/skel/.config/autostart" + cd "${_archive}" + mkdir -p "${pkgdir}/usr" + mkdir -p "${pkgdir}/etc/skel/.config/autostart" } package() { - sudo chmod +x "../usr/local/bin/${gives}" - sudo cp -rf ../usr/* "${pkgdir}/usr" - sudo ln -sf "/usr/local/share/applications/org.rhinolinux.RhinoSetup.desktop" "${pkgdir}/etc/skel/.config/autostart/rhino-setup.desktop" + cd "${_archive}" + chmod +x "../usr/local/bin/${gives}" + cp -rf ../usr/* "${pkgdir}/usr" + ln -sf "/usr/local/share/applications/org.rhinolinux.RhinoSetup.desktop" "${pkgdir}/etc/skel/.config/autostart/rhino-setup.desktop" } post_install() { diff --git a/packages/rhino-setup-git/rhino-setup-git.pacscript b/packages/rhino-setup-git/rhino-setup-git.pacscript index 6fd6eb748b..00120919d8 100644 --- a/packages/rhino-setup-git/rhino-setup-git.pacscript +++ b/packages/rhino-setup-git/rhino-setup-git.pacscript @@ -1,5 +1,5 @@ -name="rhino-setup-git" -url="https://github.com/rhino-linux/rhino-setup.git" +pkgname="rhino-setup-git" +source=("https://github.com/rhino-linux/rhino-setup.git") pkgver="2023.3" pkgrel="2" makedepends=("libgtk-4-dev" "libadwaita-1-dev" "gettext" "desktop-file-utils" "rustc" "cargo" "meson" "ninja-build") @@ -7,20 +7,19 @@ depends=("libgtk-4-dev" "libadwaita-1-dev" "gettext" "desktop-file-utils") gives="rhino-setup" replaces="${gives}-bin" pkgdesc="Rhino Linux Setup Prompt" -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") incompatible=("debian:*") -pkgver() { - git ls-remote "${url}" master | cut -f1 | cut -c1-8 -} build() { - sudo meson build - sudo mkdir -p "${pkgdir}/etc/skel/.config/autostart" + cd "${_archive}" + meson build + mkdir -p "${pkgdir}/etc/skel/.config/autostart" } package() { - sudo DESTDIR="${pkgdir}" ninja -C build install - sudo ln -sf "/usr/local/share/applications/org.rhinolinux.RhinoSetup.desktop" "${pkgdir}/etc/skel/.config/autostart/rhino-setup.desktop" + cd "${_archive}" + DESTDIR="${pkgdir}" ninja -C build install + ln -sf "/usr/local/share/applications/org.rhinolinux.RhinoSetup.desktop" "${pkgdir}/etc/skel/.config/autostart/rhino-setup.desktop" } post_install() { diff --git a/packages/rhino-system-git/rhino-system-git.pacscript b/packages/rhino-system-git/rhino-system-git.pacscript index f5a35f14b5..6b478a5fdf 100644 --- a/packages/rhino-system-git/rhino-system-git.pacscript +++ b/packages/rhino-system-git/rhino-system-git.pacscript @@ -1,22 +1,21 @@ -name="rhino-system-git" -url="https://github.com/rhino-linux/rhino-system.git" +pkgname="rhino-system-git" +source=("https://github.com/rhino-linux/rhino-system.git") pkgver="0.0.1" makedepends=("python3-gi" "gir1.2-adw-1" "gir1.2-gtk-4.0" "gir1.2-vte-3.91" "libadwaita-1-0" "libvte-2.91-gtk4-0" "gettext" "desktop-file-utils" "libglib2.0-dev" "cmake" "meson" "ninja-build") depends=("python3-gi" "gir1.2-adw-1" "gir1.2-gtk-4.0" "gir1.2-vte-3.91" "libadwaita-1-0" "libvte-2.91-gtk4-0" "gettext" "desktop-file-utils" "libglib2.0-dev" "mesa-utils") pacdeps=("rhino-pkg-git") gives="rhino-system" pkgdesc="System info and upgrade utility by the Rhino Linux team" -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") incompatible=("ubuntu:20.04" "ubuntu:20.10" "ubuntu:21.04" "ubuntu:21.10" "ubuntu:22.04" "debian:*") -pkgver() { - git ls-remote "${url}" main | cut -f1 | cut -c1-8 -} build() { - sudo meson setup build + cd "${_archive}" + meson setup build } package() { - sudo DESTDIR="${pkgdir}" ninja -C build install - sudo chmod +x "${pkgdir}/usr/local/bin/rhinosystem" + cd "${_archive}" + DESTDIR="${pkgdir}" ninja -C build install + chmod +x "${pkgdir}/usr/local/bin/rhinosystem" } diff --git a/packages/rhino-ubxi-core/rhino-ubxi-core.pacscript b/packages/rhino-ubxi-core/rhino-ubxi-core.pacscript index b1914cf809..a7b2d5b17a 100644 --- a/packages/rhino-ubxi-core/rhino-ubxi-core.pacscript +++ b/packages/rhino-ubxi-core/rhino-ubxi-core.pacscript @@ -1,11 +1,11 @@ -name="rhino-ubxi-core" -url="https://raw.githubusercontent.com/oklopfer/debs/master/logos/rhino-text.png" +pkgname="rhino-ubxi-core" +source=("https://raw.githubusercontent.com/oklopfer/debs/master/logos/rhino-text.png") pacdeps=("rhino-kvantum-theme-git" "rhino-plymouth-theme-git" "rhino-pkg-git" "rhino-neofetch-git" "rhino-system-git" "pacstall-qa-git") depends=("printer-driver-all-enforce") pkgdesc="Transitional package to provide all core Rhino Linux software, without a desktop environment" -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") compatible=("ubuntu:devel" "ubuntu:noble") -replace=("rhino-core" "rhino-pine-core" "rhino-server-core") +replaces=("rhino-core" "rhino-pine-core" "rhino-server-core") priority="essential" pkgver="2023.4" pkgrel="9" @@ -13,16 +13,17 @@ style="(ubxi)" branch="devel" pre_install() { - sudo dpkg-divert --quiet --package "${name}" --divert /usr/lib/ubuntu-release --rename /usr/lib/os-release - sudo dpkg-divert --quiet --package "${name}" --divert /usr/share/pixmaps/ubuntu-logo-text-overwritten.png --rename /usr/share/pixmaps/ubuntu-logo-text.png - sudo dpkg-divert --quiet --package "${name}" --divert /usr/share/pixmaps/ubuntu-logo-text-dark-overwritten.png --rename /usr/share/pixmaps/ubuntu-logo-text-dark.png + sudo dpkg-divert --quiet --package "${pkgname}" --divert /usr/lib/ubuntu-release --rename /usr/lib/os-release + sudo dpkg-divert --quiet --package "${pkgname}" --divert /usr/share/pixmaps/ubuntu-logo-text-overwritten.png --rename /usr/share/pixmaps/ubuntu-logo-text.png + sudo dpkg-divert --quiet --package "${pkgname}" --divert /usr/share/pixmaps/ubuntu-logo-text-dark-overwritten.png --rename /usr/share/pixmaps/ubuntu-logo-text-dark.png } package() { - sudo mkdir -p "${pkgdir}/usr/lib" - sudo mkdir -p "${pkgdir}/usr/share/pixmaps" + cd "${_archive}" + mkdir -p "${pkgdir}/usr/lib" + mkdir -p "${pkgdir}/usr/share/pixmaps" for i in ubuntu-logo-text.png ubuntu-logo-text-dark.png; do - sudo cp rhino-text.png "${pkgdir}/usr/share/pixmaps/${i}" + cp rhino-text.png "${pkgdir}/usr/share/pixmaps/${i}" done echo "PRETTY_NAME=\"Rhino Linux ${pkgver} ${style}\" NAME=\"Rhino Linux\" @@ -35,13 +36,13 @@ HOME_URL=\"https://rhinolinux.org/\" SUPPORT_URL=\"https://github.com/rhino-linux\" BUG_REPORT_URL=\"https://github.com/rhino-linux\" PRIVACY_POLICY_URL=\"https://www.ubuntu.com/legal/terms-and-policies/privacy-policy\" -UBUNTU_CODENAME=\"${branch}\"" | sudo tee "${pkgdir}/usr/lib/os-release" > /dev/null +UBUNTU_CODENAME=\"${branch}\"" | tee "${pkgdir}/usr/lib/os-release" > /dev/null } post_remove() { - if ! [[ -d "${STOWDIR}/${name}" ]]; then - sudo dpkg-divert --quiet --package "${name}" --remove --rename /usr/lib/os-release - sudo dpkg-divert --quiet --package "${name}" --remove --rename /usr/share/pixmaps/ubuntu-logo-text.png - sudo dpkg-divert --quiet --package "${name}" --remove --rename /usr/share/pixmaps/ubuntu-logo-text-dark.png + if ! [[ -d "${STAGEDIR}/${pkgname}" ]]; then + sudo dpkg-divert --quiet --package "${pkgname}" --remove --rename /usr/lib/os-release + sudo dpkg-divert --quiet --package "${pkgname}" --remove --rename /usr/share/pixmaps/ubuntu-logo-text.png + sudo dpkg-divert --quiet --package "${pkgname}" --remove --rename /usr/share/pixmaps/ubuntu-logo-text-dark.png fi } diff --git a/packages/rio-wayland-deb/rio-wayland-deb.pacscript b/packages/rio-wayland-deb/rio-wayland-deb.pacscript index 95716ef21d..b2796e3ed4 100644 --- a/packages/rio-wayland-deb/rio-wayland-deb.pacscript +++ b/packages/rio-wayland-deb/rio-wayland-deb.pacscript @@ -1,9 +1,9 @@ -name="rio-wayland-deb" +pkgname="rio-wayland-deb" gives="rio" breaks=("rio-x11-deb" "rio-git") pkgver="0.0.36" pkgdesc="A hardware-accelerated GPU terminal emulator focusing to run in desktops and browsers" -hash="754ec290a8ec3a3ec130ab4aa5b1ad9d2173620e0d7a228694a91154af9c8c2b" -maintainer="Herisson " -url="https://github.com/raphamorim/rio/releases/download/v${pkgver}/rio_${pkgver}-1_amd64_wayland.deb" +sha256sums=("754ec290a8ec3a3ec130ab4aa5b1ad9d2173620e0d7a228694a91154af9c8c2b") +maintainer=("Herisson ") +source=("https://github.com/raphamorim/rio/releases/download/v${pkgver}/rio_${pkgver}-1_amd64_wayland.deb") repology=("project: ${gives}") diff --git a/packages/rio-x11-deb/rio-x11-deb.pacscript b/packages/rio-x11-deb/rio-x11-deb.pacscript index 46601024ef..774a7f91a6 100644 --- a/packages/rio-x11-deb/rio-x11-deb.pacscript +++ b/packages/rio-x11-deb/rio-x11-deb.pacscript @@ -1,9 +1,9 @@ -name="rio-x11-deb" +pkgname="rio-x11-deb" gives="rio" breaks=("rio-wayland-deb" "rio-git") pkgver="0.0.36" pkgdesc="A hardware-accelerated GPU terminal emulator focusing to run in desktops and browsers" -hash="754ec290a8ec3a3ec130ab4aa5b1ad9d2173620e0d7a228694a91154af9c8c2b" -maintainer="Herisson " -url="https://github.com/raphamorim/rio/releases/download/v${pkgver}/rio_${pkgver}-1_amd64_wayland.deb" +sha256sums=("754ec290a8ec3a3ec130ab4aa5b1ad9d2173620e0d7a228694a91154af9c8c2b") +maintainer=("Herisson ") +source=("https://github.com/raphamorim/rio/releases/download/v${pkgver}/rio_${pkgver}-1_amd64_wayland.deb") repology=("project: ${gives}") diff --git a/packages/rpcs3-app/rpcs3-app.pacscript b/packages/rpcs3-app/rpcs3-app.pacscript index efa7109c36..052d3fb9a6 100644 --- a/packages/rpcs3-app/rpcs3-app.pacscript +++ b/packages/rpcs3-app/rpcs3-app.pacscript @@ -1,14 +1,15 @@ -name="rpcs3-app" +pkgname="rpcs3-app" gives="rpcs3" pkgver="0.0.29-15709" pkgsha="3c93509471f5f2f9d473a4c11682ef83366349d2" -url="https://github.com/RPCS3/rpcs3-binaries-linux/releases/download/build-${pkgsha}/rpcs3-v${pkgver}-${pkgsha:0:8}_linux64.AppImage" -homepage="https://rpcs3.net" +source=("https://github.com/RPCS3/rpcs3-binaries-linux/releases/download/build-${pkgsha}/rpcs3-v${pkgver}-${pkgsha:0:8}_linux64.AppImage") +url="https://rpcs3.net" pkgdesc="PS3 emulator/debugger" -maintainer="Thomas Crha " -hash="470a2998e2f8e545aa3975043983794dcd1a1f07464899b156c9cb32b2dfe2b2" +maintainer=("Thomas Crha ") +sha256sums=("470a2998e2f8e545aa3975043983794dcd1a1f07464899b156c9cb32b2dfe2b2") package() { - sudo install -Dm755 "rpcs3-v${pkgver}-${pkgsha:0:8}_linux64.AppImage" "${pkgdir}/usr/bin/rpcs3" + cd "${_archive}" + install -Dm755 "rpcs3-v${pkgver}-${pkgsha:0:8}_linux64.AppImage" "${pkgdir}/usr/bin/rpcs3" } # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/rstudio-deb/rstudio-deb.pacscript b/packages/rstudio-deb/rstudio-deb.pacscript index c9005e5a19..4b23bec863 100644 --- a/packages/rstudio-deb/rstudio-deb.pacscript +++ b/packages/rstudio-deb/rstudio-deb.pacscript @@ -1,10 +1,10 @@ -name="rstudio-deb" +pkgname="rstudio-deb" gives="rstudio" repology=("project: ${gives}") pkgver="2023.12.1.402" ver="${pkgver:0:9}-${pkgver:10}" -url="https://download1.rstudio.org/electron/jammy/amd64/rstudio-${ver}-amd64.deb" +source=("https://download1.rstudio.org/electron/jammy/amd64/rstudio-${ver}-amd64.deb") pkgdesc="RStudio is an integrated development environment (IDE) for R" -hash="75542cc24c59404f8d62815bc0e31b43032b5032e651fa9f618dbcdca8aa7cac" +sha256sums=("75542cc24c59404f8d62815bc0e31b43032b5032e651fa9f618dbcdca8aa7cac") arch=('amd64') -maintainer="Zahrun " +maintainer=("Zahrun ") diff --git a/packages/rust-motd-deb/rust-motd-deb.pacscript b/packages/rust-motd-deb/rust-motd-deb.pacscript index 43c33b512b..1b1378f591 100644 --- a/packages/rust-motd-deb/rust-motd-deb.pacscript +++ b/packages/rust-motd-deb/rust-motd-deb.pacscript @@ -4,15 +4,15 @@ # \ // \/ -- \ # \__/\ / \_______ \______ / # \/ \/ \/ -maintainer="wizard-28 " +maintainer=("wizard-28 ") -name="rust-motd-deb" +pkgname="rust-motd-deb" gives="rust-motd" -replace=("${gives}") +replaces=("${gives}") pkgver="1.0.1" -url="https://github.com/rust-motd/rust-motd/releases/download/v${pkgver}/rust-motd_${pkgver}_amd64.deb" +source=("https://github.com/rust-motd/rust-motd/releases/download/v${pkgver}/rust-motd_${pkgver}_amd64.deb") pkgdesc="Beautiful, useful, configurable MOTD generation with zero runtime dependencies" -hash="e2abcb97de92bee14cdc85e8dec46af17c15fdb03cc3a4b3d6094b1c2a079670" +sha256sums=("e2abcb97de92bee14cdc85e8dec46af17c15fdb03cc3a4b3d6094b1c2a079670") arch=('amd64') repology=("project: rust:motd") diff --git a/packages/rustdesk-deb/rustdesk-deb.pacscript b/packages/rustdesk-deb/rustdesk-deb.pacscript index 94eda9c55e..b1b7d909c3 100644 --- a/packages/rustdesk-deb/rustdesk-deb.pacscript +++ b/packages/rustdesk-deb/rustdesk-deb.pacscript @@ -1,10 +1,10 @@ -name="rustdesk-deb" +pkgname="rustdesk-deb" gives="rustdesk" repology=("project: ${gives}") pkgver="1.2.3" -url="https://github.com/rustdesk/rustdesk/releases/download/${pkgver}-1/rustdesk-${pkgver}-x86_64.deb" +source=("https://github.com/rustdesk/rustdesk/releases/download/${pkgver}-1/rustdesk-${pkgver}-x86_64.deb") breaks=("${gives}-bin") pkgdesc="Yet another remote desktop software, written in Rust" -hash="bfa6ba63b2745ace87b2cdd4900de59dca339272a8fdf60a80f1702036b71178" +sha256sums=("bfa6ba63b2745ace87b2cdd4900de59dca339272a8fdf60a80f1702036b71178") arch=('amd64') -maintainer="xdavius " +maintainer=("xdavius ") diff --git a/packages/schildichat-deb/schildichat-deb.pacscript b/packages/schildichat-deb/schildichat-deb.pacscript index 43be1c990b..4e37ae23ad 100644 --- a/packages/schildichat-deb/schildichat-deb.pacscript +++ b/packages/schildichat-deb/schildichat-deb.pacscript @@ -1,9 +1,9 @@ -name="schildichat-deb" +pkgname="schildichat-deb" gives="schildichat-desktop" pkgver="1.11.30-sc.2" arch=("amd64") -url="https://github.com/SchildiChat/schildichat-desktop/releases/download/v${pkgver}/schildichat-desktop_${pkgver}_amd64.deb" -hash="ad9bb5cee3c68d9c4d1bf102a50ddaa3dfd2e1005ff1e009e78c82edececc4bc" -homepage="https://github.com/SchildiChat/schildichat-desktop/" +source=("https://github.com/SchildiChat/schildichat-desktop/releases/download/v${pkgver}/schildichat-desktop_${pkgver}_amd64.deb") +sha256sums=("ad9bb5cee3c68d9c4d1bf102a50ddaa3dfd2e1005ff1e009e78c82edececc4bc") +url="https://github.com/SchildiChat/schildichat-desktop/" pkgdesc="Matrix client, as Element Web-Desktop fork" -maintainer="Diegiwg " +maintainer=("Diegiwg ") diff --git a/packages/scrcpy/scrcpy.pacscript b/packages/scrcpy/scrcpy.pacscript index 95c5735d76..d58317236e 100644 --- a/packages/scrcpy/scrcpy.pacscript +++ b/packages/scrcpy/scrcpy.pacscript @@ -1,33 +1,33 @@ -name="scrcpy" +pkgname="scrcpy" pkgver="2.4" pkgdesc="Display and control your Android device" -repology=("project: ${name}") -homepage="https://github.com/Genymobile/scrcpy" +repology=("project: ${pkgname}") +url="https://github.com/Genymobile/scrcpy" arch=("amd64" "arm64") makedepends=("libavcodec-dev" "libavdevice-dev" "libavformat-dev" "libavutil-dev" "libsdl2-dev" "libswresample-dev" "libusb-1.0-0-dev" "meson" "ninja-build") depends=("adb" "ffmpeg" "libsdl2-2.0-0" "libusb-1.0-0") -replace=("${name}") -maintainer="vigress8 " -url="https://github.com/Genymobile/${name}/archive/refs/tags/v${pkgver}.tar.gz" -server_url="https://github.com/Genymobile/${name}/releases/download/v${pkgver}/${name}-server-v${pkgver}" -hash="60596f6d4c11163083da3e6805666326873ed57f7defd8a20256b928a1d3503b" -server_hash="93c272b7438605c055e127f7444064ed78fa9ca49f81156777fd201e79ce7ba3" +replaces=("${pkgname}") +maintainer=("vigress8 ") +source=( + "https://github.com/Genymobile/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz" + "${pkgname}-server::https://github.com/Genymobile/${pkgname}/releases/download/v${pkgver}/${pkgname}-server-v${pkgver}" +) +sha256sums=( + "60596f6d4c11163083da3e6805666326873ed57f7defd8a20256b928a1d3503b" + "93c272b7438605c055e127f7444064ed78fa9ca49f81156777fd201e79ce7ba3" +) prepare() { - fancy_message info "Downloading ${name}-server" - curl -L# -o "${name}-server" "${server_url}" - if [[ $(sha256sum "${name}-server" | awk '{print $1}') != "${server_hash}" ]]; then - fancy_message error "Integrity check failed for ${name}-server" - return 1 - fi - - meson setup build --buildtype=release --strip -Db_lto=true -Dprebuilt_server="${name}-server" + cd "${_archive}" + meson setup build --buildtype=release --strip -Db_lto=true -Dprebuilt_server="${srcdir}/${pkgname}-server" } build() { + cd "${_archive}" ninja -Cbuild -j"${NCPU}" } package() { - sudo DESTDIR="${pkgdir}" ninja -Cbuild install + cd "${_archive}" + DESTDIR="${pkgdir}" ninja -Cbuild install } diff --git a/packages/sed/sed.pacscript b/packages/sed/sed.pacscript index 04570fc5cb..b8342e6520 100644 --- a/packages/sed/sed.pacscript +++ b/packages/sed/sed.pacscript @@ -1,17 +1,19 @@ -name="sed" +pkgname="sed" pkgver="4.8" -url="https://ftp.gnu.org/gnu/sed/sed-${pkgver}.tar.xz" +source=("https://ftp.gnu.org/gnu/sed/sed-${pkgver}.tar.xz") makedepends=("autoconf" "automake") depends=("libselinux1" "libc6" "libacl1") -replace=("sed") +replaces=("sed") pkgdesc="sed (stream editor) is a non-interactive command-line text editor." -hash="f79b0cfea71b37a8eeec8490db6c5f7ae7719c35587f21edb0617f370eeff633" +sha256sums=("f79b0cfea71b37a8eeec8490db6c5f7ae7719c35587f21edb0617f370eeff633") build() { + cd "${_archive}" ./configure make -j"${NCPU}" } package() { - sudo make install DESTDIR="${pkgdir}" + cd "${_archive}" + make install DESTDIR="${pkgdir}" } diff --git a/packages/shell-color-scripts/shell-color-scripts.pacscript b/packages/shell-color-scripts/shell-color-scripts.pacscript index a1a4bf07c4..e6d9185ac2 100644 --- a/packages/shell-color-scripts/shell-color-scripts.pacscript +++ b/packages/shell-color-scripts/shell-color-scripts.pacscript @@ -1,11 +1,12 @@ -name="shell-color-scripts" +pkgname="shell-color-scripts" pkgver="3.0" -url="https://gitlab.com/dwt1/shell-color-scripts/-/archive/master/shell-color-scripts-master.tar.gz" +source=("https://gitlab.com/dwt1/shell-color-scripts/-/archive/master/shell-color-scripts-master.tar.gz") pkgdesc="A collection of terminal color scripts." -hash="31d94efd426d3d62459e2056cb4ea5ba051f77f46557a3cc0ad7b2ffdd48bf84" -maintainer="Korkmatik <9c54efc1-143b-4f5f-9d2f-f6f189583f0f@aleeas.com>" +sha256sums=("31d94efd426d3d62459e2056cb4ea5ba051f77f46557a3cc0ad7b2ffdd48bf84") +maintainer=("Korkmatik <9c54efc1-143b-4f5f-9d2f-f6f189583f0f@aleeas.com>") package() { - sudo install -D colorscript.sh "${pkgdir}/usr/bin/colorscript" - sudo install -D colorscripts/* -t "${pkgdir}/opt/shell-color-scripts/colorscripts" + cd "${_archive}" + install -D colorscript.sh "${pkgdir}/usr/bin/colorscript" + install -D colorscripts/* -t "${pkgdir}/opt/shell-color-scripts/colorscripts" } diff --git a/packages/shellcheck-bin/shellcheck-bin.pacscript b/packages/shellcheck-bin/shellcheck-bin.pacscript index 1c3fe2c184..9c7ecdd5cf 100644 --- a/packages/shellcheck-bin/shellcheck-bin.pacscript +++ b/packages/shellcheck-bin/shellcheck-bin.pacscript @@ -1,17 +1,18 @@ -name="shellcheck-bin" +pkgname="shellcheck-bin" gives="shellcheck" pkgver="0.9.0" breaks=("${gives}" "${gives}-git" "${gives}-deb" "${gives}-app") pkgdesc="Gives warnings and suggestions for bash/sh shell scripts" -hash="700324c6dd0ebea0117591c6cc9d7350d9c7c5c287acbad7630fa17b1d4d9e2f" -url="https://github.com/koalaman/shellcheck/releases/download/v${pkgver}/shellcheck-v${pkgver}.linux.x86_64.tar.xz" +sha256sums=("700324c6dd0ebea0117591c6cc9d7350d9c7c5c287acbad7630fa17b1d4d9e2f") +source=("https://github.com/koalaman/shellcheck/releases/download/v${pkgver}/shellcheck-v${pkgver}.linux.x86_64.tar.xz") homepage='https://www.shellcheck.net/' arch=('amd64') -maintainer="Elsie19 " +maintainer=("Elsie19 ") repology=("project: shellcheck") package() { - sudo install -Dm644 shellcheck "${pkgdir}/usr/bin/shellcheck" - sudo install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${gives}/LICENSE" - sudo chmod +x "${pkgdir}/usr/bin/shellcheck" + cd "${_archive}" + install -Dm644 shellcheck "${pkgdir}/usr/bin/shellcheck" + install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${gives}/LICENSE" + chmod +x "${pkgdir}/usr/bin/shellcheck" } diff --git a/packages/shellharden/shellharden.pacscript b/packages/shellharden/shellharden.pacscript index 40e1eb5e2b..bd1ae538e0 100644 --- a/packages/shellharden/shellharden.pacscript +++ b/packages/shellharden/shellharden.pacscript @@ -1,20 +1,21 @@ -name="shellharden" pkgname="shellharden" +gives="shellharden" pkgver="4.3.0" -repology=("project: ${pkgname}") -url="https://github.com/anordal/shellharden/archive/refs/tags/v${pkgver}.zip" -breaks=("${pkgname}" "${pkgname}-git" "${pkgname}-deb" "${pkgname}-app") -gives="${pkgname}" +repology=("project: ${gives}") +source=("https://github.com/anordal/shellharden/archive/refs/tags/v${pkgver}.zip") +breaks=("${gives}" "${gives}-git" "${gives}-deb" "${gives}-app") makedepends=("rustc" "cargo") pkgdesc="A syntax highlighter and a tool to semi-automate the rewriting of scripts to ShellCheck conformance" -hash="d6679f7a2a3e96da923b2f04339a966202a24172f1bbc58e56e7982eca2a76dc" +sha256sums=("d6679f7a2a3e96da923b2f04339a966202a24172f1bbc58e56e7982eca2a76dc") incompatible=('debian:bullseye') -maintainer="Elsie19 " +maintainer=("Elsie19 ") build() { + cd "${_archive}" cargo build --release } package() { - sudo install -Dm755 target/release/shellharden "${pkgdir}"/usr/bin/shellharden + cd "${_archive}" + install -Dm755 target/release/shellharden "${pkgdir}"/usr/bin/shellharden } diff --git a/packages/shfmt-bin/shfmt-bin.pacscript b/packages/shfmt-bin/shfmt-bin.pacscript index 7f52d5aff8..6c3a535962 100644 --- a/packages/shfmt-bin/shfmt-bin.pacscript +++ b/packages/shfmt-bin/shfmt-bin.pacscript @@ -4,20 +4,20 @@ # \ // \/ -- \ # \__/\ / \_______ \______ / # \/ \/ \/ -maintainer="wizard-28 " +maintainer=("wizard-28 ") -name="shfmt-bin" -pkgname="shfmt" +pkgname="shfmt-bin" +gives="shfmt" pkgver="3.7.0" -url="https://github.com/mvdan/sh/releases/download/v${pkgver}/shfmt_v${pkgver}_linux_amd64" +source=("https://github.com/mvdan/sh/releases/download/v${pkgver}/shfmt_v${pkgver}_linux_amd64") pkgdesc="Format shell programs" -gives="${pkgname}" -breaks=("${pkgname}" "${pkgname}-git" "${pkgname}-bin" "${pkgname}-deb" "${pkgname}-app") -hash="0264c424278b18e22453fe523ec01a19805ce3b8ebf18eaf3aadc1edc23f42e3" +breaks=("${gives}" "${gives}-git" "${gives}-bin" "${gives}-deb" "${gives}-app") +sha256sums=("0264c424278b18e22453fe523ec01a19805ce3b8ebf18eaf3aadc1edc23f42e3") arch=('amd64') -repology=("project: ${pkgname}") +repology=("project: ${gives}") package() { - sudo install -Dm755 "shfmt_v${pkgver}_linux_amd64" "${pkgdir}/usr/bin/${pkgname}" + cd "${_archive}" + install -Dm755 "shfmt_v${pkgver}_linux_amd64" "${pkgdir}/usr/bin/${gives}" } # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/sidequest-bin/sidequest-bin.pacscript b/packages/sidequest-bin/sidequest-bin.pacscript index e84580f96e..228316183e 100644 --- a/packages/sidequest-bin/sidequest-bin.pacscript +++ b/packages/sidequest-bin/sidequest-bin.pacscript @@ -1,29 +1,32 @@ -name="sidequest-bin" -pkgname="sidequest" +pkgname="sidequest-bin" gives="sidequest" pkgdesc="Place to get more apps for your Oculus Quest by sideloading" pkgver="0.10.36" -url="https://github.com/SideQuestVR/SideQuest/releases/download/v${pkgver}/SideQuest-${pkgver}.tar.xz" -breaks=("${pkgname}" "${pkgname}-git" "${pkgname}-deb" "${pkgname}-app") -hash="8228904ed14a4a67038c18be349056b7e7ad713537536473a00a0744ed061fd1" +source=( + "https://github.com/SideQuestVR/SideQuest/releases/download/v${pkgver}/SideQuest-${pkgver}.tar.xz" + "${gives}.png::https://sidequestvr.com/assets/images/score-logo.png" +) +breaks=("${gives}" "${gives}-git" "${gives}-deb" "${gives}-app") +sha256sums=( + "8228904ed14a4a67038c18be349056b7e7ad713537536473a00a0744ed061fd1" + "SKIP" +) arch=('amd64') repology=("project: sidequest") -__icon_url="https://sidequestvr.com/assets/images/score-logo.png" package() { - cd .. + cd "${srcdir}" # Make dirs and assign permissions - sudo mkdir -p "${pkgdir}/opt/sidequest" - sudo cp -r "SideQuest-${pkgver}"/* "${pkgdir}/opt/sidequest" + mkdir -p "${pkgdir}/opt/sidequest" + cp -r "SideQuest-${pkgver}"/* "${pkgdir}/opt/sidequest" # Install the icon for the desktop file - wget -q -O "${pkgname}.png" "${__icon_url}" - sudo install -Dm644 "${pkgname}.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png" + install -Dm644 "${srcdir}/${gives}.png" "${pkgdir}/usr/share/pixmaps/${gives}.png" # Install the desktop file - sudo mkdir -p "${pkgdir}/usr/share/applications/" + mkdir -p "${pkgdir}/usr/share/applications/" echo "[Desktop Entry] Name=SideQuest Icon=sidequest Type=Application -Exec=/opt/sidequest/sidequest" | sudo tee "${pkgdir}/usr/share/applications/sidequest.desktop" > /dev/null +Exec=/opt/sidequest/sidequest" | tee "${pkgdir}/usr/share/applications/sidequest.desktop" > /dev/null } diff --git a/packages/signal-desktop-beta-deb/signal-desktop-beta-deb.pacscript b/packages/signal-desktop-beta-deb/signal-desktop-beta-deb.pacscript index dc7faf242a..72b411c986 100644 --- a/packages/signal-desktop-beta-deb/signal-desktop-beta-deb.pacscript +++ b/packages/signal-desktop-beta-deb/signal-desktop-beta-deb.pacscript @@ -1,11 +1,10 @@ -name="signal-desktop-beta-deb" -pkgname="signal-desktop-beta" -repology=("project: signal-desktop" "visiblename: ${pkgname}-bin") -gives="${pkgname}" -breaks=("${pkgname}-app") +pkgname="signal-desktop-beta-deb" +gives="signal-desktop-beta" +repology=("project: signal-desktop" "visiblename: ${gives}-bin") +breaks=("${gives}-app") pkgver="6.15.0-beta.1" -url="https://updates.signal.org/desktop/apt/pool/main/s/${gives}/${gives}_${pkgver}_amd64.deb" +source=("https://updates.signal.org/desktop/apt/pool/main/s/${gives}/${gives}_${pkgver}_amd64.deb") pkgdesc="Signal Private Messenger for Linux (Beta)" -hash="69e246c01a00b3a883a558c1ce572ceeaf49be7fe1dca2dc095de6d728cc4cd4" +sha256sums=("69e246c01a00b3a883a558c1ce572ceeaf49be7fe1dca2dc095de6d728cc4cd4") arch=('amd64') -maintainer="Jon Banafato " +maintainer=("Jon Banafato ") diff --git a/packages/signal-desktop-deb/signal-desktop-deb.pacscript b/packages/signal-desktop-deb/signal-desktop-deb.pacscript index 53c15d8175..b6d28be658 100644 --- a/packages/signal-desktop-deb/signal-desktop-deb.pacscript +++ b/packages/signal-desktop-deb/signal-desktop-deb.pacscript @@ -1,11 +1,10 @@ -name="signal-desktop-deb" -pkgname="signal-desktop" -gives="${pkgname}" -breaks=("${pkgname}-app") -repology=("project: ${pkgname}" "repo: arch") +pkgname="signal-desktop-deb" +gives="signal-desktop" +breaks=("${gives}-app") +repology=("project: ${gives}" "repo: arch") pkgver="6.44.1" -url="https://updates.signal.org/desktop/apt/pool/s/signal-desktop/signal-desktop_${pkgver}_amd64.deb" +source=("https://updates.signal.org/desktop/apt/pool/s/signal-desktop/signal-desktop_${pkgver}_amd64.deb") pkgdesc="Signal Private Messenger for Linux" -hash="4f73003779f66f202e2a96aa92d39a64463fdad3c527279b46a7375801a2a580" +sha256sums=("4f73003779f66f202e2a96aa92d39a64463fdad3c527279b46a7375801a2a580") arch=('amd64') -maintainer="Jon Banafato " +maintainer=("Jon Banafato ") diff --git a/packages/slack-deb/slack-deb.pacscript b/packages/slack-deb/slack-deb.pacscript index fe9b2e0a2d..932d2db9ea 100644 --- a/packages/slack-deb/slack-deb.pacscript +++ b/packages/slack-deb/slack-deb.pacscript @@ -1,12 +1,11 @@ -name="slack-deb" +pkgname="slack-deb" gives="slack-desktop" -pkgname="slack-desktop" pkgver="4.36.138" -breaks=("${pkgname}" "${pkgname}-git" "${pkgname}-bin" "${pkgname}-app") -replace=("${pkgname}") +breaks=("${gives}" "${gives}-git" "${gives}-bin" "${gives}-app") +replaces=("${gives}") pkgdesc="Slack is a new way to communicate with your team. It's faster, better organized, and more secure than email." -maintainer="Paul Cosma (saenai) " -hash="4f5b1eb378d5a58a364f9dc70df5c0ccd9be0cedbab42df7193ddfbb1d2a021a" +maintainer=("Paul Cosma (saenai) ") +sha256sums=("4f5b1eb378d5a58a364f9dc70df5c0ccd9be0cedbab42df7193ddfbb1d2a021a") arch=('amd64') -url="https://downloads.slack-edge.com/releases/linux/${pkgver}/prod/x64/slack-desktop-${pkgver}-amd64.deb" +source=("https://downloads.slack-edge.com/releases/linux/${pkgver}/prod/x64/slack-desktop-${pkgver}-amd64.deb") repology=("project: slack") diff --git a/packages/slop-git/slop-git.pacscript b/packages/slop-git/slop-git.pacscript index 093e4cd6c7..22f55f8398 100644 --- a/packages/slop-git/slop-git.pacscript +++ b/packages/slop-git/slop-git.pacscript @@ -1,21 +1,20 @@ -name="slop-git" -pkgname="slop" +pkgname="slop-git" +gives="slop" pkgdesc="Queries for a selection from the user and prints the region to stdout" -url="https://github.com/naelstrof/slop.git" +source=("https://github.com/naelstrof/slop.git") pkgver="7.6" makedepends=("cmake" "libglm-dev" "libxrender-dev" "libxfixes-dev" "libxcomposite-dev" "libxrandr-dev") depends=("libglew-dev" "libxext-dev") -breaks=("${pkgname}-bin" "${pkgname}") -maintainer="Elsie19 " -pkgver() { - git ls-remote "${url}" master | cut -f1 | cut -c1-8 -} +breaks=("${gives}-bin" "${gives}") +maintainer=("Elsie19 ") build() { + cd "${_archive}" cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="/usr" ./ make -j"${NCPU}" } package() { - sudo make install DESTDIR="${pkgdir}" + cd "${_archive}" + make install DESTDIR="${pkgdir}" } diff --git a/packages/smartgit/smartgit.pacscript b/packages/smartgit/smartgit.pacscript index 406175bc0c..b463527650 100644 --- a/packages/smartgit/smartgit.pacscript +++ b/packages/smartgit/smartgit.pacscript @@ -1,27 +1,28 @@ -name="smartgit" +pkgname="smartgit" pkgver="22.1.7" -url="https://www.syntevo.com/downloads/smartgit/smartgit-linux-${pkgver//./_}.tar.gz" +source=("https://www.syntevo.com/downloads/smartgit/smartgit-linux-${pkgver//./_}.tar.gz") depends=("git" "libgtk-3-0" "libcurl4") pkgdesc="Graphical Git client with support for GitHub, Bitbucket and GitLab" # the source for this pacscript uses dynamic hashing, so we have to ignore it # hash="138cd50d6afd604de39ed907a20d3e63ac551c9cf643c0262d60f1b84abeec81" -maintainer="echometerain " +maintainer=("echometerain ") repology=("project: smartgit") package() { - sudo install -Dm755 "./licenses"/* -t "${pkgdir}/usr/share/licenses/${name}" - sudo install -Dm755 "./license.html" -t "${pkgdir}/usr/share/licenses/${name}" - sudo mkdir -p "${pkgdir}/opt" - sudo cp -r "${SRCDIR}/${name}" -t "${pkgdir}/opt" - sudo chmod 755 "${pkgdir}/opt" + cd "${_archive}" + install -Dm755 "./licenses"/* -t "${pkgdir}/usr/share/licenses/${pkgname}" + install -Dm755 "./license.html" -t "${pkgdir}/usr/share/licenses/${pkgname}" + mkdir -p "${pkgdir}/opt" + cp -r "${srcdir}/${pkgname}" -t "${pkgdir}/opt" + chmod 755 "${pkgdir}/opt" for _size in 32 48 64 128 256; do - sudo chmod 755 "./bin/smartgit-${_size}.png" - sudo mkdir -p "${pkgdir}/usr/share/icons/hicolor/${_size}x${_size}/apps" - sudo mv "./bin/smartgit-${_size}.png" "${pkgdir}/usr/share/icons/hicolor/${_size}x${_size}/apps/${name}.png" + chmod 755 "./bin/smartgit-${_size}.png" + mkdir -p "${pkgdir}/usr/share/icons/hicolor/${_size}x${_size}/apps" + mv "./bin/smartgit-${_size}.png" "${pkgdir}/usr/share/icons/hicolor/${_size}x${_size}/apps/${pkgname}.png" done - sudo chmod 755 "${pkgdir}/opt/${name}/bin/smartgit.sh" - sudo mkdir -p "${pkgdir}/usr/bin" - sudo ln -sf "/opt/${name}/bin/smartgit.sh" "${pkgdir}/usr/bin/smartgit" + chmod 755 "${pkgdir}/opt/${pkgname}/bin/smartgit.sh" + mkdir -p "${pkgdir}/usr/bin" + ln -sf "/opt/${pkgname}/bin/smartgit.sh" "${pkgdir}/usr/bin/smartgit" } diff --git a/packages/smplayer-deb/smplayer-deb.pacscript b/packages/smplayer-deb/smplayer-deb.pacscript index bbe280b32c..9e84c70844 100644 --- a/packages/smplayer-deb/smplayer-deb.pacscript +++ b/packages/smplayer-deb/smplayer-deb.pacscript @@ -1,8 +1,8 @@ -name="smplayer-deb" +pkgname="smplayer-deb" gives="smplayer" repology=("project: smplayer") pkgver="23.6.0" -url="https://github.com/smplayer-dev/smplayer/releases/download/v${pkgver}/smplayer_${pkgver}-1.debian-buster_amd64.deb" +source=("https://github.com/smplayer-dev/smplayer/releases/download/v${pkgver}/smplayer_${pkgver}-1.debian-buster_amd64.deb") pkgdesc="Complete front-end for MPlayer/MPV" -hash="685030e2e3ee9ad5d95dc266b90c402506b9fe5b193ff05411955ed1db8bedbb" +sha256sums=("685030e2e3ee9ad5d95dc266b90c402506b9fe5b193ff05411955ed1db8bedbb") arch=('amd64') diff --git a/packages/songrec-deb/songrec-deb.pacscript b/packages/songrec-deb/songrec-deb.pacscript index af266e01ab..bd56698e15 100644 --- a/packages/songrec-deb/songrec-deb.pacscript +++ b/packages/songrec-deb/songrec-deb.pacscript @@ -1,10 +1,10 @@ -name="songrec-deb" +pkgname="songrec-deb" gives="songrec" pkgver="0.4.2" -replace=("${gives}") -url="https://launchpad.net/~marin-m/+archive/ubuntu/songrec/+files/songrec_${pkgver}jammy_amd64.deb" +replaces=("${gives}") +source=("https://launchpad.net/~marin-m/+archive/ubuntu/songrec/+files/songrec_${pkgver}jammy_amd64.deb") repology=("project: songrec") pkgdesc="SongRec is an open-source Shazam client for Linux, written in Rust." -hash="f40d075f08aef14183b320240316ceb7f7c9ede2e2326d96199d59d906dc2951" +sha256sums=("f40d075f08aef14183b320240316ceb7f7c9ede2e2326d96199d59d906dc2951") arch=('amd64') -maintainer="সৌম্যদীপ " +maintainer=("সৌম্যদীপ ") diff --git a/packages/soundux/soundux.pacscript b/packages/soundux/soundux.pacscript index eb18320a4a..c5f96484e8 100644 --- a/packages/soundux/soundux.pacscript +++ b/packages/soundux/soundux.pacscript @@ -1,15 +1,16 @@ -name="soundux" +pkgname="soundux" pkgver="0.2.7" -url="https://github.com/Soundux/Soundux/releases/download/${pkgver}/soundux-${pkgver}.tar.gz" +source=("https://github.com/Soundux/Soundux/releases/download/${pkgver}/soundux-${pkgver}.tar.gz") makedepends=("cmake" "libx11-dev" "libxi-dev" "libwebkit2gtk-4.0-dev" "libappindicator3-1" "libappindicator3-dev" "libssl-dev" "libpulse-dev" "libpipewire-0.3-dev") pkgdesc="A cross-platform soundboard" -hash="017003fc96f49df30575975f3904c0d8a500e325a9d2bca8c3dc69fed0cab0a7" -maintainer="D3SOX " +sha256sums=("017003fc96f49df30575975f3904c0d8a500e325a9d2bca8c3dc69fed0cab0a7") +maintainer=("D3SOX ") # libindicator3-dev does not exist on debian incompatible=('debian:*') repology=("project: soundux") build() { + cd "${_archive}" mkdir -p build cd build || exit 1 cmake .. @@ -17,16 +18,17 @@ build() { } package() { + cd "${_archive}" cd build/ - sudo make install DESTDIR="${pkgdir}" + make install DESTDIR="${pkgdir}" # install doc - sudo install -Dm 644 -t "${pkgdir}/usr/share/doc/${name}" "../README.md" + install -Dm 644 -t "${pkgdir}/usr/share/doc/${pkgname}" "../README.md" # install license - sudo install -Dm 644 -t "${pkgdir}/usr/share/licenses/${name}" "../LICENSE" + install -Dm 644 -t "${pkgdir}/usr/share/licenses/${pkgname}" "../LICENSE" } post_remove() { - sudo rm -rf "/usr/share/doc/${name}" - sudo rm -rf "/usr/share/licenses/${name}" + sudo rm -rf "/usr/share/doc/${pkgname}" + sudo rm -rf "/usr/share/licenses/${pkgname}" } diff --git a/packages/spacecadetpinball-git/spacecadetpinball-git.pacscript b/packages/spacecadetpinball-git/spacecadetpinball-git.pacscript index 4a5e2bd23d..439dac4aaa 100644 --- a/packages/spacecadetpinball-git/spacecadetpinball-git.pacscript +++ b/packages/spacecadetpinball-git/spacecadetpinball-git.pacscript @@ -4,34 +4,34 @@ # \ // \/ -- \ # \__/\ / \_______ \______ / # \/ \/ \/ -maintainer="wizard-28 " +maintainer=("wizard-28 ") -name="spacecadetpinball-git" -pkgname="spacecadetpinball" +pkgname="spacecadetpinball-git" +gives="spacecadetpinball" pkgdesc='Reverse engineered port of "3D Pinball for Windows – Space Cadet" to Linux' -url="https://github.com/k4zmu2a/${pkgname}.git" +source=( + "https://github.com/k4zmu2a/${gives}.git" + "Space_Cadet.rar::https://archive.org/download/SpaceCadet_Plus95/Space_Cadet.rar" + "${gives}.desktop::https://raw.githubusercontent.com/pacstall/pacstall-programs/master/packages/${pkgname}/${gives}.desktop" +) +noextract=("Space_Cadet.rar") +sha256sums=( + "SKIP" + "3cc5dfd914c2ac41b03f006c7ccbb59d6f9e4c32ecfd1906e718c8e47f130f4a" + "6edc9d9e73f430b025d0efe09ecd9027d38f7c2e3562de470a8057939fb1889f" +) pkgver="2.0.1" depends=("timidity" "freepats" "libsdl2-2.0-0" "libsdl2-mixer-2.0-0") makedepends=("libsdl2-dev" "libsdl2-mixer-dev" "unrar" "cmake") -breaks=("${pkgname}" "${pkgname}-bin" "${pkgname}-app" "${pkgname}-deb") -pkgver() { - git ls-remote "${url}" master | cut -f1 | cut -c1-8 -} +breaks=("${gives}" "${gives}-bin" "${gives}-app" "${gives}-deb") prepare() { - # Download game data file - wget -q 'https://archive.org/download/SpaceCadet_Plus95/Space_Cadet.rar' - - # Check checksum - if [[ $(sha256sum ./Space_Cadet.rar | cut -d" " -f 1) != "3cc5dfd914c2ac41b03f006c7ccbb59d6f9e4c32ecfd1906e718c8e47f130f4a" ]]; then - fancy_message error "Downloading game data file failed. Checksum mismatch" - return 1 - fi - - unrar e -y Space_Cadet.rar Space_Cadet/ + cd "${_archive}" + unrar e -y "${srcdir}"/Space_Cadet.rar Space_Cadet/ } build() { + cd "${_archive}" cmake -B "build" \ -Wno-dev \ -DCMAKE_BUILD_TYPE=Release \ @@ -41,41 +41,36 @@ build() { } package() { + cd "${_archive}" # Install LICENSE - sudo install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}" + install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${gives}" # Install binary - sudo install -Dm755 "bin/SpaceCadetPinball" "${pkgdir}/usr/lib/${pkgname}/${pkgname}" + install -Dm755 "bin/SpaceCadetPinball" "${pkgdir}/usr/lib/${gives}/${gives}" # Install wrapper script - sudo install -Dm755 /dev/stdin "${pkgdir}/usr/bin/${pkgname}" << END + install -Dm755 /dev/stdin "${pkgdir}/usr/bin/${gives}" << END #!/bin/sh # Run program in correct directory so it can find it's resources -cd /usr/lib/${pkgname} -exec ./${pkgname} "\$@" +cd /usr/lib/${gives} +exec ./${gives} "\$@" END # Install resources ( cd Space_Cadet || return 1 - sudo install -m644 ./*.DAT ./*.DOC ./*.MID ./*.BMP ./*.INF ./*.WAV -t "${pkgdir}/usr/lib/${pkgname}" + install -m644 ./*.DAT ./*.DOC ./*.MID ./*.BMP ./*.INF ./*.WAV -t "${pkgdir}/usr/lib/${gives}" ) # Install icon - sudo install -Dm644 "SpaceCadetPinball/Icon_1.ico" "${pkgdir}/usr/lib/${pkgname}/icon.ico" - - wget -q "https://raw.githubusercontent.com/pacstall/pacstall-programs/master/packages/${name}/${pkgname}.desktop" + install -Dm644 "SpaceCadetPinball/Icon_1.ico" "${pkgdir}/usr/lib/${gives}/icon.ico" - if [[ $(sha256sum ./"${pkgname}".desktop | cut -d" " -f 1) != "6edc9d9e73f430b025d0efe09ecd9027d38f7c2e3562de470a8057939fb1889f" ]]; then - fancy_message error "Downloading desktop file failed. Checksum mismatch" - return 1 - fi # Install desktop launcher - sudo install -Dm644 "${pkgname}.desktop" -t "${pkgdir}/usr/share/applications" + install -Dm644 "${srcdir}/${gives}.desktop" -t "${pkgdir}/usr/share/applications" } post_remove() { - sudo rm -rf "/usr/share/licenses/${pkgname}" + sudo rm -rf "/usr/share/licenses/${gives}" } # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/spot-client-git/spot-client-git.pacscript b/packages/spot-client-git/spot-client-git.pacscript index 9190d70d81..7702593b36 100644 --- a/packages/spot-client-git/spot-client-git.pacscript +++ b/packages/spot-client-git/spot-client-git.pacscript @@ -1,22 +1,21 @@ -name="spot-client-git" +pkgname="spot-client-git" gives="spot-client" pkgdesc="Gtk/Rust native Spotify (premium only) client" -url="https://github.com/xou816/spot.git" +source=("https://github.com/xou816/spot.git") pkgver="0.4.0" repology=("project: ${gives}") incompatible=("ubuntu:bionic" "ubuntu:focal" "ubuntu:jammy" "ubuntu:kinetic" "debian:stretch" "debian:buster" "debian:bullseye" "debian:sid") -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") depends=("libgtk-4-dev" "libadwaita-1-dev" "libpulse-dev" "libasound2-dev" "libssl-dev" "openssl") makedepends=("libgtk-4-dev" "libadwaita-1-dev" "libpulse-dev" "libasound2-dev" "rustc" "cargo" "meson" "ninja-build" "cmake" "openssl" "libssl-dev") arch=('amd64') -pkgver() { - git ls-remote "${url}" development | cut -f1 | cut -c1-8 -} build() { - sudo meson target -Doffline=false --prefix="${pkgdir}/usr" + cd "${_archive}" + meson target -Doffline=false --prefix="${pkgdir}/usr" } package() { - sudo DESTDIR="${pkgdir}" ninja install -C target + cd "${_archive}" + DESTDIR="${pkgdir}" ninja install -C target } diff --git a/packages/spotify-client-deb/spotify-client-deb.pacscript b/packages/spotify-client-deb/spotify-client-deb.pacscript index a4e7d23344..dcdb5a6d98 100644 --- a/packages/spotify-client-deb/spotify-client-deb.pacscript +++ b/packages/spotify-client-deb/spotify-client-deb.pacscript @@ -1,12 +1,11 @@ -name="spotify-client-deb" +pkgname="spotify-client-deb" gives="spotify-client" -pkgname="spotify-client" repology=("project: spotify") -breaks=("${pkgname}-git" "${pkgname}-app" "${pkgname}-bin" "spotify") -replace=("${pkgname}") +breaks=("${gives}-git" "${gives}-app" "${gives}-bin" "spotify") +replaces=("${gives}") pkgver="1.2.31.1205.g4d59ad7c" -url="http://repository.spotify.com/pool/non-free/s/${gives}/${gives}_${pkgver}_amd64.deb" +source=("http://repository.spotify.com/pool/non-free/s/${gives}/${gives}_${pkgver}_amd64.deb") pkgdesc="Spotify streaming music client" -hash="71b724bd9ec37ccc37b340606bc37f46d47320b5fa429a4c9dce5bd24e07adb8" +sha256sums=("71b724bd9ec37ccc37b340606bc37f46d47320b5fa429a4c9dce5bd24e07adb8") arch=('amd64') -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") diff --git a/packages/st-distrotube-git/st-distrotube-git.pacscript b/packages/st-distrotube-git/st-distrotube-git.pacscript index b307cdd1da..0b4c6cad3f 100644 --- a/packages/st-distrotube-git/st-distrotube-git.pacscript +++ b/packages/st-distrotube-git/st-distrotube-git.pacscript @@ -1,20 +1,19 @@ -name="st-distrotube-git" -maintainer="edward-riley " -url="https://gitlab.com/dwt1/st-distrotube.git" +pkgname="st-distrotube-git" +maintainer=("edward-riley ") +source=("https://gitlab.com/dwt1/st-distrotube.git") pkgver="0.0.1" makedepends=("make" "libharfbuzz-bin" "libxft-dev" "libpango1.0-dev") depends=("fontconfig") gives="st" pkgdesc="Distrotube's st build" breaks="st" -pkgver() { - git ls-remote "${url}" master | cut -f1 | cut -c1-8 -} build() { + cd "${_archive}" make -j"${NCPU}" } package() { - sudo make install DESTDIR="${pkgdir}" + cd "${_archive}" + make install DESTDIR="${pkgdir}" } diff --git a/packages/st-lukesmith-git/st-lukesmith-git.pacscript b/packages/st-lukesmith-git/st-lukesmith-git.pacscript index 9496119dcc..0a99e92599 100644 --- a/packages/st-lukesmith-git/st-lukesmith-git.pacscript +++ b/packages/st-lukesmith-git/st-lukesmith-git.pacscript @@ -1,14 +1,12 @@ -name="st-lukesmith-git" +pkgname="st-lukesmith-git" gives="st" -url="https://github.com/LukeSmithxyz/st.git" +source=("https://github.com/LukeSmithxyz/st.git") pkgver="0.0.1" license="MIT" makedepends=("make" "libharfbuzz-bin" "libxft-dev" "libpango1.0-dev") depends=("fontconfig") -pkgver() { - git ls-remote "${url}" master | cut -f1 | cut -c1-8 -} package() { - sudo make install DESTDIR="${pkgdir}" + cd "${_archive}" + make install DESTDIR="${pkgdir}" } diff --git a/packages/starship-bin/starship-bin.pacscript b/packages/starship-bin/starship-bin.pacscript index 1bbdb2d361..c4ca5cd405 100644 --- a/packages/starship-bin/starship-bin.pacscript +++ b/packages/starship-bin/starship-bin.pacscript @@ -1,15 +1,15 @@ -name="starship-bin" -pkgname="starship" +pkgname="starship-bin" +gives="starship" pkgver="1.16.0" -gives="${pkgname}" -url="https://github.com/starship/starship/releases/download/v${pkgver}/starship-x86_64-unknown-linux-gnu.tar.gz" +source=("https://github.com/starship/starship/releases/download/v${pkgver}/starship-x86_64-unknown-linux-gnu.tar.gz") pkgdesc="The minimal, blazing-fast, and infinitely customizable prompt for any shell" -hash="bb797f4af36138581cb43d36f432d54312360da21dff4c38545675c7873758ae" +sha256sums=("bb797f4af36138581cb43d36f432d54312360da21dff4c38545675c7873758ae") arch=('amd64') -breaks=("${pkgname}" "${pkgname}-deb" "${pkgname}-app" "${pkgname}-git") -repology=("project: ${pkgname}") -maintainer="charitarthchugh <37895518+charitarthchugh@users.noreply.github.com>" +breaks=("${gives}" "${gives}-deb" "${gives}-app" "${gives}-git") +repology=("project: ${gives}") +maintainer=("charitarthchugh <37895518+charitarthchugh@users.noreply.github.com>") package() { - sudo install -Dm755 "${pkgname}" -t "${pkgdir}/usr/bin" + cd "${_archive}" + install -Dm755 "${gives}" -t "${pkgdir}/usr/bin" } diff --git a/packages/steam-deb/steam-deb.pacscript b/packages/steam-deb/steam-deb.pacscript index a78bdc1f6a..e002e6ee0f 100644 --- a/packages/steam-deb/steam-deb.pacscript +++ b/packages/steam-deb/steam-deb.pacscript @@ -1,10 +1,10 @@ -name="steam-deb" +pkgname="steam-deb" gives="steam-launcher" pkgver="1.0.0.79" breaks=("${gives}-bin" "${gives}-app") -replace=("${gives}") -url="https://cdn.cloudflare.steamstatic.com/client/installer/steam.deb" +replaces=("${gives}") +source=("https://cdn.cloudflare.steamstatic.com/client/installer/steam.deb") pkgdesc="Steam is a video game digital distribution service by Valve" repology=("project: ${gives}") arch=('amd64') -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") diff --git a/packages/steamtinkerlaunch-git/steamtinkerlaunch-git.pacscript b/packages/steamtinkerlaunch-git/steamtinkerlaunch-git.pacscript index bf9baaa473..d67f362c26 100644 --- a/packages/steamtinkerlaunch-git/steamtinkerlaunch-git.pacscript +++ b/packages/steamtinkerlaunch-git/steamtinkerlaunch-git.pacscript @@ -1,9 +1,9 @@ -name="steamtinkerlaunch-git" -url="https://github.com/frostworx/steamtinkerlaunch.git" +pkgname="steamtinkerlaunch-git" +source=("https://github.com/frostworx/steamtinkerlaunch.git") pkgver="12.12" depends=("gawk" "xdotool" "wget" "vim" "xdotool" "x11-utils") -breaks=("steamtinkerlaunch" "${name}-git" "${name}-deb" "${name}-app" "${name}-deb" "${name}-bin") -replace=("steamtinkerlaunch") +breaks=("steamtinkerlaunch" "${pkgname}-git" "${pkgname}-deb" "${pkgname}-app" "${pkgname}-deb" "${pkgname}-bin") +replaces=("steamtinkerlaunch") gives="steamtinkerlaunch" pkgdesc="Linux wrapper tool for use with the Steam client for custom launch options and 3rd party programs." optdepends=("strace: system call tracer" @@ -14,19 +14,17 @@ optdepends=("strace: system call tracer" "goverlay: vulkan overlay configurator" "scummvm: VM for point-and-click games" "gameconqueror: memory editing for cheating") -maintainer="echometerain " +maintainer=("echometerain ") pacdeps=("yad") -pkgver() { - git ls-remote "${url}" master | cut -f1 | cut -c1-8 -} package() { - sudo install -Dm755 steamtinkerlaunch -t "${pkgdir}/usr/bin" - sudo install -d "${pkgdir}/usr/share/steamtinkerlaunch" - sudo cp -r collections eval guicfgs lang misc "${pkgdir}/usr/share/steamtinkerlaunch" - sudo install -Dm644 README.md -t "${pkgdir}/usr/share/doc/steamtinkerlaunch" - sudo install -Dm644 "misc/steamtinkerlaunch.desktop" -t "${pkgdir}/usr/share/applications" - sudo install -Dm644 "misc/steamtinkerlaunch.svg" -t "${pkgdir}/usr/share/icons/hicolor/scalable/apps" + cd "${_archive}" + install -Dm755 steamtinkerlaunch -t "${pkgdir}/usr/bin" + install -d "${pkgdir}/usr/share/steamtinkerlaunch" + cp -r collections eval guicfgs lang misc "${pkgdir}/usr/share/steamtinkerlaunch" + install -Dm644 README.md -t "${pkgdir}/usr/share/doc/steamtinkerlaunch" + install -Dm644 "misc/steamtinkerlaunch.desktop" -t "${pkgdir}/usr/share/applications" + install -Dm644 "misc/steamtinkerlaunch.svg" -t "${pkgdir}/usr/share/icons/hicolor/scalable/apps" } post_install() { diff --git a/packages/stellarium/stellarium.pacscript b/packages/stellarium/stellarium.pacscript index 25d7faedc8..c460327118 100644 --- a/packages/stellarium/stellarium.pacscript +++ b/packages/stellarium/stellarium.pacscript @@ -1,12 +1,13 @@ -name="stellarium" +pkgname="stellarium" pkgver="23.2" -url="https://github.com/Stellarium/stellarium/releases/download/v${pkgver}/stellarium-${pkgver}.tar.xz" -maintainer="Elsie19 " +source=("https://github.com/Stellarium/stellarium/releases/download/v${pkgver}/stellarium-${pkgver}.tar.xz") +maintainer=("Elsie19 ") makedepends=("cmake" "zlib1g-dev" "libgl1-mesa-dev" "libdrm-dev" "gcc" "g++" "graphviz" "doxygen" "gettext" "libxkbcommon-x11-dev" "libgps-dev" "gstreamer1.0-plugins-base" "gstreamer1.0-plugins-good" "gstreamer1.0-pulseaudio" "gstreamer1.0-libav" "gstreamer1.0-vaapi" "qt6-base-private-dev" "qt6-multimedia-dev" "qt6-positioning-dev" "qt6-tools-dev" "qt6-tools-dev-tools" "qt6-base-dev-tools" "qt6-qpa-plugins" "qt6-image-formats-plugins" "qt6-l10n-tools" "qt6-webengine-dev" "qt6-webengine-dev-tools" "libqt6charts6-dev" "libqt6charts6" "libqt6opengl6-dev" "libqt6positioning6-plugins" "libqt6serialport6-dev" "qt6-base-dev" "libqt6webenginecore6-bin" "libqt6webengine6-data" "qml6-module-qtcharts") pkgdesc="Stellarium is a free open source planetarium for your computer. It shows a realistic sky in 3D, just like what you see with the naked eye, binoculars or a telescope." -hash="3aee154d0de3ed484e3e6fee027cf73e6dd0a677b3ea1af348b225ac02339008" +sha256sums=("3aee154d0de3ed484e3e6fee027cf73e6dd0a677b3ea1af348b225ac02339008") build() { + cd "${_archive}" mkdir -p build/unix cd build/unix cmake -DCMAKE_INSTALL_PREFIX="/opt/stellarium" ../.. @@ -14,6 +15,7 @@ build() { } package() { + cd "${_archive}" cd build/unix - sudo make install -j"${NCPU}" DESTDIR="${pkgdir}" + make install -j"${NCPU}" DESTDIR="${pkgdir}" } diff --git a/packages/stockfish-git/stockfish-git.pacscript b/packages/stockfish-git/stockfish-git.pacscript index 6489934c53..ea49bb0416 100644 --- a/packages/stockfish-git/stockfish-git.pacscript +++ b/packages/stockfish-git/stockfish-git.pacscript @@ -1,14 +1,11 @@ -name="stockfish-git" +pkgname="stockfish-git" gives="stockfish" pkgdesc="The Stockfish chess engine" homepage='https://stockfishchess.org/' -url="https://github.com/official-stockfish/Stockfish.git" -maintainer="pythoncrazy " +source=("https://github.com/official-stockfish/Stockfish.git") +maintainer=("pythoncrazy ") pkgver="0.0.1" breaks=("stockfish-git") -pkgver() { - git ls-remote "${url}" master | cut -f1 | cut -c1-8 -} build(){ cd src @@ -16,7 +13,8 @@ build(){ } package() { + cd "${_archive}" cd src make strip - sudo make install BINDIR="${pkgdir}/usr/local/bin" + make install BINDIR="${pkgdir}/usr/local/bin" } diff --git a/packages/stremio-deb/stremio-deb.pacscript b/packages/stremio-deb/stremio-deb.pacscript index 3dbcab1537..735992cafe 100644 --- a/packages/stremio-deb/stremio-deb.pacscript +++ b/packages/stremio-deb/stremio-deb.pacscript @@ -1,15 +1,15 @@ -name="stremio-deb" +pkgname="stremio-deb" gives="stremio" breaks=("${gives}-bin" "${gives}-git") repology=("project: ${gives}") -replace=("${gives}") +replaces=("${gives}") pkgver="4.4.168" arch=('amd64') pacdeps=("libssl1.1-deb" "libfdk-aac1-deb") -url="https://dl.strem.io/shell-linux/v${pkgver}/${gives}_${pkgver}-1_amd64.deb" +source=("https://dl.strem.io/shell-linux/v${pkgver}/${gives}_${pkgver}-1_amd64.deb") pkgdesc="Stremio is a free and open-source software that lets you watch movies, TV shows, web channels, sport, podcasts and more across your devices" -hash="1028f1a38a70fc66bfcda1c8a9e1674231e17ac81774fc48859ed8f53c7a6039" +sha256sums=("1028f1a38a70fc66bfcda1c8a9e1674231e17ac81774fc48859ed8f53c7a6039") incompatible=("ubuntu:noble" "ubuntu:mantic" "debian:*") -maintainer="Gianluca Mastrolonardo " +maintainer=("Gianluca Mastrolonardo ") # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/sublime-merge-deb/sublime-merge-deb.pacscript b/packages/sublime-merge-deb/sublime-merge-deb.pacscript index d613388de7..0d7d3914d9 100644 --- a/packages/sublime-merge-deb/sublime-merge-deb.pacscript +++ b/packages/sublime-merge-deb/sublime-merge-deb.pacscript @@ -1,11 +1,11 @@ -name="sublime-merge-deb" +pkgname="sublime-merge-deb" gives="sublime-merge" -replace=("${gives}") +replaces=("${gives}") pkgver="2092" -url="https://download.sublimetext.com/${gives}_build-${pkgver}_amd64.deb" +source=("https://download.sublimetext.com/${gives}_build-${pkgver}_amd64.deb") pkgdesc="Sublime text like Git GUI Client" -hash="8711a06674c011a6793f6f0f7c8f9fe2062f75227cb926e1c9c9ae6de3ca8d5e" +sha256sums=("8711a06674c011a6793f6f0f7c8f9fe2062f75227cb926e1c9c9ae6de3ca8d5e") arch=('amd64') -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") repology=("project: ${gives}") # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/sublime-text-deb/sublime-text-deb.pacscript b/packages/sublime-text-deb/sublime-text-deb.pacscript index ab9810cf1c..88508e021f 100644 --- a/packages/sublime-text-deb/sublime-text-deb.pacscript +++ b/packages/sublime-text-deb/sublime-text-deb.pacscript @@ -1,11 +1,11 @@ -name="sublime-text-deb" +pkgname="sublime-text-deb" gives="sublime-text" -replace=("${gives}") +replaces=("${gives}") pkgver="4169" -url="https://download.sublimetext.com/${gives}_build-${pkgver}_amd64.deb" +source=("https://download.sublimetext.com/${gives}_build-${pkgver}_amd64.deb") pkgdesc="Sublime text light text editor for programmers" -hash="e1bac169546317f246cc58adbdd20264c78486f12112b3c9ee303aa863c38f7f" +sha256sums=("e1bac169546317f246cc58adbdd20264c78486f12112b3c9ee303aa863c38f7f") arch=('amd64') -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") repology=("project: ${gives}") # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/surf-distrotube-git/surf-distrotube-git.pacscript b/packages/surf-distrotube-git/surf-distrotube-git.pacscript index 949fa72ad4..854b86ca59 100644 --- a/packages/surf-distrotube-git/surf-distrotube-git.pacscript +++ b/packages/surf-distrotube-git/surf-distrotube-git.pacscript @@ -1,24 +1,22 @@ -name="surf-distrotube-git" -pkgname="surf" -url="https://gitlab.com/dwt1/surf-distrotube.git" +pkgname="surf-distrotube-git" +gives="surf" +source=("https://gitlab.com/dwt1/surf-distrotube.git") pkgver="0.0.1" makedepends=("libc6" "libgcr-3-dev" "libglib2.0-dev" "libgtk-3-dev" "libwebkit2gtk-4.0-dev" "libx11-6") pacdeps=("dmenu") -gives="${pkgname}" -breaks=("${pkgname}") -replace=("${pkgname}") +breaks=("${gives}") +replaces=("${gives}") pkgdesc="Heavily-patched customized build of the Suckless surf web browser." -hash="88a73c57558d0d30752184f517d0b6930133ab506383efd394b60d9a04e6513f" -pkgver() { - git ls-remote "${url}" master | cut -f1 | cut -c1-8 -} +sha256sums=("88a73c57558d0d30752184f517d0b6930133ab506383efd394b60d9a04e6513f") build() { + cd "${_archive}" make -j"${NCPU}" } package() { - sudo make install DESTDIR="${pkgdir}" - sudo install -Dm644 "LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}" - sudo install -Dm644 "README.md" -t "${pkgdir}/usr/share/doc/${pkgname}" + cd "${_archive}" + make install DESTDIR="${pkgdir}" + install -Dm644 "LICENSE" -t "${pkgdir}/usr/share/licenses/${gives}" + install -Dm644 "README.md" -t "${pkgdir}/usr/share/doc/${gives}" } diff --git a/packages/surf/surf.pacscript b/packages/surf/surf.pacscript index 05a3c7d834..73c139074e 100644 --- a/packages/surf/surf.pacscript +++ b/packages/surf/surf.pacscript @@ -1,25 +1,27 @@ -name="surf" +pkgname="surf" pkgver="2.1" -url="https://dl.suckless.org/${name}/${name}-${pkgver}.tar.gz" +source=("https://dl.suckless.org/${pkgname}/${pkgname}-${pkgver}.tar.gz") makedepends=("make") depends=("libc6" "libgcr-3-dev" "libglib2.0-dev" "libgtk-3-dev" "libwebkit2gtk-4.0-dev" "libx11-6") -breaks=("${name}-git") -replace=("${name}") +breaks=("${pkgname}-git") +replaces=("${pkgname}") pkgdesc="surf is a simple web browser based on WebKit2/GTK+." -hash="72e582920ba25a646203e93c2d2331d87f03037a28894d6c7e99af00ee043257" -maintainer="WRM-42 " +sha256sums=("72e582920ba25a646203e93c2d2331d87f03037a28894d6c7e99af00ee043257") +maintainer=("WRM-42 ") build() { + cd "${_archive}" make -j"${NCPU}" } package() { - sudo make install DESTDIR="${pkgdir}" - sudo install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${name}" - sudo install -Dm644 README -t "${pkgdir}/usr/share/doc/${name}" + cd "${_archive}" + make install DESTDIR="${pkgdir}" + install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" + install -Dm644 README -t "${pkgdir}/usr/share/doc/${pkgname}" } post_remove() { - sudo rm -rf "/usr/share/licenses/${name}" - sudo rm -rf "/usr/share/doc/${name}" + sudo rm -rf "/usr/share/licenses/${pkgname}" + sudo rm -rf "/usr/share/doc/${pkgname}" } diff --git a/packages/surfshark-gui-deb/surfshark-gui-deb.pacscript b/packages/surfshark-gui-deb/surfshark-gui-deb.pacscript index 730d59deb6..22bea5aff6 100644 --- a/packages/surfshark-gui-deb/surfshark-gui-deb.pacscript +++ b/packages/surfshark-gui-deb/surfshark-gui-deb.pacscript @@ -1,9 +1,9 @@ -name="surfshark-gui-deb" +pkgname="surfshark-gui-deb" gives="surfshark" repology=("project: surfshark-gui") pkgver="1.3.0-1616" -url="https://ocean.surfshark.com/debian/pool/main/s/${gives}/${gives}_${pkgver}_amd64.deb" +source=("https://ocean.surfshark.com/debian/pool/main/s/${gives}/${gives}_${pkgver}_amd64.deb") pkgdesc="SurfShark VPN Client" -hash="a3ae250cc857ee3e7462452bd60b2bc453bad5df18fef3b2ce0fa4ff7ebb925d" +sha256sums=("a3ae250cc857ee3e7462452bd60b2bc453bad5df18fef3b2ce0fa4ff7ebb925d") arch=('amd64') -maintainer="WRM-42 " +maintainer=("WRM-42 ") diff --git a/packages/suru-icon-theme-git/suru-icon-theme-git.pacscript b/packages/suru-icon-theme-git/suru-icon-theme-git.pacscript index 9685384852..9edac3c2f5 100644 --- a/packages/suru-icon-theme-git/suru-icon-theme-git.pacscript +++ b/packages/suru-icon-theme-git/suru-icon-theme-git.pacscript @@ -1,18 +1,17 @@ -name="suru-icon-theme-git" +pkgname="suru-icon-theme-git" gives="suru-icon-theme" pkgver="0.0.1" -maintainer="aranym " -url="https://github.com/snwh/suru-icon-theme.git" +maintainer=("aranym ") +source=("https://github.com/snwh/suru-icon-theme.git") makedepends=("meson" "ninja-build") pkgdesc="Revitalization of the Suru icon set designed for Ubuntu Touch" -pkgver() { - git ls-remote "${url}" master | cut -f1 | cut -c1-8 -} build() { + cd "${_archive}" meson "build" --prefix="${pkgdir}/usr" } package() { - sudo ninja -C "build" install > /dev/null + cd "${_archive}" + ninja -C "build" install > /dev/null } diff --git a/packages/suyu-app/suyu-app.pacscript b/packages/suyu-app/suyu-app.pacscript index 7c1044e139..44e4c4d7de 100644 --- a/packages/suyu-app/suyu-app.pacscript +++ b/packages/suyu-app/suyu-app.pacscript @@ -1,4 +1,4 @@ -name="suyu-app" +pkgname="suyu-app" gives="suyu" pkgver="0.0.3" pkgdesc="Continuation of yuzu, the world's most popular, open-source, Nintendo Switch emulator" @@ -7,16 +7,17 @@ breaks=("${gives}-git") timestamp="20240410" commit="0de49070e4" appimage="${gives}--${timestamp}-${commit}.AppImage" -url="https://git.suyu.dev/${gives}/${gives}/releases/download/v${pkgver}/${appimage}" -hash="dbab16853bc1e8ad62fcaddf9b0620e690c8522fbbc6cdddcfcc958f9abb1f47" -maintainer="vigress8 " +source=("https://git.suyu.dev/${gives}/${gives}/releases/download/v${pkgver}/${appimage}") +sha256sums=("dbab16853bc1e8ad62fcaddf9b0620e690c8522fbbc6cdddcfcc958f9abb1f47") +maintainer=("vigress8 ") repology=("project: ${gives}") package() { - sudo chmod +x "${appimage}" + cd "${_archive}" + chmod +x "${appimage}" ./"${appimage}" --appimage-extract usr/share - sudo cp -a squashfs-root/usr "${pkgdir}" - sudo install -Dm755 "${appimage}" "${pkgdir}/opt/${gives}" - sudo install -dm644 "${pkgdir}/usr/bin" - sudo ln -s "/opt/${gives}" "${pkgdir}/usr/bin/${gives}" + cp -a squashfs-root/usr "${pkgdir}" + install -Dm755 "${appimage}" "${pkgdir}/opt/${gives}" + install -dm644 "${pkgdir}/usr/bin" + ln -s "/opt/${gives}" "${pkgdir}/usr/bin/${gives}" } diff --git a/packages/systemcoding-conky/systemcoding-conky.pacscript b/packages/systemcoding-conky/systemcoding-conky.pacscript index 939357c511..e6fa9f56f9 100644 --- a/packages/systemcoding-conky/systemcoding-conky.pacscript +++ b/packages/systemcoding-conky/systemcoding-conky.pacscript @@ -1,14 +1,14 @@ -name="systemcoding-conky" -pkgname="conky" +pkgname="systemcoding-conky" +gives="conky" pkgver="1.0" -url="https://github.com/systemcoding/systemcoding-conky/releases/download/release/systemcoding-conky.zip" -maintainer="System Coding " +source=("https://github.com/systemcoding/systemcoding-conky/releases/download/release/systemcoding-conky.zip") +maintainer=("System Coding ") makedepends=("conky" "lm-sensors") -gives="conky" pkgdesc="System Coding's Version Of Conky" -hash="345774e7af5ce7783a1168746243e252922cac7fe0e0b8039c272792492a365c" +sha256sums=("345774e7af5ce7783a1168746243e252922cac7fe0e0b8039c272792492a365c") breaks=("conky") package() { - sudo install -D conky/.conkyrc -t "${pkgdir}" + cd "${_archive}" + install -D conky/.conkyrc -t "${pkgdir}" } diff --git a/packages/tabby-deb/tabby-deb.pacscript b/packages/tabby-deb/tabby-deb.pacscript index fd0d425575..664ac756fa 100644 --- a/packages/tabby-deb/tabby-deb.pacscript +++ b/packages/tabby-deb/tabby-deb.pacscript @@ -1,9 +1,9 @@ -name="tabby-deb" +pkgname="tabby-deb" gives="tabby-terminal" breaks=("tabby" "tabby-app") pkgver="1.0.197" pkgdesc="A terminal for the modern age" -hash="aa1cc7936d80d8eb1bc0a50f55abb5120d1172877ffbe7bb2548d30f4c799fe5" -maintainer="Herisson " -url="https://github.com/Eugeny/tabby/releases/download/v${pkgver}/tabby-${pkgver}-linux-x64.deb" +sha256sums=("aa1cc7936d80d8eb1bc0a50f55abb5120d1172877ffbe7bb2548d30f4c799fe5") +maintainer=("Herisson ") +source=("https://github.com/Eugeny/tabby/releases/download/v${pkgver}/tabby-${pkgver}-linux-x64.deb") repology=("project: ${gives}") diff --git a/packages/tailscale/tailscale.pacscript b/packages/tailscale/tailscale.pacscript index ba83322e8e..84d351dd9e 100644 --- a/packages/tailscale/tailscale.pacscript +++ b/packages/tailscale/tailscale.pacscript @@ -1,22 +1,24 @@ -name="tailscale" +pkgname="tailscale" pkgver="1.58.2" -url="https://github.com/tailscale/tailscale/archive/refs/tags/v${pkgver}.tar.gz" -homepage="https://tailscale.com" +source=("https://github.com/tailscale/tailscale/archive/refs/tags/v${pkgver}.tar.gz") +url="https://tailscale.com" depends=('iptables') makedepends=('golang-go' 'git') pkgdesc="Private WireGuard networks made easy" -maintainer="Nathan " +maintainer=("Nathan ") arch=('amd64') -repology=("project: ${name}") +repology=("project: ${pkgname}") incompatible=('ubuntu:jammy' 'debian:bookworm') -hash="452f355408e4e2179872387a863387e06346fc8a6f9887821f9b8a072c6a5b0a" +sha256sums=("452f355408e4e2179872387a863387e06346fc8a6f9887821f9b8a072c6a5b0a") prepare() { + cd "${_archive}" go mod vendor sed -i 's,/usr/sbin,/usr/bin/,g' cmd/tailscaled/tailscaled.service } build() { + cd "${_archive}" export GO111MODULE=on export GOFLAGS="-buildmode=pie -mod=readonly -modcacherw" _GO_LDFLAGS="-compressdwarf=false \ @@ -29,8 +31,9 @@ build() { } package() { - sudo install -Dm755 tailscale tailscaled -t "${pkgdir}/usr/bin" - sudo install -Dm644 cmd/tailscaled/tailscaled.defaults "${pkgdir}/etc/default/tailscaled" - sudo install -Dm644 cmd/tailscaled/tailscaled.service -t "${pkgdir}/usr/lib/systemd/system" - sudo install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" + cd "${_archive}" + install -Dm755 tailscale tailscaled -t "${pkgdir}/usr/bin" + install -Dm644 cmd/tailscaled/tailscaled.defaults "${pkgdir}/etc/default/tailscaled" + install -Dm644 cmd/tailscaled/tailscaled.service -t "${pkgdir}/usr/lib/systemd/system" + install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${gives}" } diff --git a/packages/taskwarrior/taskwarrior.pacscript b/packages/taskwarrior/taskwarrior.pacscript index 2137242fe4..b39f45cc32 100644 --- a/packages/taskwarrior/taskwarrior.pacscript +++ b/packages/taskwarrior/taskwarrior.pacscript @@ -1,17 +1,18 @@ -name="taskwarrior" pkgname="taskwarrior" +gives="taskwarrior" repology=("project: taskwarrior") pkgver="2.6.2" -url="https://github.com/GothenburgBitFactory/taskwarrior/releases/download/v${pkgver}/task-${pkgver}.tar.gz" +source=("https://github.com/GothenburgBitFactory/taskwarrior/releases/download/v${pkgver}/task-${pkgver}.tar.gz") makedepends=("g++" "cmake" "git") depends=("uuid-dev" "gnutls-dev") pkgdesc="Taskwarrior is a command line task list management utility with a multitude of features, developed as a portable open source project with an active and quite vast ecosystem of tools, hooks and extensions." -hash="b1d3a7f000cd0fd60640670064e0e001613c9e1cb2242b9b3a9066c78862cfec" -maintainer="JonBoyleCoding " +sha256sums=("b1d3a7f000cd0fd60640670064e0e001613c9e1cb2242b9b3a9066c78862cfec") +maintainer=("JonBoyleCoding ") breaks=("taskwarrior-app" "taskwarrior-deb" "taskwarrior-bin" "taskwarrior-git") -replace=("taskwarrior") +replaces=("taskwarrior") build() { + cd "${_archive}" mkdir build cd build || exit cmake "../" -DCMAKE_INSTALL_PREFIX="${pkgdir}/usr" @@ -19,17 +20,18 @@ build() { } package() { - sudo make install + cd "${_archive}" + make install - sudo install -Dm644 "${pkgdir}/usr/share/doc/task/scripts/bash/task.sh" "${pkgdir}/usr/share/bash-completion/completions/task" - sudo install -Dm644 "${pkgdir}/usr/share/doc/task/scripts/fish/task.fish" "${pkgdir}/usr/share/fish/vendor_completions.d/task.fish" + install -Dm644 "${pkgdir}/usr/share/doc/task/scripts/bash/task.sh" "${pkgdir}/usr/share/bash-completion/completions/task" + install -Dm644 "${pkgdir}/usr/share/doc/task/scripts/fish/task.fish" "${pkgdir}/usr/share/fish/vendor_completions.d/task.fish" - sudo install -Dm644 "${pkgdir}/usr/share/doc/task/scripts/vim/ftdetect/task.vim" "${pkgdir}/usr/share/vim/vimfiles/ftdetect/task.vim" - sudo install -Dm644 "${pkgdir}/usr/share/doc/task/scripts/vim/syntax/taskdata.vim" "${pkgdir}/usr/share/vim/vimfiles/syntax/taskdata.vim" - sudo install -Dm644 "${pkgdir}/usr/share/doc/task/scripts/vim/syntax/taskedit.vim" "${pkgdir}/usr/share/vim/vimfiles/syntax/taskedit.vim" - sudo install -Dm644 "${pkgdir}/usr/share/doc/task/scripts/vim/syntax/taskrc.vim" "${pkgdir}/usr/share/vim/vimfiles/syntax/taskrc.vim" + install -Dm644 "${pkgdir}/usr/share/doc/task/scripts/vim/ftdetect/task.vim" "${pkgdir}/usr/share/vim/vimfiles/ftdetect/task.vim" + install -Dm644 "${pkgdir}/usr/share/doc/task/scripts/vim/syntax/taskdata.vim" "${pkgdir}/usr/share/vim/vimfiles/syntax/taskdata.vim" + install -Dm644 "${pkgdir}/usr/share/doc/task/scripts/vim/syntax/taskedit.vim" "${pkgdir}/usr/share/vim/vimfiles/syntax/taskedit.vim" + install -Dm644 "${pkgdir}/usr/share/doc/task/scripts/vim/syntax/taskrc.vim" "${pkgdir}/usr/share/vim/vimfiles/syntax/taskrc.vim" - sudo install -Dm644 "../LICENSE" "${pkgdir}/usr/share/licenses/task/LICENSE" + install -Dm644 "../LICENSE" "${pkgdir}/usr/share/licenses/task/LICENSE" } post_remove() { diff --git a/packages/tdrop-git/tdrop-git.pacscript b/packages/tdrop-git/tdrop-git.pacscript index 8c19c8b53c..bb21907896 100644 --- a/packages/tdrop-git/tdrop-git.pacscript +++ b/packages/tdrop-git/tdrop-git.pacscript @@ -1,19 +1,21 @@ -name="tdrop-git" +pkgname="tdrop-git" gives="tdrop" -url="https://github.com/noctuid/tdrop.git" +source=("https://github.com/noctuid/tdrop.git") pkgver="1.5.0" -homepage="https://github.com/noctuid/tdrop" +url="https://github.com/noctuid/tdrop" pkgdesc="A Glorified WM-Independent Dropdown Creator" -maintainer="Thomas Crha " +maintainer=("Thomas Crha ") depends=("xdotool" "bash" "gawk" "procps") prepare() { + cd "${_archive}" gzip -9n "tdrop.1" } package() { - sudo install -Dm755 "tdrop" "/usr/local/bin/tdrop" - sudo install -Dm644 "tdrop.1.gz" "/usr/local/share/man/man1/tdrop.1.gz" - sudo install -Dm644 "LICENSE" "/usr/local/share/licenses/tdrop/LICENSE" + cd "${_archive}" + install -Dm755 "tdrop" "/usr/local/bin/tdrop" + install -Dm644 "tdrop.1.gz" "/usr/local/share/man/man1/tdrop.1.gz" + install -Dm644 "LICENSE" "/usr/local/share/licenses/tdrop/LICENSE" } # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/teams-for-linux-deb/teams-for-linux-deb.pacscript b/packages/teams-for-linux-deb/teams-for-linux-deb.pacscript index fe43e3374f..2fa5a2e21f 100644 --- a/packages/teams-for-linux-deb/teams-for-linux-deb.pacscript +++ b/packages/teams-for-linux-deb/teams-for-linux-deb.pacscript @@ -1,11 +1,10 @@ -name="teams-for-linux-deb" +pkgname="teams-for-linux-deb" repology=("project: teams-for-linux") -pkgname="teams-for-linux" +gives="teams-for-linux" pkgver="1.4.26" -url="https://github.com/IsmaelMartinez/teams-for-linux/releases/download/v${pkgver}/teams-for-linux_${pkgver}_amd64.deb" -breaks=("${pkgname}" "${pkgname}-git" "${pkgname}-bin" "${pkgname}-app") -gives="${pkgname}" +source=("https://github.com/IsmaelMartinez/teams-for-linux/releases/download/v${pkgver}/teams-for-linux_${pkgver}_amd64.deb") +breaks=("${gives}" "${gives}-git" "${gives}-bin" "${gives}-app") pkgdesc="Unofficial Microsoft Teams client for Linux using Electron. It uses the Web App and wraps it as a standalone application using Electron." -hash="b222638dca7282a91ac6f8257e34bb7a3d74f7c4d1564ef3a04fa63dd91162e7" +sha256sums=("b222638dca7282a91ac6f8257e34bb7a3d74f7c4d1564ef3a04fa63dd91162e7") arch=('amd64') -maintainer="matusaurio " +maintainer=("matusaurio ") diff --git a/packages/teamviewer-deb/teamviewer-deb.pacscript b/packages/teamviewer-deb/teamviewer-deb.pacscript index 4ee361b8a6..d988526d99 100644 --- a/packages/teamviewer-deb/teamviewer-deb.pacscript +++ b/packages/teamviewer-deb/teamviewer-deb.pacscript @@ -1,22 +1,15 @@ -name="teamviewer-deb" -pkgname="teamviewer" +pkgname="teamviewer-deb" gives="teamviewer" pkgver="15.53.6" repology=("project: teamviewer") -replace=("${gives}") +replaces=("${gives}") breaks=("${gives}" "${gives}-bin" "${gives}-git" "${gives}-app" "${gives}-deb") depends=("libqt5x11extras5" "libqt5quickcontrols2-5" "libqt5webengine5" "libqt5svg5" "hicolor-icon-theme") arch=('amd64' 'arm64') -case "${CARCH}" in -amd64) - hash='9955eb3241b2684cae7845ae93102ffb41a8e176b52100a3973eb047667ceae3' - ;; -arm64) - hash='dd429662e8c72590d819fe73a27bcb99fc98348d8db38d20c595b26648430efd' - ;; -*) ;; -esac -url="https://download.teamviewer.com/download/linux/teamviewer_${CARCH}.deb" +sha256sums_amd64=("9955eb3241b2684cae7845ae93102ffb41a8e176b52100a3973eb047667ceae3") +sha256sums_arm64=("dd429662e8c72590d819fe73a27bcb99fc98348d8db38d20c595b26648430efd") + +source=("https://download.teamviewer.com/download/linux/teamviewer_${CARCH}.deb") pkgdesc="Application for remote desktop sharing and online meetings" license="custom" -maintainer="heyzsh " +maintainer=("heyzsh ") diff --git a/packages/tela-circle-icon-theme/tela-circle-icon-theme.pacscript b/packages/tela-circle-icon-theme/tela-circle-icon-theme.pacscript index 3cf6a70e7d..5cf433d348 100644 --- a/packages/tela-circle-icon-theme/tela-circle-icon-theme.pacscript +++ b/packages/tela-circle-icon-theme/tela-circle-icon-theme.pacscript @@ -1,26 +1,28 @@ -name="tela-circle-icon-theme" +pkgname="tela-circle-icon-theme" arch=('any') pkgver="2023-06-25" pkgdesc="A flat, colorful icon theme" repology=("project: tela-circle-icon-theme" "repo: aur") -url="https://github.com/vinceliuice/Tela-circle-icon-theme/archive/refs/tags/${pkgver}.zip" -hash="9caaf41608a565a82f1057391d3ac7a4a1e276d9df6fc56367b202ffb8484b48" -maintainer="Herisson " -gives="${name}" -breaks=("${name}" "${name}-git") +source=("https://github.com/vinceliuice/Tela-circle-icon-theme/archive/refs/tags/${pkgver}.zip") +sha256sums=("9caaf41608a565a82f1057391d3ac7a4a1e276d9df6fc56367b202ffb8484b48") +maintainer=("Herisson ") +gives="${pkgname}" +breaks=("${pkgname}" "${pkgname}-git") depends=("gtk-update-icon-cache") build() { - sudo mkdir -p "${pkgdir}/usr/share/${name}" + cd "${_archive}" + mkdir -p "${pkgdir}/usr/share/${pkgname}" } package() { + cd "${_archive}" for i in elementary links src; do - sudo cp -r "${i}" "${pkgdir}/usr/share/${name}" + cp -r "${i}" "${pkgdir}/usr/share/${pkgname}" done - sudo install -Dm755 install.sh -t "${pkgdir}/usr/share/${name}" - sudo install -Dm644 README.md -t "${pkgdir}/usr/share/${name}" + install -Dm755 install.sh -t "${pkgdir}/usr/share/${pkgname}" + install -Dm644 README.md -t "${pkgdir}/usr/share/${pkgname}" } post_install() { - ./usr/share/"${name}"/install.sh -c -a + ./usr/share/"${pkgname}"/install.sh -c -a } diff --git a/packages/telegram-bin/telegram-bin.pacscript b/packages/telegram-bin/telegram-bin.pacscript index 6fd2e86fde..b0506fd092 100644 --- a/packages/telegram-bin/telegram-bin.pacscript +++ b/packages/telegram-bin/telegram-bin.pacscript @@ -1,13 +1,14 @@ -name="telegram-bin" +pkgname="telegram-bin" gives="telegram" pkgver="4.14.9" -homepage="https://telegram.org/" +url="https://telegram.org/" pkgdesc="Telegram is a cloud-based mobile and desktop messaging app with a focus on security and speed" -url="https://updates.tdesktop.com/tlinux/tsetup.${pkgver}.tar.xz" -hash="f75239beeab815c9b1dada08e0ff84885fc85bc4919178545fffe7018ddffcc2" +source=("https://updates.tdesktop.com/tlinux/tsetup.${pkgver}.tar.xz") +sha256sums=("f75239beeab815c9b1dada08e0ff84885fc85bc4919178545fffe7018ddffcc2") repology=("project: telegram-desktop") -maintainer="Diegiwg " +maintainer=("Diegiwg ") package() { - sudo install -Dm755 "Telegram" "${pkgdir}/usr/bin/${gives}" + cd "${_archive}" + install -Dm755 "Telegram" "${pkgdir}/usr/bin/${gives}" } diff --git a/packages/tenacity-git/tenacity-git.pacscript b/packages/tenacity-git/tenacity-git.pacscript index 4bedc36b60..b0bf06ba8c 100644 --- a/packages/tenacity-git/tenacity-git.pacscript +++ b/packages/tenacity-git/tenacity-git.pacscript @@ -1,5 +1,5 @@ -name="tenacity-git" -url="https://codeberg.org/tenacityteam/tenacity.git" +pkgname="tenacity-git" +source=("https://codeberg.org/tenacityteam/tenacity.git") pkgver="1.3.1" makedepends=("python3-pip" "build-essential" "ninja-build" "libavcodec-dev" "libavformat-dev" "libavutil-dev" "libavdevice-dev" "libavfilter-dev" "libpostproc-dev" "libportsmf-dev" "libflac++-dev" "libglib2.0-dev" "libgtk-3-dev" "libid3tag0-dev" "libjack-jackd2-dev" "liblilv-dev" "libmad0-dev" "libmp3lame-dev" "libogg-dev" "libpng-dev" "portaudio19-dev" "libportmidi-dev" "libserd-dev" "libsndfile1-dev" "libsord-dev" "libsoundtouch-dev" "libsoxr-dev" "libsuil-dev" "libtwolame-dev" "vamp-plugin-sdk" "libvorbis-dev" "lv2-dev" "zlib1g-dev" "cmake" "ninja-build" "libjpeg-dev" "libtiff-dev" "liblzma-dev" "libsqlite3-dev" "libwxgtk3.2-dev" "libjsoncpp-dev" "libzip-dev" "zipcmp" "zipmerge" "ziptool" "libzip4" "gettext") depends=("libc6" "libexpat1" "libgcc-s1" "libgdk-pixbuf-2.0-0" "libglib2.0-0" "libgtk-3-0" "libid3tag0" "liblilv-0-0" "libmad0" "libogg0" "libportaudio2" "libsndfile1" "libsoundtouch1" "libsoxr0" "libstdc++6" "libsuil-0-0" "libtwolame0" "libvamp-hostsdk3v5" "libvorbis0a" "libvorbisenc2" "libvorbisfile3") @@ -18,14 +18,11 @@ case "${codename}" in depends+=("libavcodec60" "libavformat60" "libavutil58" "libflac++10" "libflac12" "libportsmf0v5" "libwxbase3.2-1" "libwxgtk3.2-1") ;; esac -replace=("audacity") +replaces=("audacity") pkgdesc="FLOSS Audacity Fork. No telemetry, crash reports and other shenanigans like that!" optdepends=("ffmpeg: additional import/export capabilities") -maintainer="echometerain " -pkgver() { - git ls-remote "${url}" main | cut -f1 | cut -c1-8 | head -n1 -} +maintainer=("echometerain ") incompatible=("ubuntu:bionic" "ubuntu:focal" "ubuntu:jammy" "debian:stretch" "debian:buster" "debian:bullseye") modern=("devel" "sid" "lunar" "bookworm" "mantic" "noble" "trixie" "testing" "unstable") @@ -37,16 +34,19 @@ else fi prepare() { - sudo pip3 install conan "${pyhack[@]}" + cd "${_archive}" + pip3 install conan "${pyhack[@]}" } build() { + cd "${_archive}" cmake -G Ninja -S . -B build \ -D CMAKE_BUILD_TYPE=Release \ -D CMAKE_INSTALL_PREFIX="${pkgdir}/usr/local" - sudo cmake --build build + cmake --build build } package() { - sudo cmake --install build + cd "${_archive}" + cmake --install build } diff --git a/packages/texstudio-app/texstudio-app.pacscript b/packages/texstudio-app/texstudio-app.pacscript index 6aef6b7127..00afd15524 100644 --- a/packages/texstudio-app/texstudio-app.pacscript +++ b/packages/texstudio-app/texstudio-app.pacscript @@ -1,22 +1,23 @@ -name="texstudio-app" +pkgname="texstudio-app" gives="texstudio" pkgver="4.7.2" pkgdesc="A fully featured LaTeX editor" homepage='https://www.texstudio.org' arch=('amd64') -replace=("${gives}") -url="https://github.com/texstudio-org/texstudio/releases/download/${pkgver}/${gives}-${pkgver}-x86_64.AppImage" +replaces=("${gives}") +source=("https://github.com/texstudio-org/texstudio/releases/download/${pkgver}/${gives}-${pkgver}-x86_64.AppImage") appimage="${gives}-${pkgver}-x86_64.AppImage" -hash="443f450cfcc0435623de9d4947026f3cfec9230ed1dc693021a2ae5ef9550136" +sha256sums=("443f450cfcc0435623de9d4947026f3cfec9230ed1dc693021a2ae5ef9550136") repology=("project: ${gives}") -maintainer="vigress8 " +maintainer=("vigress8 ") package() { + cd "${_archive}" chmod +x "${appimage}" ./"${appimage}" --appimage-extract "${gives}.desktop" &> /dev/null ./"${appimage}" --appimage-extract "${gives}.svg" &> /dev/null - sudo install -Dm755 "${appimage}" "${pkgdir}/usr/bin/${gives}" - sudo install -Dm644 "squashfs-root/${gives}.desktop" -t "${pkgdir}/usr/share/applications" - sudo install -Dm644 "squashfs-root/${gives}.svg" -t "${pkgdir}/usr/share/icons/hicolor/scalable/apps" + install -Dm755 "${appimage}" "${pkgdir}/usr/bin/${gives}" + install -Dm644 "squashfs-root/${gives}.desktop" -t "${pkgdir}/usr/share/applications" + install -Dm644 "squashfs-root/${gives}.svg" -t "${pkgdir}/usr/share/icons/hicolor/scalable/apps" } diff --git a/packages/tgpt-bin/tgpt-bin.pacscript b/packages/tgpt-bin/tgpt-bin.pacscript index ad93aa9ae3..b77e09f8a1 100644 --- a/packages/tgpt-bin/tgpt-bin.pacscript +++ b/packages/tgpt-bin/tgpt-bin.pacscript @@ -1,26 +1,17 @@ -name="tgpt-bin" +pkgname="tgpt-bin" gives="tgpt" pkgver="2.7.3" pkgdesc="AI chatbots in terminal without needing API keys" arch=("amd64" "arm64" "armhf" "i386") homepage='https://github.com/aandrew-me/tgpt' -url="https://github.com/aandrew-me/tgpt/releases/download/v${pkgver}/${gives}-linux-${CARCH/armhf/arm}" -case "${CARCH}" in - amd64) - hash="2d23406201b42c01ff1d7a9add89089cff40535adf0d585002fafcd39c34389a" - ;; - arm64) - hash="d7d5db3cc9238c25df8d2af48ff791dbc5714b0141192a6366267b7fd9a3f55d" - ;; - armhf) - hash="6d6bc35482c2f487986c1840fd8d64011e7b43a4f432b6a5c6747758b29fdac9" - ;; - i386) - hash="3b8fc616680330f4c34f2a787d7187ccbfee606f06616d8d54ff055115216815" - ;; - *) ;; -esac +source=("https://github.com/aandrew-me/tgpt/releases/download/v${pkgver}/${gives}-linux-${CARCH/armhf/arm}") +sha256sums_amd64=("2d23406201b42c01ff1d7a9add89089cff40535adf0d585002fafcd39c34389a") +sha256sums_arm64=("d7d5db3cc9238c25df8d2af48ff791dbc5714b0141192a6366267b7fd9a3f55d") +sha256sums_armhf=("6d6bc35482c2f487986c1840fd8d64011e7b43a4f432b6a5c6747758b29fdac9") +sha256sums_i386=("3b8fc616680330f4c34f2a787d7187ccbfee606f06616d8d54ff055115216815") + package() { - sudo install -Dm755 "${gives}-linux-${CARCH}" "${pkgdir}/usr/bin/${gives}" + cd "${_archive}" + install -Dm755 "${gives}-linux-${CARCH}" "${pkgdir}/usr/bin/${gives}" } diff --git a/packages/the-honkers-railway-launcher-bin/the-honkers-railway-launcher-bin.pacscript b/packages/the-honkers-railway-launcher-bin/the-honkers-railway-launcher-bin.pacscript old mode 100755 new mode 100644 index 20ef3ec623..f415a3b281 --- a/packages/the-honkers-railway-launcher-bin/the-honkers-railway-launcher-bin.pacscript +++ b/packages/the-honkers-railway-launcher-bin/the-honkers-railway-launcher-bin.pacscript @@ -1,12 +1,18 @@ -name="the-honkers-railway-launcher-bin" +pkgname="the-honkers-railway-launcher-bin" gives="the-honkers-railway-launcher" pkgver="1.5.4" pkgdesc="The Honkers Railway launcher for Linux with automatic patching and telemetry disabling" repology=("project: the-honkers-railway-launcher") -url="https://github.com/an-anime-team/the-honkers-railway-launcher/releases/download/${pkgver}/honkers-railway-launcher" -hash="c7ce99c94a629089caa1a7d22ac68dbddfb7a7e81c1e9f447b1b800f7ecf84ee" +source=( + "https://github.com/an-anime-team/the-honkers-railway-launcher/releases/download/${pkgver}/honkers-railway-launcher" + "icon.png::https://raw.githubusercontent.com/an-anime-team/the-honkers-railway-launcher/main/assets/images/icon.png" +) +sha256sums=( + "c7ce99c94a629089caa1a7d22ac68dbddfb7a7e81c1e9f447b1b800f7ecf84ee" + "SKIP" +) depends=("xdelta3") -maintainer="vbrabandt2005 " +maintainer=("vbrabandt2005 ") incompatible=("ubuntu:bionic" "ubuntu:focal" "ubuntu:jammy" "ubuntu:kinetic" "debian:stretch" "debian:buster" "debian:bullseye") breaks=("${gives}" "${gives}-deb" "${gives}-app" "${gives}-git") @@ -16,8 +22,9 @@ optdepends=( ) package() { - sudo install -Dm755 "honkers-railway-launcher" "${pkgdir}/usr/bin/${gives}" - sudo mkdir -p "${pkgdir}/usr/share/applications" + cd "${_archive}" + install -Dm755 "honkers-railway-launcher" "${pkgdir}/usr/bin/${gives}" + mkdir -p "${pkgdir}/usr/share/applications" echo '[Desktop Entry] Name=The Honkers Railway Launcher Icon=the-honkers-railway-launcher @@ -25,9 +32,8 @@ Exec=the-honkers-railway-launcher Type=Application Categories=Game; Terminal=false -X-AppImage-Version=2.4.2' | sudo tee "${pkgdir}/usr/share/applications/honkers-railway-launcher.desktop" > /dev/null - wget -q https://raw.githubusercontent.com/an-anime-team/the-honkers-railway-launcher/main/assets/images/icon.png - sudo install -Dm644 "icon.png" "${pkgdir}/usr/share/icons/hicolor/64x64/apps/the-honkers-railway-launcher.png" +X-AppImage-Version=2.4.2' | tee "${pkgdir}/usr/share/applications/honkers-railway-launcher.desktop" > /dev/null + install -Dm644 "${srcdir}/icon.png" "${pkgdir}/usr/share/icons/hicolor/64x64/apps/the-honkers-railway-launcher.png" } diff --git a/packages/thorium-deb/thorium-deb.pacscript b/packages/thorium-deb/thorium-deb.pacscript index 5f5b7e4bd6..891e53eb52 100644 --- a/packages/thorium-deb/thorium-deb.pacscript +++ b/packages/thorium-deb/thorium-deb.pacscript @@ -1,14 +1,11 @@ -name="thorium-deb" +pkgname="thorium-deb" gives="thorium-browser" pkgver="123.0.6312.133" arch=('arm64' 'amd64') -if [[ ${CARCH} == "arm64" ]]; then - url="https://github.com/Alex313031/Thorium-Raspi/releases/download/M${pkgver}/${gives}_${pkgver}_arm64.deb" - hash="f204ee72c949d98e19c71114ea7bf4a0dc19e351bc168050154e26444372c868" -else - url="https://github.com/Alex313031/thorium/releases/download/M${pkgver}/${gives}_${pkgver}_SSE3.deb" - hash="cbb2d6a1b6a70130242c6a5856c5e07e68a8c4f10e86fb24bf10c82b4dd4a262" -fi -maintainer="Oren Klopfer " +sha256sums_arm64=("f204ee72c949d98e19c71114ea7bf4a0dc19e351bc168050154e26444372c868") +source_arm64=("https://github.com/Alex313031/Thorium-Raspi/releases/download/M${pkgver}/${gives}_${pkgver}_arm64.deb") +sha256sums_amd64=("cbb2d6a1b6a70130242c6a5856c5e07e68a8c4f10e86fb24bf10c82b4dd4a262") +source_amd64=("https://github.com/Alex313031/thorium/releases/download/M${pkgver}/${gives}_${pkgver}_SSE3.deb") +maintainer=("Oren Klopfer ") pkgdesc="Chromium fork for linux with extra patches" repology=("project: thorium-browser") diff --git a/packages/thrive-deb/thrive-deb.pacscript b/packages/thrive-deb/thrive-deb.pacscript index d1a4671d03..cdcfa552a0 100644 --- a/packages/thrive-deb/thrive-deb.pacscript +++ b/packages/thrive-deb/thrive-deb.pacscript @@ -1,9 +1,9 @@ -name="thrive-deb" +pkgname="thrive-deb" gives="thrive-launcher" pkgver="1.3.0" pkgdesc="Thrive launcher is a desktop application that manages downloading and installing the game releases" -url="https://github.com/Revolutionary-Games/Thrive-Launcher/releases/download/v${pkgver}/thrive-launcher_${pkgver}_amd64.deb" -hash="36a648f9e23049a8e83db6ef52eefb06d32117e75bb4d0033994b454e944ebfd" +source=("https://github.com/Revolutionary-Games/Thrive-Launcher/releases/download/v${pkgver}/thrive-launcher_${pkgver}_amd64.deb") +sha256sums=("36a648f9e23049a8e83db6ef52eefb06d32117e75bb4d0033994b454e944ebfd") arch=('amd64') -maintainer="Elsie19 " +maintainer=("Elsie19 ") # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/ticktick-deb/ticktick-deb.pacscript b/packages/ticktick-deb/ticktick-deb.pacscript index 11006c0d84..9d98577df3 100644 --- a/packages/ticktick-deb/ticktick-deb.pacscript +++ b/packages/ticktick-deb/ticktick-deb.pacscript @@ -1,24 +1,14 @@ -name="ticktick-deb" +pkgname="ticktick-deb" gives="ticktick" repology=("project: ticktick" "repo: aur") pkgver="2.0.10" -replace=("${gives}") +replaces=("${gives}") breaks=("${gives}" "${gives}-bin" "${gives}-git" "${gives}-app" "${gives}-deb") -case "${CARCH}" in - amd64) - url="https://ticktick-download-linux.s3.amazonaws.com/download/linux/linux_deb_x64/ticktick-${pkgver}-amd64.deb" - hash="c22827ed4d69e075fafd1c27326da255235a611867f086ba4107795fa9b70741" - arch=("amd64") - ;; - arm64) - url="https://ticktick-download-linux.s3.amazonaws.com/download/linux/linux_deb_x64/ticktick-${pkgver}-arm64.deb" - hash="8e5c2ff5c9f223d5803b153a38ab34dbf326c6c4f107549df64fceb24f3a0521" - arch=("arm64") - ;; - *) - return 1 - ;; -esac -homepage="https://ticktick.com" +source_amd64=("https://ticktick-download-linux.s3.amazonaws.com/download/linux/linux_deb_x64/ticktick-${pkgver}-amd64.deb") +sha256sums_amd64=("c22827ed4d69e075fafd1c27326da255235a611867f086ba4107795fa9b70741") +source_arm64=("https://ticktick-download-linux.s3.amazonaws.com/download/linux/linux_deb_x64/ticktick-${pkgver}-arm64.deb") +sha256sums_arm64=("8e5c2ff5c9f223d5803b153a38ab34dbf326c6c4f107549df64fceb24f3a0521") + +url="https://ticktick.com" pkgdesc="A powerful to-do & task management app with seamless cloud synchronization across all your devices" -maintainer="Arrowsome " +maintainer=("Arrowsome ") diff --git a/packages/tidal-hifi-bin/tidal-hifi-bin.pacscript b/packages/tidal-hifi-bin/tidal-hifi-bin.pacscript index 930947617f..0384fe0bd0 100644 --- a/packages/tidal-hifi-bin/tidal-hifi-bin.pacscript +++ b/packages/tidal-hifi-bin/tidal-hifi-bin.pacscript @@ -1,29 +1,35 @@ -name="tidal-hifi-bin" -pkgname="tidal-hifi" +pkgname="tidal-hifi-bin" +gives="tidal-hifi" pkgver="5.8.0" pkgdesc="The web version of listen.tidal.com running in electron with hifi support thanks to widevine" repology=("project: tidal-hifi" "visiblename: tidal-hifi-bin") -url="https://github.com/Mastermindzh/tidal-hifi/releases/download/${pkgver}/tidal-hifi-${pkgver}.tar.gz" -hash="598da80fc2cfe4065f0ba07fbb08ecab44e8dde76ba8d88d2a491cc6f3780ce9" -maintainer="Oren Klopfer " -gives="${pkgname}" -breaks=("${pkgname}" "${pkgname}-deb" "${pkgname}-app" "${pkgname}-git") +source=( + "https://github.com/Mastermindzh/tidal-hifi/releases/download/${pkgver}/tidal-hifi-${pkgver}.tar.gz" + "icon.png::https://github.com/Mastermindzh/tidal-hifi/raw/master/build/icon.png" + "tidal-hifi.desktop::https://aur.archlinux.org/cgit/aur.git/plain/tidal-hifi.desktop?h=tidal-hifi-bin" +) +sha256sums=( + "598da80fc2cfe4065f0ba07fbb08ecab44e8dde76ba8d88d2a491cc6f3780ce9" + "SKIP" + "SKIP" +) +maintainer=("Oren Klopfer ") +breaks=("${gives}" "${gives}-deb" "${gives}-app" "${gives}-git") depends=("libxss1" "libnss3" "libgtk-3-0") package() { + cd "${_archive}" # Get icon from github and install it - wget -q "https://github.com/Mastermindzh/tidal-hifi/raw/master/build/icon.png" - sudo install -Dm644 icon.png "${pkgdir}/usr/share/pixmaps/${pkgname}.png" + install -Dm644 "${srcdir}"/icon.png "${pkgdir}/usr/share/pixmaps/${gives}.png" # Get desktop file and install it - wget -q "https://aur.archlinux.org/cgit/aur.git/plain/tidal-hifi.desktop?h=tidal-hifi-bin" -O tidal-hifi.desktop - sudo install -Dm644 tidal-hifi.desktop -t "${pkgdir}/usr/share/applications" + install -Dm644 "${srcdir}"/tidal-hifi.desktop -t "${pkgdir}/usr/share/applications" # Install the rest of the app - sudo install -d "${pkgdir}/opt/${pkgname}/" "${pkgdir}/usr/bin" + install -d "${pkgdir}/opt/${gives}/" "${pkgdir}/usr/bin" - sudo cp -r "${SRCDIR}/tidal-hifi-${pkgver}/"* "${pkgdir}/opt/${pkgname}/" - sudo chmod +x "${pkgdir}/opt/${pkgname}/tidal-hifi" - sudo mkdir -p "${pkgdir}/usr/bin" - sudo ln -sf "/opt/${pkgname}/tidal-hifi" "${pkgdir}/usr/bin/tidal-hifi" + cp -r "${srcdir}/tidal-hifi-${pkgver}/"* "${pkgdir}/opt/${gives}/" + chmod +x "${pkgdir}/opt/${gives}/tidal-hifi" + mkdir -p "${pkgdir}/usr/bin" + ln -sf "/opt/${gives}/tidal-hifi" "${pkgdir}/usr/bin/tidal-hifi" } diff --git a/packages/timeshift/timeshift.pacscript b/packages/timeshift/timeshift.pacscript index 380173eebe..b5e16b6e81 100644 --- a/packages/timeshift/timeshift.pacscript +++ b/packages/timeshift/timeshift.pacscript @@ -1,23 +1,25 @@ -name="timeshift" +pkgname="timeshift" repology=("project: timeshift") pkgver="23.07.1" pkgrel="2" -maintainer="Paul Cosma (saenai) " -url="https://github.com/linuxmint/timeshift/archive/refs/tags/${pkgver}.zip" -hash="7b468430198c4e8c5c502258f1f67d15f0e68c3f58189d6e80b661cbdaf740f2" +maintainer=("Paul Cosma (saenai) ") +source=("https://github.com/linuxmint/timeshift/archive/refs/tags/${pkgver}.zip") +sha256sums=("7b468430198c4e8c5c502258f1f67d15f0e68c3f58189d6e80b661cbdaf740f2") makedepends=("debhelper" "autotools-dev" "gzip" "valac" "libgtk-3-dev" "libgee-0.8-dev" "libjson-glib-dev" "libvte-2.91-dev" "libxapp-dev" "meson" "ninja-build" "help2man") depends=("rsync" "btrfs-progs") -breaks=("${name}-git" "${name}-deb" "${name}-bin" "${name}-app") -replace=("timeshift-btrfs") +breaks=("${pkgname}-git" "${pkgname}-deb" "${pkgname}-bin" "${pkgname}-app") +replaces=("timeshift-btrfs") pkgdesc="System restore utility that takes snapshots at regular intervals using rsync or BTRFS." build() { - sudo meson setup build - sudo ninja -C build -j"${NCPU}" + cd "${_archive}" + meson setup build + ninja -C build -j"${NCPU}" } package() { - sudo DESTDIR="${pkgdir}" ninja -C build install + cd "${_archive}" + DESTDIR="${pkgdir}" ninja -C build install } # FIX: workaround broken pkexec usage from upstream diff --git a/packages/tixati-deb/tixati-deb.pacscript b/packages/tixati-deb/tixati-deb.pacscript index ff023c8294..019a781444 100644 --- a/packages/tixati-deb/tixati-deb.pacscript +++ b/packages/tixati-deb/tixati-deb.pacscript @@ -1,13 +1,12 @@ -name="tixati-deb" -pkgname="tixati" +pkgname="tixati-deb" gives="tixati" pkgver="3.19" repology=("project: tixati") -replace=("${gives}") +replaces=("${gives}") breaks=("${gives}-bin" "${gives}-git" "${gives}-app") depends=("traceroute") -url="https://download2.tixati.com/download/${gives}_${pkgver}-1_amd64.deb" +source=("https://download2.tixati.com/download/${gives}_${pkgver}-1_amd64.deb") pkgdesc="Tixati is a peer-to-peer file sharing program that uses the popular BitTorrent protocol" -hash="68dd8a2db7400cb85e53d0ffac2a74ab66cbb4a8d56b2a509eb043f84b883cc9" +sha256sums=("68dd8a2db7400cb85e53d0ffac2a74ab66cbb4a8d56b2a509eb043f84b883cc9") arch=('amd64') -maintainer="heyzsh " +maintainer=("heyzsh ") diff --git a/packages/tmpmail-bin/tmpmail-bin.pacscript b/packages/tmpmail-bin/tmpmail-bin.pacscript index 658cc0d324..dd12233787 100644 --- a/packages/tmpmail-bin/tmpmail-bin.pacscript +++ b/packages/tmpmail-bin/tmpmail-bin.pacscript @@ -4,36 +4,36 @@ # \ // \/ -- \ # \__/\ / \_______ \______ / # \/ \/ \/ -maintainer="wizard-28 " +maintainer=("wizard-28 ") -name="tmpmail-bin" -pkgname="tmpmail" +pkgname="tmpmail-bin" +gives="tmpmail" pkgver="1.2.3" pkgdesc="A temporary email right from your terminal written in POSIX sh" -url="https://github.com/sdushantha/tmpmail/archive/refs/tags/v${pkgver}.tar.gz" +source=("https://github.com/sdushantha/tmpmail/archive/refs/tags/v${pkgver}.tar.gz") depends=("w3m" "curl" "jq") -gives="${pkgname}" -breaks=("${pkgname}" "${pkgname}-git" "${pkgname}-deb" "${pkgname}-app") -hash="8d12f5474b89ee585413ec32cc9991a971a00e8bb63ac8e5a2e736f734f37cfb" -repology=("project: ${pkgname}") +breaks=("${gives}" "${gives}-git" "${gives}-deb" "${gives}-app") +sha256sums=("8d12f5474b89ee585413ec32cc9991a971a00e8bb63ac8e5a2e736f734f37cfb") +repology=("project: ${gives}") package() { + cd "${_archive}" # Install license - sudo install -Dm644 "LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}" + install -Dm644 "LICENSE" -t "${pkgdir}/usr/share/licenses/${gives}" # Install man page - sudo install -Dm644 "tmpmail.1" -t "${pkgdir}/usr/share/man/man1" + install -Dm644 "tmpmail.1" -t "${pkgdir}/usr/share/man/man1" # Install README - sudo install -Dm644 "README.md" -t "${pkgdir}/usr/share/doc/${pkgname}" + install -Dm644 "README.md" -t "${pkgdir}/usr/share/doc/${gives}" # Install binary - sudo install -Dm755 "tmpmail" -t "${pkgdir}/usr/bin" + install -Dm755 "tmpmail" -t "${pkgdir}/usr/bin" } post_remove() { # Remove empty directories - sudo rm -rf "/usr/share/licenses/${pkgname}" - sudo rm -rf "/usr/share/doc/${pkgname}" + sudo rm -rf "/usr/share/licenses/${gives}" + sudo rm -rf "/usr/share/doc/${gives}" } # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/tmux/tmux.pacscript b/packages/tmux/tmux.pacscript index 4055799629..27d61365b5 100644 --- a/packages/tmux/tmux.pacscript +++ b/packages/tmux/tmux.pacscript @@ -1,15 +1,16 @@ -name="tmux" +pkgname="tmux" pkgver="3.3" -url="https://github.com/tmux/tmux/releases/download/${pkgver}/tmux-${pkgver}.tar.gz" +source=("https://github.com/tmux/tmux/releases/download/${pkgver}/tmux-${pkgver}.tar.gz") makedepends=("gcc" "make" "pkg-config" "bison" "libncurses-dev" "libevent-dev") -breaks=("${name}-git" "${name}-bin" "${name}-deb" "${name}-app") -replace=("tmux") +breaks=("${pkgname}-git" "${pkgname}-bin" "${pkgname}-deb" "${pkgname}-app") +replaces=("tmux") pkgdesc="A terminal multiplexer" -hash="b2382ac391f6a1c5b93293016cdc9488337d9a04b9d611ae05eac164740351dc" +sha256sums=("b2382ac391f6a1c5b93293016cdc9488337d9a04b9d611ae05eac164740351dc") optdepends=("libutempter-dev: Record user sessions to utmp and wtmp files") -maintainer="Harshwardhan Mehrotra " +maintainer=("Harshwardhan Mehrotra ") build() { + cd "${_archive}" # Check if `libutempter-dev` ( optdepends ) is installed if dpkg-query -W libutempter-dev > /dev/null 2>&1; then ./configure --enable-utempter @@ -20,7 +21,8 @@ build() { } package() { - sudo make install DESTDIR="${pkgdir}" - sudo install -Dm755 example_tmux.conf "${pkgdir}/usr/share/tmux/example_tmux.conf" - sudo install -Dm0644 COPYING "${pkgdir}/usr/share/licenses/tmux/LICENSE" + cd "${_archive}" + make install DESTDIR="${pkgdir}" + install -Dm755 example_tmux.conf "${pkgdir}/usr/share/tmux/example_tmux.conf" + install -Dm0644 COPYING "${pkgdir}/usr/share/licenses/tmux/LICENSE" } diff --git a/packages/topgrade-bin/topgrade-bin.pacscript b/packages/topgrade-bin/topgrade-bin.pacscript index f2c72f8c2f..1d1988752d 100644 --- a/packages/topgrade-bin/topgrade-bin.pacscript +++ b/packages/topgrade-bin/topgrade-bin.pacscript @@ -1,21 +1,21 @@ -name="topgrade-bin" -pkgname="topgrade" +pkgname="topgrade-bin" +gives="topgrade" pkgver="13.0.0" arch=('amd64' 'arm64') +sha256sums_amd64=("b9bbab3a2cbea68bd3476ae858a00f74a57e6224a7fbef0ed0de5273ac95affd") +sha256sums_arm64=("5079a1f50f2fd2d7954639f5eb14db38094f78493e2292a945f9f5ac60bfff5d") if [[ ${CARCH} == amd64 ]]; then - hash="b9bbab3a2cbea68bd3476ae858a00f74a57e6224a7fbef0ed0de5273ac95affd" arch_prefix="x86_64" else - hash="5079a1f50f2fd2d7954639f5eb14db38094f78493e2292a945f9f5ac60bfff5d" arch_prefix="aarch64" fi -url="https://github.com/topgrade-rs/topgrade/releases/download/v${pkgver}/topgrade-v${pkgver}-${arch_prefix}-unknown-linux-gnu.tar.gz" +source=("https://github.com/topgrade-rs/topgrade/releases/download/v${pkgver}/topgrade-v${pkgver}-${arch_prefix}-unknown-linux-gnu.tar.gz") pkgdesc="Upgrades everything on your system" -breaks=("${pkgname}" "${pkgname}-deb" "${pkgname}-app" "${pkgname}-git" "${pkgname}-musl-bin") -gives="${pkgname}" -repology=("project: ${pkgname}") -maintainer="Oren Klopfer " +breaks=("${gives}" "${gives}-deb" "${gives}-app" "${gives}-git" "${gives}-musl-bin") +repology=("project: ${gives}") +maintainer=("Oren Klopfer ") package() { - sudo install -Dm755 "${pkgname}" -t "${pkgdir}/usr/bin" + cd "${_archive}" + install -Dm755 "${gives}" -t "${pkgdir}/usr/bin" } diff --git a/packages/topgrade-musl-bin/topgrade-musl-bin.pacscript b/packages/topgrade-musl-bin/topgrade-musl-bin.pacscript index 3a2f675b5e..5db836f19a 100644 --- a/packages/topgrade-musl-bin/topgrade-musl-bin.pacscript +++ b/packages/topgrade-musl-bin/topgrade-musl-bin.pacscript @@ -1,15 +1,15 @@ -name="topgrade-musl-bin" -pkgname="topgrade" +pkgname="topgrade-musl-bin" +gives="topgrade" pkgver="14.0.0" -url="https://github.com/topgrade-rs/topgrade/releases/download/v${pkgver}/topgrade-v${pkgver}-x86_64-unknown-linux-musl.tar.gz" +source=("https://github.com/topgrade-rs/topgrade/releases/download/v${pkgver}/topgrade-v${pkgver}-x86_64-unknown-linux-musl.tar.gz") pkgdesc="Upgrades everything on your system" -hash="f9fc5378ef86dc40efbd0e40a7b62b8e1470ce4f00c0ea101f512520d3bfe797" +sha256sums=("f9fc5378ef86dc40efbd0e40a7b62b8e1470ce4f00c0ea101f512520d3bfe797") arch=('amd64') -breaks=("${pkgname}" "${pkgname}-deb" "${pkgname}-app" "${pkgname}-git" "${pkgname}-bin") -gives="${pkgname}" -repology=("project: ${pkgname}") -maintainer="Oren Klopfer " +breaks=("${gives}" "${gives}-deb" "${gives}-app" "${gives}-git" "${gives}-bin") +repology=("project: ${gives}") +maintainer=("Oren Klopfer ") package() { - sudo install -Dm755 "${pkgname}" -t "${pkgdir}/usr/bin" + cd "${_archive}" + install -Dm755 "${gives}" -t "${pkgdir}/usr/bin" } diff --git a/packages/tor/tor.pacscript b/packages/tor/tor.pacscript index 01e9921f16..b4ebd03049 100644 --- a/packages/tor/tor.pacscript +++ b/packages/tor/tor.pacscript @@ -1,19 +1,21 @@ -name="tor" -repology=("project: ${name}") -replace=("${name}") -breaks=("${name}-git") +pkgname="tor" +repology=("project: ${pkgname}") +replaces=("${pkgname}") +breaks=("${pkgname}-git") pkgver="0.4.7.13" -url="https://dist.torproject.org/${name}-${pkgver}.tar.gz" +source=("https://dist.torproject.org/${pkgname}-${pkgver}.tar.gz") makedepends=("make" "autoconf" "libevent-dev" "libnss3-dev" "libzstd-dev" "liblzma-dev" "openssl" "libssl-dev" "ca-certificates" "libseccomp-dev" "zlib1g-dev") depends=("openssl") pkgdesc="Tor protects your privacy on the internet by hiding the connection between your Internet address and the services you use" -hash="2079172cce034556f110048e26083ce9bea751f3154b0ad2809751815b11ea9d" +sha256sums=("2079172cce034556f110048e26083ce9bea751f3154b0ad2809751815b11ea9d") build() { + cd "${_archive}" ./configure --enable-lzma --enable-zstd make -j"${NCPU}" } package() { - sudo make install DESTDIR="${pkgdir}" + cd "${_archive}" + make install DESTDIR="${pkgdir}" } diff --git a/packages/torbrowser-launcher-git/torbrowser-launcher-git.pacscript b/packages/torbrowser-launcher-git/torbrowser-launcher-git.pacscript index b89d8a2a74..5f32bc03bc 100644 --- a/packages/torbrowser-launcher-git/torbrowser-launcher-git.pacscript +++ b/packages/torbrowser-launcher-git/torbrowser-launcher-git.pacscript @@ -1,17 +1,14 @@ -name="torbrowser-launcher-git" +pkgname="torbrowser-launcher-git" gives="torbrowser-launcher" breaks=("${gives}") repology=("project: ${gives}") -url="https://github.com/micahflee/torbrowser-launcher.git" +source=("https://github.com/micahflee/torbrowser-launcher.git") pkgver="0.3.6" makedepends=("build-essential") depends=("gettext" "python3-pip" "dh-python" "python3-all" "python3-pyqt5" "python3-gpg" "python3-requests" "python3-socks" "python3-packaging" "gnupg2" "tor") pkgdesc="Securely and easily download, verify, install, and launch Tor Browser in Linux" optdepends=("apparmor: support for apparmor profiles") -maintainer="Oren Klopfer " -pkgver() { - git ls-remote "${url}" main | cut -f1 | cut -c1-8 -} +maintainer=("Oren Klopfer ") release="$(lsb_release -cs)" modern=("devel" "sid" "lunar" "bookworm" "mantic" "noble" "trixie" "testing" "unstable") @@ -23,13 +20,16 @@ else fi prepare() { - sudo pip3 install distro "${pyhack[@]}" + cd "${_archive}" + pip3 install distro "${pyhack[@]}" } build() { + cd "${_archive}" python3 setup.py build } package() { - sudo python3 setup.py install --root="${pkgdir}" --optimize=1 + cd "${_archive}" + python3 setup.py install --root="${pkgdir}" --optimize=1 } diff --git a/packages/torguard-deb/torguard-deb.pacscript b/packages/torguard-deb/torguard-deb.pacscript index 9a965fa7d8..54d20a1067 100644 --- a/packages/torguard-deb/torguard-deb.pacscript +++ b/packages/torguard-deb/torguard-deb.pacscript @@ -1,11 +1,11 @@ -name="torguard-deb" +pkgname="torguard-deb" gives="torguard" repology=("project: ${gives}") -replace=("${gives}") +replaces=("${gives}") breaks="${gives}-bin" pkgver="4.8.28" -url="https://updates.torguard.biz/Software/Linux/${gives}-v${pkgver}-amd64.deb" +source=("https://updates.torguard.biz/Software/Linux/${gives}-v${pkgver}-amd64.deb") pkgdesc="TorGuard VPN Software" -hash="ff96268f459aefddc09e809efed6f5e0cb3e45bb79d4e35a88224f35adcc2e39" +sha256sums=("ff96268f459aefddc09e809efed6f5e0cb3e45bb79d4e35a88224f35adcc2e39") arch=('amd64') -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") diff --git a/packages/touchegg-deb/touchegg-deb.pacscript b/packages/touchegg-deb/touchegg-deb.pacscript index 96c64976eb..9ae4a3d5c5 100644 --- a/packages/touchegg-deb/touchegg-deb.pacscript +++ b/packages/touchegg-deb/touchegg-deb.pacscript @@ -1,9 +1,9 @@ -name="touchegg-deb" +pkgname="touchegg-deb" repology=("project: touchegg") gives="touchegg" pkgver="2.0.17" -url="https://github.com/JoseExposito/${gives}/releases/download/${pkgver}/${gives}_${pkgver}_amd64.deb" +source=("https://github.com/JoseExposito/${gives}/releases/download/${pkgver}/${gives}_${pkgver}_amd64.deb") pkgdesc="Touchégg is an app that runs in the background and transform the gestures you make on your touchpad or touchscreen into visible actions in your desktop." -hash="ef1873155eafefedbbc9a6911ff34c57511c49b43cbb37f5c6f8b795a04a0ecc" +sha256sums=("ef1873155eafefedbbc9a6911ff34c57511c49b43cbb37f5c6f8b795a04a0ecc") arch=('amd64') -maintainer="Zahrun " +maintainer=("Zahrun ") diff --git a/packages/touchegg-git/touchegg-git.pacscript b/packages/touchegg-git/touchegg-git.pacscript old mode 100755 new mode 100644 index b3a325edf7..5e8b12335a --- a/packages/touchegg-git/touchegg-git.pacscript +++ b/packages/touchegg-git/touchegg-git.pacscript @@ -1,25 +1,24 @@ -name="touchegg-git" -pkgname="touchegg" -url="https://github.com/JoseExposito/touchegg.git" +pkgname="touchegg-git" +gives="touchegg" +source=("https://github.com/JoseExposito/touchegg.git") pkgver="2.0.16" makedepends=("git" "build-essential" "gdb" "cmake" "debhelper" "libudev-dev" "libinput-dev" "libpugixml-dev" "libcairo2-dev" "libx11-dev" "libxtst-dev" "libxrandr-dev" "libxi-dev" "libglib2.0-dev" "libgtk-3-dev") -breaks=("${pkgname}" "${pkgname}-bin" "${pkgname}-deb" "${pkgname}-app") +breaks=("${gives}" "${gives}-bin" "${gives}-deb" "${gives}-app") pkgdesc="Touchégg is an app that runs in the background and transform the gestures you make on your touchpad or touchscreen into visible actions in your desktop." -maintainer="Zahrun " -pkgver() { - git ls-remote "${url}" refs/heads/master | cut -f1 | cut -c1-8 -} +maintainer=("Zahrun ") build() { + cd "${_archive}" mkdir build && cd build cmake -DCMAKE_BUILD_TYPE=Release .. make -j"${NCPU}" } package() { - sudo make install DESTDIR="${pkgdir}" + cd "${_archive}" + make install DESTDIR="${pkgdir}" cd "${pkgdir}" - sudo mv usr/local/etc . + mv usr/local/etc . } post_install() { diff --git a/packages/tre-git/tre-git.pacscript b/packages/tre-git/tre-git.pacscript index a238e2b890..ea10cd7d93 100644 --- a/packages/tre-git/tre-git.pacscript +++ b/packages/tre-git/tre-git.pacscript @@ -1,20 +1,18 @@ -name="tre-git" -pkgname="tre" +pkgname="tre-git" gives="tre" makedepends=("cargo" "rustc") pkgdesc="Tree command, improved" -url="https://github.com/dduan/tre.git" +source=("https://github.com/dduan/tre.git") pkgver="0.4.0" -maintainer="Diego Magdaleno " +maintainer=("Diego Magdaleno ") incompatible=("debian:bullseye") -pkgver() { - git ls-remote "${url}" main | cut -f1 | cut -c1-8 -} build() { + cd "${_archive}" cargo build -j"${NCPU}" --release --locked } package() { - sudo install -Dm755 target/release/tre -t "${pkgdir}/usr/bin" + cd "${_archive}" + install -Dm755 target/release/tre -t "${pkgdir}/usr/bin" } diff --git a/packages/treefetch-bin/treefetch-bin.pacscript b/packages/treefetch-bin/treefetch-bin.pacscript index daa3bbdb53..ed3e6e73f7 100644 --- a/packages/treefetch-bin/treefetch-bin.pacscript +++ b/packages/treefetch-bin/treefetch-bin.pacscript @@ -1,14 +1,15 @@ # Original Pacscript Creator: wizard-28 -name="treefetch-bin" -pkgname="treefetch" +pkgname="treefetch-bin" +gives="treefetch" pkgver="2.0.0" pkgdesc="A lightning-fast system fetch tool made with Rust" -url="https://github.com/angelofallars/treefetch/releases/download/v${pkgver}/treefetch" -breaks=("${pkgname}" "${pkgname}-git" "${pkgname}-deb" "${pkgname}-app") -hash="1a835bafa75ecd2f18a53c3e0d73cf742a579106af03c4c459e5f8c873ee5187" -maintainer="angelofallars " +source=("https://github.com/angelofallars/treefetch/releases/download/v${pkgver}/treefetch") +breaks=("${gives}" "${gives}-git" "${gives}-deb" "${gives}-app") +sha256sums=("1a835bafa75ecd2f18a53c3e0d73cf742a579106af03c4c459e5f8c873ee5187") +maintainer=("angelofallars ") package() { - sudo install -D "${pkgname}" "${pkgdir}/usr/bin/${pkgname}" + cd "${_archive}" + install -D "${gives}" "${pkgdir}/usr/bin/${gives}" } # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/truckersmp-cli/truckersmp-cli.pacscript b/packages/truckersmp-cli/truckersmp-cli.pacscript index 17d8b5e90f..e05398bcbb 100644 --- a/packages/truckersmp-cli/truckersmp-cli.pacscript +++ b/packages/truckersmp-cli/truckersmp-cli.pacscript @@ -1,13 +1,12 @@ -name="truckersmp-cli" pkgname="truckersmp-cli" +gives="truckersmp-cli" pkgver=0.10.1 repology=("project: truckersmp-cli") -breaks=("${pkgname}-git") -gives="truckersmp-cli" +breaks=("${gives}-git") pkgdesc="A simple launcher to play ATS and ETS2 with Multiplayer through TruckersMP." -url="https://github.com/truckersmp-cli/truckersmp-cli/archive/refs/tags/${pkgver}.tar.gz" -hash="3f5e0289d06d5bdc39f86879283c7184adaa60eb06a3b4e481095da816121c16" -maintainer="badlydrawnface " +source=("https://github.com/truckersmp-cli/truckersmp-cli/archive/refs/tags/${pkgver}.tar.gz") +sha256sums=("3f5e0289d06d5bdc39f86879283c7184adaa60eb06a3b4e481095da816121c16") +maintainer=("badlydrawnface ") makedepends=("python3-setuptools" "gcc-mingw-w64" "libsdl2-dev") depends=("python3" "libsdl2-2.0-0") optdepends=( @@ -17,13 +16,15 @@ optdepends=( ) build() { + cd "${_archive}" make python3 setup.py build } package() { - sudo python3 setup.py install --root="${pkgdir}" --optimize=1 --skip-build + cd "${_archive}" + python3 setup.py install --root="${pkgdir}" --optimize=1 --skip-build - sudo install -Dm644 "${pkgname}.bash" "${pkgdir}/usr/share/bash-completion/completions/${pkgname}" - sudo install -Dm644 "_${pkgname}" "${pkgdir}/usr/share/zsh/site-functions/_${pkgname}" + install -Dm644 "${gives}.bash" "${pkgdir}/usr/share/bash-completion/completions/${gives}" + install -Dm644 "_${gives}" "${pkgdir}/usr/share/zsh/site-functions/_${gives}" } diff --git a/packages/ttf-fira-sans/ttf-fira-sans.pacscript b/packages/ttf-fira-sans/ttf-fira-sans.pacscript index 69a3a7f3dd..1cbe24e630 100644 --- a/packages/ttf-fira-sans/ttf-fira-sans.pacscript +++ b/packages/ttf-fira-sans/ttf-fira-sans.pacscript @@ -1,22 +1,23 @@ -name="ttf-fira-sans" pkgname="ttf-fira-sans" +gives="ttf-fira-sans" pkgver="4.202" -gives="${pkgname}" -breaks=("${pkgname}") +breaks=("${gives}") repology=("project: font-fira") -replace=("${gives}") -url="https://fonts.google.com/download?family=Fira%20Sans" +replaces=("${gives}") +source=("https://fonts.google.com/download?family=Fira%20Sans") pkgdesc="Mozilla's typeface used in Firefox OS" -hash="5a3059fbde784f57a58ffb55e15660ae6022c724ecbc468f58c0aaa2311c05f9" +sha256sums=("5a3059fbde784f57a58ffb55e15660ae6022c724ecbc468f58c0aaa2311c05f9") license="OFL-1.1" -maintainer="heyzsh " +maintainer=("heyzsh ") prepare() { + cd "${_archive}" unzip ./* -d . } package() { - sudo install -d "${pkgdir}"/usr/share/fonts/TTF - sudo install -Dm644 "${SRCDIR}"/*.ttf "${pkgdir}"/usr/share/fonts/TTF - sudo install -Dm644 "${SRCDIR}"/OFL.txt "${pkgdir}"/usr/share/licenses/"${pkgname}"/LICENSE + cd "${_archive}" + install -d "${pkgdir}"/usr/share/fonts/TTF + install -Dm644 "${srcdir}"/*.ttf "${pkgdir}"/usr/share/fonts/TTF + install -Dm644 "${srcdir}"/OFL.txt "${pkgdir}"/usr/share/licenses/"${gives}"/LICENSE } diff --git a/packages/tuner-git/tuner-git.pacscript b/packages/tuner-git/tuner-git.pacscript index cb9176f316..f119bbf0d2 100644 --- a/packages/tuner-git/tuner-git.pacscript +++ b/packages/tuner-git/tuner-git.pacscript @@ -1,25 +1,25 @@ -name="tuner-git" +pkgname="tuner-git" license="GPL-3.0" -url="https://codeberg.org/tuner/tuner.git" +source=("https://codeberg.org/tuner/tuner.git") pkgver="1.5.1" makedepends=("meson" "valac" "libgtk-3-dev" "libgranite-dev" "libsoup2.4-dev" "libgstreamer1.0-dev" "libgstreamer-plugins-bad1.0-dev" "libjson-glib-dev" "libgee-0.8-dev" "libgeocode-glib-dev" "libgeoclue-2-dev" "libgeocode-glib-dev") depends=("desktop-file-utils") -replace=("tuner") +replaces=("tuner") pkgdesc="Tuner Radio Player - development version" -pkgver() { - git ls-remote "${url}" main | cut -f1 | cut -c1-8 -} prepare() { + cd "${_archive}" meson builddir --prefix=/usr } build() { + cd "${_archive}" ninja -C builddir -j"${NCPU}" } package() { - sudo DESTDIR="${pkgdir}" ninja -C builddir install + cd "${_archive}" + DESTDIR="${pkgdir}" ninja -C builddir install } post_install() { diff --git a/packages/tuner/tuner.pacscript b/packages/tuner/tuner.pacscript index 1afcd6fc01..657d166dcc 100644 --- a/packages/tuner/tuner.pacscript +++ b/packages/tuner/tuner.pacscript @@ -1,23 +1,26 @@ -name="tuner" +pkgname="tuner" pkgver="1.3.1" license="GPL-3.0" -url="https://github.com/louis77/tuner/archive/refs/tags/1.3.1.zip" +source=("https://github.com/louis77/tuner/archive/refs/tags/1.3.1.zip") makedepends=("meson" "valac" "libgtk-3-dev" "libgranite-dev" "libsoup2.4-dev" "libgstreamer1.0-dev" "libgstreamer-plugins-bad1.0-dev" "libjson-glib-dev" "libgee-0.8-dev" "libgeocode-glib-dev" "libgeoclue-2-dev" "libgeocode-glib0") depends=("desktop-file-utils") -replace=("tuner-git") +replaces=("tuner-git") pkgdesc="Discover and listen to internet radio stations." -hash="4b8cc5941652ebb872793bbc0f3d56e1c5d4423e6cf8d16aaeea25999075c1aa" +sha256sums=("4b8cc5941652ebb872793bbc0f3d56e1c5d4423e6cf8d16aaeea25999075c1aa") prepare() { + cd "${_archive}" meson builddir --prefix=/usr } build() { + cd "${_archive}" ninja -C builddir -j"${NCPU}" } package() { - sudo DESTDIR="${pkgdir}" ninja -C builddir install + cd "${_archive}" + DESTDIR="${pkgdir}" ninja -C builddir install } post_install() { diff --git a/packages/tutanota-app/tutanota-app.pacscript b/packages/tutanota-app/tutanota-app.pacscript index b9b1dbd824..4bafeb494f 100644 --- a/packages/tutanota-app/tutanota-app.pacscript +++ b/packages/tutanota-app/tutanota-app.pacscript @@ -1,38 +1,34 @@ -maintainer="Paul Cosma (saenai) " +maintainer=("Paul Cosma (saenai) ") -pkgname="tutanota" -name="${pkgname}-app" +gives="tutanota" +pkgname="${gives}-app" pkgver="218.240227.0" pkgdesc="Tutanota is the world's most secure email service, easy to use and private by design." -url="https://mail.tutanota.com/desktop/tutanota-desktop-linux.AppImage" -__icon_url="https://icons-for-free.com/download-icon-super+tiny+icons+tutanota-1324450784669328293_256.png" -__icon_hash="e76f83c33cab7c3b1e7d4c827927e0c883bc7f41cb2e2f3ce7d493cd96970d76" -breaks=("${pkgname}-deb" "${pkgname}-bin" "${pkgname}-git" "${pkgname}") -gives="${pkgname}" -replace=("${pkgname}") -hash="2acd38e99da3c9c39beb7ab7835ea726b1e9687d05247f9cf9919395d7c79652" +source=( + "https://mail.tutanota.com/desktop/tutanota-desktop-linux.AppImage" + "${gives}.desktop" + "${gives}.png::https://icons-for-free.com/download-icon-super+tiny+icons+tutanota-1324450784669328293_256.png" +) +breaks=("${gives}-deb" "${gives}-bin" "${gives}-git" "${gives}") +replaces=("${gives}") +sha256sums=( + "2acd38e99da3c9c39beb7ab7835ea726b1e9687d05247f9cf9919395d7c79652" + "SKIP" + "e76f83c33cab7c3b1e7d4c827927e0c883bc7f41cb2e2f3ce7d493cd96970d76" +) repology=("project: tutanota" "repo: homebrew_casks") __created_desktop_file="yes" package() { + cd "${_archive}" # Install AppImage - sudo install -Dm755 "tutanota-desktop-linux.AppImage" "${pkgdir}/usr/bin/${pkgname}" + install -Dm755 "tutanota-desktop-linux.AppImage" "${pkgdir}/usr/bin/${gives}" if ask "\nTutanota creates its own desktop file during the first launch.\nDo you want to create a desktop file anyway?" N; then - # Download icon - wget -O "${pkgname}.png" -q "${__icon_url}" "${pkgname}.png" - actual_icon_hash="$(sha256sum "${pkgname}.png" | grep -o "[a-z0-9]*" | head -1)" - - # Check hash - if [[ ${__icon_hash} != "${actual_icon_hash}" ]]; then - echo "Error! Tutanota icon hash mismatch" - return 1 - fi # Install .desktop file - sudo install -Dm644 "${pkgname}.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png" - wget -q "https://raw.githubusercontent.com/pacstall/pacstall-programs/master/packages/${name}/${pkgname}.desktop" - sudo install -Dm644 "${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop" + install -Dm644 "${srcdir}/${gives}.png" "${pkgdir}/usr/share/pixmaps/${gives}.png" + install -Dm644 "${srcdir}/${gives}.desktop" "${pkgdir}/usr/share/applications/${gives}.desktop" else __created_desktop_file="no" fi diff --git a/packages/u-boot-mobian-deb/u-boot-mobian-deb.pacscript b/packages/u-boot-mobian-deb/u-boot-mobian-deb.pacscript index e182052413..9ee6ee9c7e 100644 --- a/packages/u-boot-mobian-deb/u-boot-mobian-deb.pacscript +++ b/packages/u-boot-mobian-deb/u-boot-mobian-deb.pacscript @@ -1,9 +1,9 @@ -name="u-boot-mobian-deb" +pkgname="u-boot-mobian-deb" gives="u-boot-menu" -replace=("${gives}") +replaces=("${gives}") pkgver="4.2.2mobian1" -url="https://repo.mobian-project.org/pool/main/u/${gives}/${gives}_${pkgver}_all.deb" +source=("https://repo.mobian-project.org/pool/main/u/${gives}/${gives}_${pkgver}_all.deb") pkgdesc="Deb packaging for u-boot-menu with Mobian patches" -hash="6fffdf8359c0514e0f841cdf27726e05f582884b55e436235defc2c02d759f31" -maintainer="Oren Klopfer " +sha256sums=("6fffdf8359c0514e0f841cdf27726e05f582884b55e436235defc2c02d759f31") +maintainer=("Oren Klopfer ") repology=("project: u-boot-menu") diff --git a/packages/ugee-tablet-driver-deb/ugee-tablet-driver-deb.pacscript b/packages/ugee-tablet-driver-deb/ugee-tablet-driver-deb.pacscript index ce5d01c1e0..eaa00519b6 100644 --- a/packages/ugee-tablet-driver-deb/ugee-tablet-driver-deb.pacscript +++ b/packages/ugee-tablet-driver-deb/ugee-tablet-driver-deb.pacscript @@ -1,10 +1,10 @@ -name="ugee-tablet-driver-deb" +pkgname="ugee-tablet-driver-deb" gives="ugeetablet" repology=("project: ${gives}") pkgver="4.1.3" -url="https://ugeecom-download.oss-us-west-1.aliyuncs.com/file/2023/10/ugeeTablet${pkgver}-231017.deb" +source=("https://ugeecom-download.oss-us-west-1.aliyuncs.com/file/2023/10/ugeeTablet${pkgver}-231017.deb") breaks=("${gives}-bin") pkgdesc="Drivers for all Ugee graphics tablet. Supports only wired and dongle connections, not Bluetooth connections" -hash="a29df8cbe4cf9e5078f9694ccad8086fa504f2809accf8bffaeea9233bb0b893" +sha256sums=("a29df8cbe4cf9e5078f9694ccad8086fa504f2809accf8bffaeea9233bb0b893") arch=('amd64') -maintainer="Gianluca Mastrolonardo " +maintainer=("Gianluca Mastrolonardo ") diff --git a/packages/ulauncher-deb/ulauncher-deb.pacscript b/packages/ulauncher-deb/ulauncher-deb.pacscript index 0ce2a18143..e453c3fc8d 100644 --- a/packages/ulauncher-deb/ulauncher-deb.pacscript +++ b/packages/ulauncher-deb/ulauncher-deb.pacscript @@ -1,4 +1,4 @@ -name="ulauncher-deb" +pkgname="ulauncher-deb" gives="ulauncher" pkgver="6.0.0~beta10" arch=("any") @@ -8,7 +8,7 @@ case ${DISTRO} in "ubuntu:devel" | "ubuntu:noble") ;; *) depends+=("python3-levenshtein") ;; esac -url="https://github.com/Ulauncher/Ulauncher/releases/download/v${pkgver/\~/-}/${gives}_${pkgver/\~/.}_all.deb" +source=("https://github.com/Ulauncher/Ulauncher/releases/download/v${pkgver/\~/-}/${gives}_${pkgver/\~/.}_all.deb") pkgdesc="Application launcher for Linux" -maintainer="Oren Klopfer " -hash="647cab272b85b0e54f16cafbb326c5c184867f659723c6ea4d3c62820765534d" +maintainer=("Oren Klopfer ") +sha256sums=("647cab272b85b0e54f16cafbb326c5c184867f659723c6ea4d3c62820765534d") diff --git a/packages/unicorn-desktop-git/unicorn-desktop-git.pacscript b/packages/unicorn-desktop-git/unicorn-desktop-git.pacscript index 3cfc25ed3c..88fd2b36d6 100644 --- a/packages/unicorn-desktop-git/unicorn-desktop-git.pacscript +++ b/packages/unicorn-desktop-git/unicorn-desktop-git.pacscript @@ -1,5 +1,5 @@ -name="unicorn-desktop-git" -url="https://github.com/rhino-linux/unicorn.git" +pkgname="unicorn-desktop-git" +source=("https://github.com/rhino-linux/unicorn.git") pkgver="0.0.1" pkgrel="2" depends=("xfwm4" "xfdashboard" "xfdashboard-plugins" "xfce4-appmenu-plugin" "vala-panel-plugins-wnck" @@ -12,60 +12,59 @@ depends=("xfwm4" "xfdashboard" "xfdashboard-plugins" "xfce4-appmenu-plugin" "val "ukui-touchpadserver" "pipewire-audio" "bluetooth") pacdeps=("lightpad-git" "papirus-folders" "ulauncher-deb" "cortile-bin") gives="unicorn-desktop" -replace=("unicorn-mobile" "unicorn-mobile-git") +replaces=("unicorn-mobile" "unicorn-mobile-git") priority="required" pkgdesc="Unicorn Desktop by the Rhino Linux Team" -maintainer="Oren Klopfer " -pkgver() { - git ls-remote "${url}" main | cut -f1 | cut -c1-8 -} +maintainer=("Oren Klopfer ") incompatible=("debian:*") build() { - sudo mkdir -p "${pkgdir}/usr/share/backgrounds" - sudo mkdir -p "${pkgdir}/usr/share/doc" - sudo mkdir -p "${pkgdir}/etc/skel/.config" - sudo mkdir -p "${pkgdir}/usr/share/icons" - sudo mkdir -p "${pkgdir}/usr/share/backgrounds/xfce" - sudo mkdir -p "${pkgdir}/usr/share/applications" - sudo mkdir -p "${pkgdir}/usr/share/plank/themes" - sudo mkdir -p "${pkgdir}/etc/skel/.lightpad" - sudo mkdir -p "${pkgdir}/etc/xdg/xdg-unicorn/xfce4" - sudo mkdir -p "${pkgdir}/usr/share/xsessions" - sudo mkdir -p "${pkgdir}/usr/share/lightdm/lightdm.conf.d" - sudo mkdir -p "${pkgdir}/usr/bin" - sudo mkdir -p "${pkgdir}/usr/share/icons/hicolor/scalable/places" - sudo mkdir -p "${pkgdir}/usr/share/themes" - sudo mkdir -p "${pkgdir}/etc/X11/xorg.conf.d" + cd "${_archive}" + mkdir -p "${pkgdir}/usr/share/backgrounds" + mkdir -p "${pkgdir}/usr/share/doc" + mkdir -p "${pkgdir}/etc/skel/.config" + mkdir -p "${pkgdir}/usr/share/icons" + mkdir -p "${pkgdir}/usr/share/backgrounds/xfce" + mkdir -p "${pkgdir}/usr/share/applications" + mkdir -p "${pkgdir}/usr/share/plank/themes" + mkdir -p "${pkgdir}/etc/skel/.lightpad" + mkdir -p "${pkgdir}/etc/xdg/xdg-unicorn/xfce4" + mkdir -p "${pkgdir}/usr/share/xsessions" + mkdir -p "${pkgdir}/usr/share/lightdm/lightdm.conf.d" + mkdir -p "${pkgdir}/usr/bin" + mkdir -p "${pkgdir}/usr/share/icons/hicolor/scalable/places" + mkdir -p "${pkgdir}/usr/share/themes" + mkdir -p "${pkgdir}/etc/X11/xorg.conf.d" } package() { + cd "${_archive}" # Install doc - sudo install -Dm644 "README.md" -t "${pkgdir}/usr/share/doc/${name}" + install -Dm644 "README.md" -t "${pkgdir}/usr/share/doc/${pkgname}" # Install for i in xfce4 plank autostart cortile ulauncher; do - sudo cp -r "${i}" "${pkgdir}/etc/skel/.config" + cp -r "${i}" "${pkgdir}/etc/skel/.config" done - sudo install -Dm755 "startunicorn" -t "${pkgdir}/usr/bin" - sudo install -Dm755 "unicorn-session" -t "${pkgdir}/usr/bin" - sudo install -Dm755 ".xinitrc" -t "${pkgdir}/etc/xdg/xdg-unicorn" - sudo install -Dm755 "xinitrc" -t "${pkgdir}/etc/xdg/xdg-unicorn" - sudo install -Dm755 ".bashrc" -t "${pkgdir}/etc/xdg/xdg-unicorn" - sudo cp -r failsafe/xfce4/* "${pkgdir}/etc/xdg/xdg-unicorn/xfce4" - sudo install -Dm644 "unicorn.desktop" -t "${pkgdir}/usr/share/xsessions" - sudo install -Dm644 "60-unicorn.conf" -t "${pkgdir}/usr/share/lightdm/lightdm.conf.d" - sudo cp -r rhino "${pkgdir}/usr/share/backgrounds/" - sudo cp -r rhinoplank "${pkgdir}/usr/share/plank/themes" - sudo cp docks.ini "${pkgdir}/etc/skel/.config" - sudo cp rhino/* "${pkgdir}/usr/share/backgrounds/xfce" - sudo cp icons/* "${pkgdir}/usr/share/icons" - sudo cp applications/* "${pkgdir}/usr/share/applications" - sudo cp lightpad/* "${pkgdir}/etc/skel/.lightpad" - sudo cp -r unicorn-dashboard "${pkgdir}/usr/share/themes" - sudo install -Dm644 "50-synaptics.conf" -t "${pkgdir}/etc/X11/xorg.conf.d" - sudo install -Dm644 "unicorn_badge-symbolic.svg" -t "${pkgdir}/usr/share/icons/hicolor/scalable/places" - sudo install -Dm644 "logo.png" -t "${pkgdir}/usr/share/icons" - sudo install -Dm644 "logo.svg" -t "${pkgdir}/usr/share/icons" + install -Dm755 "startunicorn" -t "${pkgdir}/usr/bin" + install -Dm755 "unicorn-session" -t "${pkgdir}/usr/bin" + install -Dm755 ".xinitrc" -t "${pkgdir}/etc/xdg/xdg-unicorn" + install -Dm755 "xinitrc" -t "${pkgdir}/etc/xdg/xdg-unicorn" + install -Dm755 ".bashrc" -t "${pkgdir}/etc/xdg/xdg-unicorn" + cp -r failsafe/xfce4/* "${pkgdir}/etc/xdg/xdg-unicorn/xfce4" + install -Dm644 "unicorn.desktop" -t "${pkgdir}/usr/share/xsessions" + install -Dm644 "60-unicorn.conf" -t "${pkgdir}/usr/share/lightdm/lightdm.conf.d" + cp -r rhino "${pkgdir}/usr/share/backgrounds/" + cp -r rhinoplank "${pkgdir}/usr/share/plank/themes" + cp docks.ini "${pkgdir}/etc/skel/.config" + cp rhino/* "${pkgdir}/usr/share/backgrounds/xfce" + cp icons/* "${pkgdir}/usr/share/icons" + cp applications/* "${pkgdir}/usr/share/applications" + cp lightpad/* "${pkgdir}/etc/skel/.lightpad" + cp -r unicorn-dashboard "${pkgdir}/usr/share/themes" + install -Dm644 "50-synaptics.conf" -t "${pkgdir}/etc/X11/xorg.conf.d" + install -Dm644 "unicorn_badge-symbolic.svg" -t "${pkgdir}/usr/share/icons/hicolor/scalable/places" + install -Dm644 "logo.png" -t "${pkgdir}/usr/share/icons" + install -Dm644 "logo.svg" -t "${pkgdir}/usr/share/icons" } post_install() { diff --git a/packages/unicorn-mobile-git/unicorn-mobile-git.pacscript b/packages/unicorn-mobile-git/unicorn-mobile-git.pacscript index 9046d673df..1016e4ede1 100644 --- a/packages/unicorn-mobile-git/unicorn-mobile-git.pacscript +++ b/packages/unicorn-mobile-git/unicorn-mobile-git.pacscript @@ -1,5 +1,5 @@ -name="unicorn-mobile-git" -url="https://github.com/rhino-linux/unicorn.git" +pkgname="unicorn-mobile-git" +source=("https://github.com/rhino-linux/unicorn.git#branch=mobile") pkgver="0.0.1" pkgrel="2" depends=("xfwm4" "xfdashboard" "xfdashboard-plugins" "plank" "dconf-cli" "yaru-theme-icon" @@ -10,72 +10,64 @@ depends=("xfwm4" "xfdashboard" "xfdashboard-plugins" "plank" "dconf-cli" "yaru-t "pipewire-audio" "bluetooth") pacdeps=("xfce4-settings-pine-git" "lightpad-git" "papirus-folders" "ulauncher-deb" "cortile-bin") gives="unicorn-mobile" -replace=("unicorn-desktop" "unicorn-desktop-git") +replaces=("unicorn-desktop" "unicorn-desktop-git") priority="required" pkgdesc="Unicorn Desktop Mobile variant by the Rhino Linux Team" -maintainer="Oren Klopfer " -pkgver() { - git ls-remote "${url}" mobile | cut -f1 | cut -c1-8 -} +maintainer=("Oren Klopfer ") incompatible=("debian:*") -prepare() { - sudo git remote add upstream "${url}" - sudo git fetch upstream - sudo git checkout upstream/mobile - git config --global --add safe.directory "${PWD}" -} - build() { - sudo mkdir -p "${pkgdir}/usr/share/backgrounds" - sudo mkdir -p "${pkgdir}/usr/share/doc" - sudo mkdir -p "${pkgdir}/etc/skel/.config" - sudo mkdir -p "${pkgdir}/usr/share/icons" - sudo mkdir -p "${pkgdir}/usr/share/backgrounds/xfce" - sudo mkdir -p "${pkgdir}/usr/share/applications" - sudo mkdir -p "${pkgdir}/usr/share/plank/themes" - sudo mkdir -p "${pkgdir}/usr/share/onboard" - sudo mkdir -p "${pkgdir}/etc/skel/.lightpad" - sudo mkdir -p "${pkgdir}/etc/skel/.local/share" - sudo mkdir -p "${pkgdir}/etc/xdg/xdg-unicorn/xfce4" - sudo mkdir -p "${pkgdir}/usr/share/xsessions" - sudo mkdir -p "${pkgdir}/usr/share/lightdm/lightdm.conf.d" - sudo mkdir -p "${pkgdir}/usr/bin" - sudo mkdir -p "${pkgdir}/usr/share/icons/hicolor/scalable/places" - sudo mkdir -p "${pkgdir}/usr/share/themes" - sudo mkdir -p "${pkgdir}/etc/X11/xorg.conf.d" + cd "${_archive}" + mkdir -p "${pkgdir}/usr/share/backgrounds" + mkdir -p "${pkgdir}/usr/share/doc" + mkdir -p "${pkgdir}/etc/skel/.config" + mkdir -p "${pkgdir}/usr/share/icons" + mkdir -p "${pkgdir}/usr/share/backgrounds/xfce" + mkdir -p "${pkgdir}/usr/share/applications" + mkdir -p "${pkgdir}/usr/share/plank/themes" + mkdir -p "${pkgdir}/usr/share/onboard" + mkdir -p "${pkgdir}/etc/skel/.lightpad" + mkdir -p "${pkgdir}/etc/skel/.local/share" + mkdir -p "${pkgdir}/etc/xdg/xdg-unicorn/xfce4" + mkdir -p "${pkgdir}/usr/share/xsessions" + mkdir -p "${pkgdir}/usr/share/lightdm/lightdm.conf.d" + mkdir -p "${pkgdir}/usr/bin" + mkdir -p "${pkgdir}/usr/share/icons/hicolor/scalable/places" + mkdir -p "${pkgdir}/usr/share/themes" + mkdir -p "${pkgdir}/etc/X11/xorg.conf.d" } package() { + cd "${_archive}" # Install doc - sudo install -Dm644 "README.md" -t "${pkgdir}/usr/share/doc/${name}" + install -Dm644 "README.md" -t "${pkgdir}/usr/share/doc/${pkgname}" # Install for i in xfce4 plank autostart cortile ulauncher; do - sudo cp -r "${i}" "${pkgdir}/etc/skel/.config" + cp -r "${i}" "${pkgdir}/etc/skel/.config" done - sudo install -Dm755 "startunicorn" -t "${pkgdir}/usr/bin" - sudo install -Dm755 "unicorn-session" -t "${pkgdir}/usr/bin" - sudo install -Dm755 ".xinitrc" -t "${pkgdir}/etc/xdg/xdg-unicorn" - sudo install -Dm755 "xinitrc" -t "${pkgdir}/etc/xdg/xdg-unicorn" - sudo install -Dm755 ".bashrc" -t "${pkgdir}/etc/xdg/xdg-unicorn" - sudo cp -r failsafe/xfce4/* "${pkgdir}/etc/xdg/xdg-unicorn/xfce4" - sudo install -Dm644 "unicorn.desktop" -t "${pkgdir}/usr/share/xsessions" - sudo install -Dm644 "60-unicorn.conf" -t "${pkgdir}/usr/share/lightdm/lightdm.conf.d" - sudo cp -r rhino "${pkgdir}/usr/share/backgrounds/" - sudo cp -r rhinoplank "${pkgdir}/usr/share/plank/themes" - sudo cp docks.ini "${pkgdir}/etc/skel/.config" - sudo cp onboard.ini "${pkgdir}/usr/share/onboard" - sudo cp rhino/* "${pkgdir}/usr/share/backgrounds/xfce" - sudo cp icons/* "${pkgdir}/usr/share/icons" - sudo cp applications/* "${pkgdir}/usr/share/applications" - sudo cp lightpad/* "${pkgdir}/etc/skel/.lightpad" - sudo cp -r unicorn-dashboard "${pkgdir}/usr/share/themes" - sudo install -Dm644 "50-synaptics.conf" -t "${pkgdir}/etc/X11/xorg.conf.d" - sudo install -Dm644 "unicorn_badge-symbolic.svg" -t "${pkgdir}/usr/share/icons/hicolor/scalable/places" - sudo install -Dm644 "logo.png" -t "${pkgdir}/usr/share/icons" - sudo install -Dm644 "logo.svg" -t "${pkgdir}/usr/share/icons" - sudo cp -r onboard "${pkgdir}/etc/skel/.local/share" - sudo cp -r Dot-Transparent "${pkgdir}/usr/share/icons" + install -Dm755 "startunicorn" -t "${pkgdir}/usr/bin" + install -Dm755 "unicorn-session" -t "${pkgdir}/usr/bin" + install -Dm755 ".xinitrc" -t "${pkgdir}/etc/xdg/xdg-unicorn" + install -Dm755 "xinitrc" -t "${pkgdir}/etc/xdg/xdg-unicorn" + install -Dm755 ".bashrc" -t "${pkgdir}/etc/xdg/xdg-unicorn" + cp -r failsafe/xfce4/* "${pkgdir}/etc/xdg/xdg-unicorn/xfce4" + install -Dm644 "unicorn.desktop" -t "${pkgdir}/usr/share/xsessions" + install -Dm644 "60-unicorn.conf" -t "${pkgdir}/usr/share/lightdm/lightdm.conf.d" + cp -r rhino "${pkgdir}/usr/share/backgrounds/" + cp -r rhinoplank "${pkgdir}/usr/share/plank/themes" + cp docks.ini "${pkgdir}/etc/skel/.config" + cp onboard.ini "${pkgdir}/usr/share/onboard" + cp rhino/* "${pkgdir}/usr/share/backgrounds/xfce" + cp icons/* "${pkgdir}/usr/share/icons" + cp applications/* "${pkgdir}/usr/share/applications" + cp lightpad/* "${pkgdir}/etc/skel/.lightpad" + cp -r unicorn-dashboard "${pkgdir}/usr/share/themes" + install -Dm644 "50-synaptics.conf" -t "${pkgdir}/etc/X11/xorg.conf.d" + install -Dm644 "unicorn_badge-symbolic.svg" -t "${pkgdir}/usr/share/icons/hicolor/scalable/places" + install -Dm644 "logo.png" -t "${pkgdir}/usr/share/icons" + install -Dm644 "logo.svg" -t "${pkgdir}/usr/share/icons" + cp -r onboard "${pkgdir}/etc/skel/.local/share" + cp -r Dot-Transparent "${pkgdir}/usr/share/icons" } post_install() { diff --git a/packages/universal-ctags-git/universal-ctags-git.pacscript b/packages/universal-ctags-git/universal-ctags-git.pacscript index 55e6f211b6..08259442a7 100644 --- a/packages/universal-ctags-git/universal-ctags-git.pacscript +++ b/packages/universal-ctags-git/universal-ctags-git.pacscript @@ -1,28 +1,28 @@ -name="universal-ctags-git" -pkgname="universal-ctags" -url="https://github.com/universal-ctags/ctags.git" +pkgname="universal-ctags-git" +gives="universal-ctags" +source=("https://github.com/universal-ctags/ctags.git") pkgver="6.0.0" pkgdesc="Universal Ctags (abbreviated as u-ctags) is a maintained implementation of ctags. ctags generates an index (or tag) file of language objects found in source files for programming languages. This index makes it easy for text editors and other tools to locate the indexed items." makedepends=("gcc" "make" "pkg-config" "autoconf" "automake" "python3-docutils" "libseccomp-dev" "libjansson-dev" "libyaml-dev" "libxml2-dev") -maintainer="KwonNam Son " -pkgver() { - git ls-remote "${url}" master | cut -f1 | cut -c1-8 -} +maintainer=("KwonNam Son ") prepare() { + cd "${_archive}" git fetch --all --tags --prune git checkout "tags/${pkgver}" -b "${pkgver}" ./autogen.sh } build() { + cd "${_archive}" ./configure --prefix="${pkgdir}/usr" --program-transform-name='s/ctags/ctags-universal/' make -j"${NCPU}" } package() { - sudo make install + cd "${_archive}" + make install } post_install() { diff --git a/packages/upscayl-app/upscayl-app.pacscript b/packages/upscayl-app/upscayl-app.pacscript index 10fe692a5f..79f137f54b 100644 --- a/packages/upscayl-app/upscayl-app.pacscript +++ b/packages/upscayl-app/upscayl-app.pacscript @@ -1,24 +1,30 @@ -name="upscayl-app" -pkgname="upscayl" +pkgname="upscayl-app" gives="upscayl" pkgver="2.5.5" pkgdesc="Free and Open Source AI Image Upscaler for Linux, MacOS and Windows" -maintainer="0x262D " -url="https://github.com/TGS963/${gives}/releases/download/v${pkgver}/Upscayl-${pkgver}-linux.AppImage" -hash="aa92f1386a6147d887bed6fc01965a32272dfe0f302e42fb0e1af89addcb65d9" -breaks=("${pkgname}" "${pkgname}-deb" "${pkgname}-bin" "${pkgname}-git") -repology=("project: ${pkgname}") +maintainer=("0x262D ") +source=( + "https://github.com/TGS963/${gives}/releases/download/v${pkgver}/Upscayl-${pkgver}-linux.AppImage" + "${gives}.desktop::https://raw.githubusercontent.com/pacstall/pacstall-programs/master/packages/${pkgname}/${gives}.desktop" + "${gives}.png::https://raw.githubusercontent.com/TGS963/${gives}/main/main/build/icon.png" +) +sha256sums=( + "aa92f1386a6147d887bed6fc01965a32272dfe0f302e42fb0e1af89addcb65d9" + "SKIP" + "SKIP" +) +breaks=("${gives}" "${gives}-deb" "${gives}-bin" "${gives}-git") +repology=("project: ${gives}") package() { + cd "${_archive}" # Install appimage - sudo install -Dm755 "Upscayl-${pkgver}-linux.AppImage" "${pkgdir}/usr/bin/${pkgname}" + install -Dm755 "Upscayl-${pkgver}-linux.AppImage" "${pkgdir}/usr/bin/${gives}" # Download icon - wget -O "${pkgname}.png" -q "https://raw.githubusercontent.com/TGS963/${gives}/main/main/build/icon.png" - sudo install -Dm644 "${pkgname}.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png" + install -Dm644 "${srcdir}/${gives}.png" "${pkgdir}/usr/share/pixmaps/${gives}.png" # Install .desktop file - wget -q "https://raw.githubusercontent.com/pacstall/pacstall-programs/master/packages/${name}/${pkgname}.desktop" - sudo install -Dm644 "${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop" + install -Dm644 "${srcdir}/${gives}.desktop" "${pkgdir}/usr/share/applications/${gives}.desktop" } # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/uwufetch/uwufetch.pacscript b/packages/uwufetch/uwufetch.pacscript index 51dbdd0667..57825babee 100644 --- a/packages/uwufetch/uwufetch.pacscript +++ b/packages/uwufetch/uwufetch.pacscript @@ -4,45 +4,48 @@ # \ // \/ -- \ # \__/\ / \_______ \______ / # \/ \/ \/ -maintainer="wizard-28 " +maintainer=("wizard-28 ") -name="uwufetch" +pkgname="uwufetch" pkgver="1.7" -url="https://github.com/TheDarkBug/${name}/archive/refs/tags/${pkgver}.zip" +source=("https://github.com/TheDarkBug/${pkgname}/archive/refs/tags/${pkgver}.zip") pkgdesc="A meme system info tool for Linux, based on nyan/uwu trend on r/linuxmasterrace." makedepends=("gcc") optdepends=("viu: image preview" "lshw: hardware info") -breaks=("${name}-git" "${name}-bin") -hash="1f2f4b17c368e4e097323afc14386b30d6c7b7aa626565ef6902ff6e37b34dab" +breaks=("${pkgname}-git" "${pkgname}-bin") +sha256sums=("1f2f4b17c368e4e097323afc14386b30d6c7b7aa626565ef6902ff6e37b34dab") prepare() { + cd "${_archive}" # Make nessesary directories - sudo mkdir -p "${pkgdir}"/usr/bin - sudo mkdir -p "${pkgdir}"/usr/lib - sudo mkdir -p "${pkgdir}"/usr/share/man/man1 + mkdir -p "${pkgdir}"/usr/bin + mkdir -p "${pkgdir}"/usr/lib + mkdir -p "${pkgdir}"/usr/share/man/man1 } build() { + cd "${_archive}" # Build required files make -j"${NCPU}" build DESTDIR="${pkgdir}" make -j"${NCPU}" man DESTDIR="${pkgdir}" } package() { + cd "${_archive}" # Install license - sudo install -Dm644 "LICENSE" -t "${pkgdir}/usr/share/licenses/${name}" + install -Dm644 "LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}" # Install doc - sudo install -Dm644 "README.md" -t "${pkgdir}/usr/share/doc/${name}" + install -Dm644 "README.md" -t "${pkgdir}/usr/share/doc/${pkgname}" # Install uwufetch - sudo make install DESTDIR="${pkgdir}" + make install DESTDIR="${pkgdir}" } post_remove() { # Remove empty directories - sudo rm -rf "/usr/share/licenses/${name}" - sudo rm -rf "/usr/share/doc/${name}" + sudo rm -rf "/usr/share/licenses/${pkgname}" + sudo rm -rf "/usr/share/doc/${pkgname}" } # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/vega-strike-engine-git/vega-strike-engine-git.pacscript b/packages/vega-strike-engine-git/vega-strike-engine-git.pacscript index 6156bf16a2..38c1a68b54 100644 --- a/packages/vega-strike-engine-git/vega-strike-engine-git.pacscript +++ b/packages/vega-strike-engine-git/vega-strike-engine-git.pacscript @@ -1,28 +1,27 @@ -name="vega-strike-engine-git" -url="https://github.com/vegastrike/Vega-Strike-Engine-Source.git" +pkgname="vega-strike-engine-git" +source=("https://github.com/vegastrike/Vega-Strike-Engine-Source.git") pkgver="0.8.0" makedepends=("git" "cmake" "build-essential" "automake" "autoconf" "libpng16-16" "libpng-dev" "libpng-tools" "libjpeg-turbo8-dev" "libexpat1-dev" "libgtk-3-dev" "libopenal-dev" "libogg-dev" "libvorbis-dev" "libgl1-mesa-dev" "libsdl1.2-dev" "libpostproc-dev" "freeglut3-dev" "libboost-python-dev" "libboost-log-dev" "libboost-regex-dev") depends=("libopengl0" "libopenal1") breaks=("vega-strike") gives="vega-strike" pkgdesc="Vega Strike engine" -maintainer="echometerain " -pkgver() { - git ls-remote "${url}" master | cut -f1 | cut -c1-8 -} +maintainer=("echometerain ") build() { + cd "${_archive}" mkdir build cd build || return 1 cmake "../engine" cmake --build "./build" -DCMAKE_BUILD_TYPE=Release make -j"${NCPU}" - cd .. + cd "${srcdir}" } package() { + cd "${_archive}" cd build || return 1 - sudo make install DESTDIR="${pkgdir}" - sudo rm -rf "${pkgdir}/usr/include" - sudo rm -rf "${pkgdir}/usr/lib" + make install DESTDIR="${pkgdir}" + rm -rf "${pkgdir}/usr/include" + rm -rf "${pkgdir}/usr/lib" } diff --git a/packages/vega-strike-git/vega-strike-git.pacscript b/packages/vega-strike-git/vega-strike-git.pacscript index 50b247c8c9..625dd1f111 100644 --- a/packages/vega-strike-git/vega-strike-git.pacscript +++ b/packages/vega-strike-git/vega-strike-git.pacscript @@ -1,19 +1,18 @@ -name="vega-strike-git" -url="https://github.com/vegastrike/Assets-Production.git" +pkgname="vega-strike-git" +source=("https://github.com/vegastrike/Assets-Production.git") pkgver="0.8.0" makedepends=("make") pkgdesc="Space Flight Simulator and trading game" pacdeps="vega-strike-engine-git" -maintainer="echometerain " -pkgver() { - git ls-remote "${url}" master | cut -f1 | cut -c1-8 -} +maintainer=("echometerain ") build() { + cd "${_archive}" cmake "./CMakeLists.txt" make -j"${NCPU}" } package() { - sudo make install DESTDIR="${pkgdir}" + cd "${_archive}" + make install DESTDIR="${pkgdir}" } diff --git a/packages/veracrypt-deb/veracrypt-deb.pacscript b/packages/veracrypt-deb/veracrypt-deb.pacscript index 779f3aeb4e..923caebd83 100644 --- a/packages/veracrypt-deb/veracrypt-deb.pacscript +++ b/packages/veracrypt-deb/veracrypt-deb.pacscript @@ -1,4 +1,4 @@ -name="veracrypt-deb" +pkgname="veracrypt-deb" repology=("project: veracrypt") gives="veracrypt" breaks=("${gives}" "${gives}-console" "${gives}-git") @@ -7,14 +7,14 @@ codename=$(lsb_release -cs) case "${codename}" in "jammy") distro="Ubuntu-22.04" - hash="f0dca101cf5b5eccfadaad3f53aea037fd5a01cd9afeb7248ddcca28b821a0ef" + sha256sums=("f0dca101cf5b5eccfadaad3f53aea037fd5a01cd9afeb7248ddcca28b821a0ef") ;; *) distro="Ubuntu-23.04" - hash="fadb9116aba042d8d8b087c280e5b02798ac3d2f400d1d94bd791587245329d2" + sha256sums=("fadb9116aba042d8d8b087c280e5b02798ac3d2f400d1d94bd791587245329d2") ;; esac -url="https://launchpad.net/veracrypt/trunk/${pkgver}/+download/veracrypt-${pkgver}-${distro}-amd64.deb" +source=("https://launchpad.net/veracrypt/trunk/${pkgver}/+download/veracrypt-${pkgver}-${distro}-amd64.deb") pkgdesc="VeraCrypt is a free open source disk encryption software for Windows, Mac OSX and Linux" arch=('amd64') -maintainer="Zahrun " +maintainer=("Zahrun ") diff --git a/packages/viper4linux/viper4linux.pacscript b/packages/viper4linux/viper4linux.pacscript index e866f5800c..c11e5308bf 100644 --- a/packages/viper4linux/viper4linux.pacscript +++ b/packages/viper4linux/viper4linux.pacscript @@ -1,34 +1,37 @@ -name="viper4linux" +pkgname="viper4linux" pkgver="2.0" -url="https://github.com/SamarthH/Viper4LinuxForPacstall/releases/download/v1.0/Viper4LinuxForPacstall.zip" +source=("https://github.com/SamarthH/Viper4LinuxForPacstall/releases/download/v1.0/Viper4LinuxForPacstall.zip") depends=("build-essential" "cmake" "libgstreamer-plugins-base1.0-dev" "libgstreamer1.0-dev" "gstreamer1.0-tools") pkgdesc="A Port of Viper4Android to Linux, or in the words of noahbliss: Making Loonix sound good" -hash="fe85277ca63f8a99beb2c347b6d9a268eb783c601c8fcbb7d0366d4797ff9900" +sha256sums=("fe85277ca63f8a99beb2c347b6d9a268eb783c601c8fcbb7d0366d4797ff9900") arch=('amd64') prepare() { - sudo mkdir -p "${pkgdir}/usr/lib/x86_64-linux-gnu/gstreamer-1.0" - sudo mkdir -p "${pkgdir}/usr/local/bin" - sudo mkdir -p "${pkgdir}/usr/lib" - sudo mkdir -p "${pkgdir}/home/${USER}/.config" + cd "${_archive}" + mkdir -p "${pkgdir}/usr/lib/x86_64-linux-gnu/gstreamer-1.0" + mkdir -p "${pkgdir}/usr/local/bin" + mkdir -p "${pkgdir}/usr/lib" + mkdir -p "${pkgdir}/home/${USER}/.config" } build() { + cd "${_archive}" cd gst-plugin-viperfx cmake -j"${NCPU}" . make -j"${NCPU}" } package() { + cd "${_archive}" #These are basically install instructions from https://github.com/Audio4Linux/Viper4Linux - sudo cp libgstviperfx.so "${pkgdir}/usr/lib/x86_64-linux-gnu/gstreamer-1.0/" + cp libgstviperfx.so "${pkgdir}/usr/lib/x86_64-linux-gnu/gstreamer-1.0/" - cd .. + cd "${srcdir}" - sudo cp "viperfx_core_binary/libviperfx_x64_linux.so" "${pkgdir}/usr/lib/libviperfx.so" + cp "viperfx_core_binary/libviperfx_x64_linux.so" "${pkgdir}/usr/lib/libviperfx.so" cd Viper4Linux - sudo cp -r viper4linux "${pkgdir}/home/${USER}/.config/" + cp -r viper4linux "${pkgdir}/home/${USER}/.config/" - sudo install -Dm755 viper -t "${pkgdir}/usr/bin" + install -Dm755 viper -t "${pkgdir}/usr/bin" } diff --git a/packages/virtualbox-deb/virtualbox-deb.pacscript b/packages/virtualbox-deb/virtualbox-deb.pacscript index a0ff1435df..7b187d531e 100644 --- a/packages/virtualbox-deb/virtualbox-deb.pacscript +++ b/packages/virtualbox-deb/virtualbox-deb.pacscript @@ -1,13 +1,13 @@ -name="virtualbox-deb" +pkgname="virtualbox-deb" gives="virtualbox" repology=("project: ${gives}") pkgver="7.0.14" -url="https://download.virtualbox.org/virtualbox/${pkgver}/virtualbox-7.0_${pkgver}-161095~Ubuntu~jammy_amd64.deb" +source=("https://download.virtualbox.org/virtualbox/${pkgver}/virtualbox-7.0_${pkgver}-161095~Ubuntu~jammy_amd64.deb") breaks=("${gives}-bin") pkgdesc="VirtualBox is a general-purpose full virtualizer for x86 hardware, targeted at server, desktop and embedded use" -hash="43aa0932f73433e7a6b450a82708d275ee5f2c98375cfa708a46ecf75b3d4edc" +sha256sums=("43aa0932f73433e7a6b450a82708d275ee5f2c98375cfa708a46ecf75b3d4edc") arch=('amd64') -maintainer="Gianluca Mastrolonardo " +maintainer=("Gianluca Mastrolonardo ") incompatible=("debian:*" "ubuntu:mantic" "ubuntu:noble" "ubuntu:devel") #latest_version="$(curl -sL https://download.virtualbox.org/virtualbox/LATEST-STABLE.TXT)" diff --git a/packages/vivaldi-deb/vivaldi-deb.pacscript b/packages/vivaldi-deb/vivaldi-deb.pacscript index 3751cd9849..fbdd50b947 100644 --- a/packages/vivaldi-deb/vivaldi-deb.pacscript +++ b/packages/vivaldi-deb/vivaldi-deb.pacscript @@ -1,9 +1,9 @@ -name="vivaldi-deb" +pkgname="vivaldi-deb" pkgver="6.5.3206.57" repology=("project: vivaldi") -url="https://downloads.vivaldi.com/stable/vivaldi-stable_${pkgver}-1_amd64.deb" +source=("https://downloads.vivaldi.com/stable/vivaldi-stable_${pkgver}-1_amd64.deb") pkgdesc="An advanced browser made with the power user in mind" gives="vivaldi-stable" -hash="c428f5fa3d880fdedfb768b6dc87e2d0a5e1d6e18d271234f68dbc96c400aa96" +sha256sums=("c428f5fa3d880fdedfb768b6dc87e2d0a5e1d6e18d271234f68dbc96c400aa96") arch=('amd64') -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") diff --git a/packages/vivarium/vivarium.pacscript b/packages/vivarium/vivarium.pacscript index 9a5db237fc..2acfc0bfc2 100644 --- a/packages/vivarium/vivarium.pacscript +++ b/packages/vivarium/vivarium.pacscript @@ -1,17 +1,19 @@ -name="vivarium" +pkgname="vivarium" pkgver="0.0.4" -hash="abb7272f53d1769de3726c6961df40627c98b8884eb32388e29b8812c60aacec" -url="https://github.com/inclement/vivarium/archive/refs/tags/v${pkgver}.zip" +sha256sums=("abb7272f53d1769de3726c6961df40627c98b8884eb32388e29b8812c60aacec") +source=("https://github.com/inclement/vivarium/archive/refs/tags/v${pkgver}.zip") pkgdesc="A dynamic tiling Wayland compositor using wlroots, with desktop semantics inspired by xmonad" makedepends=("meson" "libwlroots-dev" "xcb" "libseat-dev" "libxcb-res0-dev") -maintainer="Elsie19 " +maintainer=("Elsie19 ") build() { + cd "${_archive}" meson build ninja -C build } package() { - sudo DESTDIR="${pkgdir}" ninja -C build install + cd "${_archive}" + DESTDIR="${pkgdir}" ninja -C build install } # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/vscode-deb/vscode-deb.pacscript b/packages/vscode-deb/vscode-deb.pacscript index 6769451568..cb6f64f985 100644 --- a/packages/vscode-deb/vscode-deb.pacscript +++ b/packages/vscode-deb/vscode-deb.pacscript @@ -1,24 +1,15 @@ -name="vscode-deb" +pkgname="vscode-deb" arch=("amd64" "arm64" "armhf") gives="code" pkgver="1.85.0" -homepage="https://code.visualstudio.com/" +url="https://code.visualstudio.com/" pkgdesc="lightweight but powerful source code editor" project=("project: vscode") -maintainer="Diegiwg " +maintainer=("Diegiwg ") -case "${CARCH}" in - amd64) - url="https://packages.microsoft.com/repos/code/pool/main/c/code/code_${pkgver}-1701902998_amd64.deb" - hash="915b82483992df127d3c03835cbec37cc88724508d2e2a1fd93ec034e77ec26e" - ;; - arm64) - url="https://packages.microsoft.com/repos/code/pool/main/c/code/code_${pkgver}-1701895805_arm64.deb" - hash="a052f4febb6067a477977c9702a230fe21e6db62f670be3440312840c3a7a40e" - ;; - armhf) - url="https://packages.microsoft.com/repos/code/pool/main/c/code/code_${pkgver}-1701886704_armhf.deb" - hash="4e87b5d3ab155fdb1826f21a058c2a5f20b392f6d0c90a8576dc92a3fdabea1b" - ;; - *) return 1 ;; -esac +source_amd64=("https://packages.microsoft.com/repos/code/pool/main/c/code/code_${pkgver}-1701902998_amd64.deb") +sha256sums_amd64=("915b82483992df127d3c03835cbec37cc88724508d2e2a1fd93ec034e77ec26e") +source_arm64=("https://packages.microsoft.com/repos/code/pool/main/c/code/code_${pkgver}-1701895805_arm64.deb") +sha256sums_arm64=("a052f4febb6067a477977c9702a230fe21e6db62f670be3440312840c3a7a40e") +source_armhf=("https://packages.microsoft.com/repos/code/pool/main/c/code/code_${pkgver}-1701886704_armhf.deb") +sha256sums_armhf=("4e87b5d3ab155fdb1826f21a058c2a5f20b392f6d0c90a8576dc92a3fdabea1b") diff --git a/packages/vscode-insiders-deb/vscode-insiders-deb.pacscript b/packages/vscode-insiders-deb/vscode-insiders-deb.pacscript index 709be978cd..6469cf15e0 100644 --- a/packages/vscode-insiders-deb/vscode-insiders-deb.pacscript +++ b/packages/vscode-insiders-deb/vscode-insiders-deb.pacscript @@ -1,25 +1,16 @@ -name="vscode-insiders-deb" +pkgname="vscode-insiders-deb" arch=("amd64" "arm64" "armhf") gives="code-insiders" pkgver="1.81-insiders" pkgversion="1.81.0" -homepage="https://code.visualstudio.com/" +url="https://code.visualstudio.com/" pkgdesc="lightweight but powerful source code editor" project=("project: vscode-insiders") -maintainer="Diegiwg " +maintainer=("Diegiwg ") -case "${CARCH}" in - amd64) - url="https://packages.microsoft.com/repos/code/pool/main/c/code-insiders/code-insiders_${pkgversion}-1689659743_amd64.deb" - hash="e4c764ecd3c76ebd2e21a20372270b7f06d37826c6c2e25201f728817bdb8617" - ;; - arm64) - url="https://packages.microsoft.com/repos/code/pool/main/c/code-insiders/code-insiders_${pkgversion}-1689659758_arm64.deb" - hash="96148a657e7b4789fced1cf72d4f6c06a7b9bef06bd83028146a8d4108ba96cd" - ;; - armhf) - url="https://packages.microsoft.com/repos/code/pool/main/c/code-insiders/code-insiders_${pkgversion}-1689659148_armhf.deb" - hash="fd3c6be35264605b2ef1d4bb10b6ff8837abf0cdbb99c83a4620970daebf9379" - ;; - *) return 1 ;; -esac +source_amd64=("https://packages.microsoft.com/repos/code/pool/main/c/code-insiders/code-insiders_${pkgversion}-1689659743_amd64.deb") +sha256sums_amd64=("e4c764ecd3c76ebd2e21a20372270b7f06d37826c6c2e25201f728817bdb8617") +source_arm64=("https://packages.microsoft.com/repos/code/pool/main/c/code-insiders/code-insiders_${pkgversion}-1689659758_arm64.deb") +sha256sums_arm64=("96148a657e7b4789fced1cf72d4f6c06a7b9bef06bd83028146a8d4108ba96cd") +source_armhf=("https://packages.microsoft.com/repos/code/pool/main/c/code-insiders/code-insiders_${pkgversion}-1689659148_armhf.deb") +sha256sums_armhf=("fd3c6be35264605b2ef1d4bb10b6ff8837abf0cdbb99c83a4620970daebf9379") diff --git a/packages/vscodium-deb/vscodium-deb.pacscript b/packages/vscodium-deb/vscodium-deb.pacscript index 81694c1ef3..1adb4ee6d7 100644 --- a/packages/vscodium-deb/vscodium-deb.pacscript +++ b/packages/vscodium-deb/vscodium-deb.pacscript @@ -1,14 +1,11 @@ -name="vscodium-deb" +pkgname="vscodium-deb" gives="codium" breaks=("${gives}") pkgver="1.88.0.24096" arch=('arm64' 'amd64') -if [[ ${CARCH} == "arm64" ]]; then - hash="533972436f87cbb3d85b174657db8a753e2f14fa3830f8933a7dd46b02f92298" -else - hash="8748954e044e070c42daa6651d60512b37f21fb7e7e8fcc8aa6546edbfd50659" -fi -url="https://github.com/VSCodium/vscodium/releases/download/${pkgver}/${gives}_${pkgver}_${CARCH}.deb" +sha256sums_arm64=("533972436f87cbb3d85b174657db8a753e2f14fa3830f8933a7dd46b02f92298") +sha256sums_amd64=("8748954e044e070c42daa6651d60512b37f21fb7e7e8fcc8aa6546edbfd50659") +source=("https://github.com/VSCodium/vscodium/releases/download/${pkgver}/${gives}_${pkgver}_${CARCH}.deb") repology=("project: vscodium") -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") pkgdesc="Binary releases of VS Code without MS branding/telemetry/licensing" diff --git a/packages/vyprvpn-deb/vyprvpn-deb.pacscript b/packages/vyprvpn-deb/vyprvpn-deb.pacscript index 3397725736..b8c8e6b2f1 100644 --- a/packages/vyprvpn-deb/vyprvpn-deb.pacscript +++ b/packages/vyprvpn-deb/vyprvpn-deb.pacscript @@ -1,9 +1,9 @@ -name="vyprvpn-deb" +pkgname="vyprvpn-deb" gives="vyprvpn" repology=("project: ${gives}") pkgver="1.8" -url="https://support.vyprvpn.com/hc/article_attachments/360054448971/${gives}-linux-cli-${pkgver}.amd64.deb" -replace=("${gives}") +source=("https://support.vyprvpn.com/hc/article_attachments/360054448971/${gives}-linux-cli-${pkgver}.amd64.deb") +replaces=("${gives}") pkgdesc="VyprVPN's CLI tool" -hash="c2c67794b6f4bcdf5f2e3d1e8eeab6a2bff9f452ccc70032b9a408c9f98d5511" +sha256sums=("c2c67794b6f4bcdf5f2e3d1e8eeab6a2bff9f452ccc70032b9a408c9f98d5511") arch=('amd64') diff --git a/packages/waf/waf.pacscript b/packages/waf/waf.pacscript index 004b88576a..1ff68b8539 100644 --- a/packages/waf/waf.pacscript +++ b/packages/waf/waf.pacscript @@ -1,16 +1,18 @@ -name="waf" +pkgname="waf" pkgver="2.0.24" -url="https://gitlab.com/ita1024/waf/-/archive/waf-${pkgver}/waf-waf-${pkgver}.zip" +source=("https://gitlab.com/ita1024/waf/-/archive/waf-${pkgver}/waf-waf-${pkgver}.zip") pkgdesc="Waf is a Python-based framework for configuring, compiling and installing applications." -hash="87a468f9bf1d8a55151dda6290e230bcdad199df70217a223eb96ac79b94f121" -maintainer="echometerain " +sha256sums=("87a468f9bf1d8a55151dda6290e230bcdad199df70217a223eb96ac79b94f121") +maintainer=("echometerain ") build() { + cd "${_archive}" python3 ./waf-light build --make-waf --tools='compat,compat15,ocaml,go,cython,scala,erlang,cuda,gcj,boost,pep8,eclipse' } package() { - sudo install -Dm755 "waf" "${pkgdir}/usr/bin/waf" + cd "${_archive}" + install -Dm755 "waf" "${pkgdir}/usr/bin/waf" } post_install() { diff --git a/packages/walc-app/walc-app.pacscript b/packages/walc-app/walc-app.pacscript index a3d3e14fa9..cacc62cea4 100644 --- a/packages/walc-app/walc-app.pacscript +++ b/packages/walc-app/walc-app.pacscript @@ -4,19 +4,20 @@ # \ // \/ -- \ # \__/\ / \_______ \______ / # \/ \/ \/ -maintainer="wizard-28 " +maintainer=("wizard-28 ") -name="walc-app" -pkgname="walc" +pkgname="walc-app" +gives="walc" pkgver="0.2.1" pkgdesc="An unofficial WhatsApp Desktop client for linux systems." -url="https://github.com/cstayyab/WALC/releases/download/v${pkgver}/${pkgname}.AppImage" -hash="6c1e5c004e9c4bc5a8cf15837ce0e6c884fb3ace6397aa6aa95a6738c1960560" -breaks=("${pkgname}" "${pkgname}-bin" "${pkgname}-git" "${pkgname}-deb") +source=("https://github.com/cstayyab/WALC/releases/download/v${pkgver}/${gives}.AppImage") +sha256sums=("6c1e5c004e9c4bc5a8cf15837ce0e6c884fb3ace6397aa6aa95a6738c1960560") +breaks=("${gives}" "${gives}-bin" "${gives}-git" "${gives}-deb") package() { + cd "${_archive}" # Install binary - sudo install -Dm755 "${pkgname}.AppImage" "${pkgdir}/usr/bin/${pkgname}" + install -Dm755 "${gives}.AppImage" "${pkgdir}/usr/bin/${gives}" } post_remove() { @@ -25,7 +26,7 @@ post_remove() { # Remove left over .config files if ask "Do you want to remove left over configuration files?" Y; then - sudo rm -rf "${homedir}/.config/${pkgname}" + sudo rm -rf "${homedir}/.config/${gives}" fi } # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/warp/warp.pacscript b/packages/warp/warp.pacscript index c5824a3094..357ebd5225 100644 --- a/packages/warp/warp.pacscript +++ b/packages/warp/warp.pacscript @@ -1,19 +1,21 @@ -name="warp" +pkgname="warp" gives="warp" pkgver="0.6.2" pkgdesc="Fast and secure file transfer" repology=("project: warp-share-files") makedepends=("meson" "ninja-build" "libgtk-4-dev" "libadwaita-1-dev" "libappstream-glib-dev" "gir1.2-appstreamglib-1.0" "libappstream-glib8" "libadwaita-1-0" "gettext" "desktop-file-utils" "rustc" "cargo" "itstool" "cmake") depends=("libgtk-4-dev" "gir1.2-appstreamglib-1.0" "libappstream-glib8" "libadwaita-1-0" "gettext" "desktop-file-utils" "rustc" "cargo") -url="https://gitlab.gnome.org/World/${name}/-/archive/v${pkgver}/${name}-v${pkgver}.tar.gz" -hash="b3df2017e19c7bf1477b5bd07d857d0d8fe5375ab293d932a8a4e30aba91496a" -maintainer="Oren Klopfer " +source=("https://gitlab.gnome.org/World/${pkgname}/-/archive/v${pkgver}/${pkgname}-v${pkgver}.tar.gz") +sha256sums=("b3df2017e19c7bf1477b5bd07d857d0d8fe5375ab293d932a8a4e30aba91496a") +maintainer=("Oren Klopfer ") incompatible=("ubuntu:20.04" "ubuntu:20.10" "ubuntu:21.04" "ubuntu:21.10" "ubuntu:22.04" "debian:*") build() { - sudo meson setup build + cd "${_archive}" + meson setup build } package() { - sudo DESTDIR="${pkgdir}" ninja -C build install + cd "${_archive}" + DESTDIR="${pkgdir}" ninja -C build install } diff --git a/packages/warpinator-deb/warpinator-deb.pacscript b/packages/warpinator-deb/warpinator-deb.pacscript index 55693c87cd..b006216a3a 100644 --- a/packages/warpinator-deb/warpinator-deb.pacscript +++ b/packages/warpinator-deb/warpinator-deb.pacscript @@ -1,10 +1,10 @@ -name="warpinator-deb" +pkgname="warpinator-deb" gives="warpinator" pkgdesc="A tool to share files across the LAN" pkgver="1.8.3+virginia" -url="http://packages.linuxmint.com/pool/backport/w/warpinator/warpinator_${pkgver}_amd64.deb" -hash="fdcae13e004e1474711aa2f567e76d372f0634264d69732e775aba338b3d825e" +source=("http://packages.linuxmint.com/pool/backport/w/warpinator/warpinator_${pkgver}_amd64.deb") +sha256sums=("fdcae13e004e1474711aa2f567e76d372f0634264d69732e775aba338b3d825e") depends=("gir1.2-glib-2.0" "gir1.2-gtk-3.0" "gir1.2-xapp-1.0" "gir1.2-nm-1.0" "python3" "python3-gi" "python3-setproctitle" "python3-xapp" "python3-zeroconf" "python3-grpcio" "python3-cryptography" "python3-nacl") compatible=("*:jammy") repology=("project: warpinator" "repo: linux_mint_21_1") -maintainer="Korkmatik <9c54efc1-143b-4f5f-9d2f-f6f189583f0f@aleeas.com>" +maintainer=("Korkmatik <9c54efc1-143b-4f5f-9d2f-f6f189583f0f@aleeas.com>") diff --git a/packages/watchexec-bin/watchexec-bin.pacscript b/packages/watchexec-bin/watchexec-bin.pacscript index 681cc6d62a..6cac8a45c1 100644 --- a/packages/watchexec-bin/watchexec-bin.pacscript +++ b/packages/watchexec-bin/watchexec-bin.pacscript @@ -1,23 +1,24 @@ -name="watchexec-bin" +pkgname="watchexec-bin" repology=("project: watchexec") pkgver="1.25.1" arch=('amd64' 'arm64') +sha256sums_amd64=("16c92ce0b13f4b0082b8a8362ac099fa5ae417780255990302e4865c2a8cd1bc") +sha256sums_arm64=("a8ccd6770d0c0cceace33e5c668f236aaa5292bf77711a6afaefceb0bf8b87c7") if [[ ${CARCH} == amd64 ]]; then - hash="16c92ce0b13f4b0082b8a8362ac099fa5ae417780255990302e4865c2a8cd1bc" arch_prefix="x86_64" else - hash="a8ccd6770d0c0cceace33e5c668f236aaa5292bf77711a6afaefceb0bf8b87c7" arch_prefix="aarch64" fi -url="https://github.com/watchexec/watchexec/releases/download/v${pkgver}/watchexec-${pkgver}-${arch_prefix}-unknown-linux-gnu.tar.xz" +source=("https://github.com/watchexec/watchexec/releases/download/v${pkgver}/watchexec-${pkgver}-${arch_prefix}-unknown-linux-gnu.tar.xz") pkgdesc="Executes commands in response to file modifications" homepage='https://watchexec.github.io/' -maintainer="Andrew Barchuk " +maintainer=("Andrew Barchuk ") package() { - sudo install -Dm755 "./watchexec" -t "${pkgdir}/usr/bin" - sudo install -Dm644 "./watchexec.1" -t "${pkgdir}/usr/share/man/man1" - sudo install -Dm644 "./completions/bash" "${pkgdir}/usr/share/bash-completion/completions/watchexec" + cd "${_archive}" + install -Dm755 "./watchexec" -t "${pkgdir}/usr/bin" + install -Dm644 "./watchexec.1" -t "${pkgdir}/usr/share/man/man1" + install -Dm644 "./completions/bash" "${pkgdir}/usr/share/bash-completion/completions/watchexec" } # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/webapp-manager-deb/webapp-manager-deb.pacscript b/packages/webapp-manager-deb/webapp-manager-deb.pacscript index 4a8ac2c6ac..179739a628 100644 --- a/packages/webapp-manager-deb/webapp-manager-deb.pacscript +++ b/packages/webapp-manager-deb/webapp-manager-deb.pacscript @@ -1,8 +1,8 @@ -name="webapp-manager-deb" +pkgname="webapp-manager-deb" gives="webapp-manager" repology=("project: webapp-manager") pkgver="1.3.4" -url="http://packages.linuxmint.com/pool/main/w/webapp-manager/webapp-manager_${pkgver}_all.deb" +source=("http://packages.linuxmint.com/pool/main/w/webapp-manager/webapp-manager_${pkgver}_all.deb") pkgdesc="Run websites as if they were apps." -hash="4a2d60bb94ae106e6d8084b1de5a73b86fa02a1a404f8e35088951a23ed36008" -maintainer="cat-master21 <96554164+cat-master21@users.noreply.github.com>" +sha256sums=("4a2d60bb94ae106e6d8084b1de5a73b86fa02a1a404f8e35088951a23ed36008") +maintainer=("cat-master21 <96554164+cat-master21@users.noreply.github.com>") diff --git a/packages/webapp-manager/webapp-manager.pacscript b/packages/webapp-manager/webapp-manager.pacscript index 38018b1b9b..1f89a7c636 100644 --- a/packages/webapp-manager/webapp-manager.pacscript +++ b/packages/webapp-manager/webapp-manager.pacscript @@ -1,19 +1,20 @@ -name="webapp-manager" +pkgname="webapp-manager" pkgver="1.3.4" makedepends=("gettext") depends=("gir1.2-xapp-1.0" "python3" "python3-bs4" "python3-configobj" "python3-gi" "python3-setproctitle" "python3-tldextract" "xapps-common" "python3-pil" "libglib2.0-bin") pkgdesc="Run websites as if they were apps" repology=("project: webapp-manager") -hash="818ec1186e028d538b0e7a9237b9fc8c68e804356d322a0a7ba5451c909fcbad" +sha256sums=("818ec1186e028d538b0e7a9237b9fc8c68e804356d322a0a7ba5451c909fcbad") incompatible=("*:jammy" "*:bullseye") -url="https://github.com/linuxmint/webapp-manager/archive/refs/tags/${pkgver}.tar.gz" -maintainer="Zahrun " +source=("https://github.com/linuxmint/webapp-manager/archive/refs/tags/${pkgver}.tar.gz") +maintainer=("Zahrun ") prepare() { + cd "${_archive}" # Silent build sed -i 's/@echo/#/g' Makefile # Fix typo - sed -i 's/range(4)/range(5)/g' "usr/lib/${name}/common.py" + sed -i 's/range(4)/range(5)/g' "usr/lib/${pkgname}/common.py" # Fix desktop file mv usr/share/applications/kde4/webapp-manager.desktop usr/share/applications/webapp-manager-kde.desktop # Fix version @@ -21,12 +22,14 @@ prepare() { } build() { + cd "${_archive}" make all -s } package() { - sudo mkdir -p "${pkgdir}" - sudo cp -r usr etc "${pkgdir}" + cd "${_archive}" + mkdir -p "${pkgdir}" + cp -r usr etc "${pkgdir}" } post_install() { diff --git a/packages/webcord-deb/webcord-deb.pacscript b/packages/webcord-deb/webcord-deb.pacscript index 48b2715a36..c97b45c202 100644 --- a/packages/webcord-deb/webcord-deb.pacscript +++ b/packages/webcord-deb/webcord-deb.pacscript @@ -1,10 +1,10 @@ -name="webcord-deb" +pkgname="webcord-deb" gives="webcord" pkgver="4.6.1" -replace=("${gives}") -url="https://github.com/SpacingBat3/WebCord/releases/download/v${pkgver}/webcord_${pkgver}_amd64.deb" +replaces=("${gives}") +source=("https://github.com/SpacingBat3/WebCord/releases/download/v${pkgver}/webcord_${pkgver}_amd64.deb") repology=("project: webcord") pkgdesc="A Discord and Fosscord client implemented directly without Discord API." -hash="7470803b02ce93f96f2d0f4bf7d9ced9b102ecea3d1d4a2db2d904cf5c1bff5a" +sha256sums=("7470803b02ce93f96f2d0f4bf7d9ced9b102ecea3d1d4a2db2d904cf5c1bff5a") arch=('amd64') -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") diff --git a/packages/webtorrent-desktop-deb/webtorrent-desktop-deb.pacscript b/packages/webtorrent-desktop-deb/webtorrent-desktop-deb.pacscript index 07c0efcfeb..c1b1a8b05f 100644 --- a/packages/webtorrent-desktop-deb/webtorrent-desktop-deb.pacscript +++ b/packages/webtorrent-desktop-deb/webtorrent-desktop-deb.pacscript @@ -1,10 +1,10 @@ -name="webtorrent-desktop-deb" +pkgname="webtorrent-desktop-deb" gives="webtorrent-desktop" pkgver="0.24.0" -replace=("${gives}") -url="https://github.com/webtorrent/webtorrent-desktop/releases/download/v${pkgver}/webtorrent-desktop_${pkgver}_amd64.deb" +replaces=("${gives}") +source=("https://github.com/webtorrent/webtorrent-desktop/releases/download/v${pkgver}/webtorrent-desktop_${pkgver}_amd64.deb") repology=("project: webtorrent-desktop") pkgdesc="The streaming torrent app." -hash="2110c6e81f2ebeae74e8194ec49e80f8357573c57222d2d472623355fb1307b0" +sha256sums=("2110c6e81f2ebeae74e8194ec49e80f8357573c57222d2d472623355fb1307b0") arch=('amd64') -maintainer="সৌম্যদীপ " +maintainer=("সৌম্যদীপ ") diff --git a/packages/weechat-git/weechat-git.pacscript b/packages/weechat-git/weechat-git.pacscript index 29468ea774..dba18a070a 100644 --- a/packages/weechat-git/weechat-git.pacscript +++ b/packages/weechat-git/weechat-git.pacscript @@ -1,25 +1,25 @@ -name="weechat-git" -pkgname="weechat" -url="https://github.com/weechat/weechat.git" +pkgname="weechat-git" +gives="weechat" +source=("https://github.com/weechat/weechat.git") pkgver="4.0.2" makedepends=("build-essential" "pkg-config" "g++") depends=("libncursesw5-dev" "libcurl4-gnutls-dev" "libgcrypt20-dev" "libgnutls28-dev" "zlib1g-dev" "libzstd-dev" "gettext" "ca-certificates" "libaspell-dev" "python3-dev" "libperl-dev" "ruby-dev" "liblua5.4-dev" "tcl-dev" "guile-2.2-dev" "libv8-dev" "php-dev" "libphp-embed" "libxml2-dev" "libargon2-dev" "libsodium-dev" "asciidoctor" "ruby-pygments.rb" "libcpputest-dev") -replace=("${pkgname}-curses" "${pkgname}-plugins" "${pkgname}-python" "${pkgname}-perl" "${pkgname}-devel-curses" "${pkgname}-devel-plugins" "${pkgname}-devel-python" "${pkgname}-devel-perl") -breaks="${pkgname}-devel ${pkgname}" +replaces=("${gives}-curses" "${gives}-plugins" "${gives}-python" "${gives}-perl" "${gives}-devel-curses" "${gives}-devel-plugins" "${gives}-devel-python" "${gives}-devel-perl") +breaks="${gives}-devel ${gives}" pkgdesc="Free chat client, fast and light, designed for many operating systems" -pkgver() { - git ls-remote "${url}" master | cut -f1 | cut -c1-8 -} prepare() { + cd "${_archive}" ./autogen.sh } build() { + cd "${_archive}" ./configure make -j"${NCPU}" } package() { - sudo make install DESTDIR="${pkgdir}" + cd "${_archive}" + make install DESTDIR="${pkgdir}" } diff --git a/packages/wezterm-app/wezterm-app.pacscript b/packages/wezterm-app/wezterm-app.pacscript index fd96a538fe..8df256b332 100644 --- a/packages/wezterm-app/wezterm-app.pacscript +++ b/packages/wezterm-app/wezterm-app.pacscript @@ -1,25 +1,31 @@ -name="wezterm-app" -pkgname="wezterm" +pkgname="wezterm-app" gives="wezterm" pkgver="20230712-072601-f4abf8fd" pkgdesc="A GPU-accelerated cross-platform terminal emulator and multiplexer written by @wez and implemented in Rust" -url="https://github.com/wez/wezterm/releases/download/${pkgver}/WezTerm-${pkgver}-Ubuntu20.04.AppImage" -hash="68656714c332161c47862f74902d676088ba45ca3980d6d2cbc2c3d9dd4a9c72" -breaks=("${pkgname}-bin") +source=( + "https://github.com/wez/wezterm/releases/download/${pkgver}/WezTerm-${pkgver}-Ubuntu20.04.AppImage" + "wezterm-icon.svg::https://raw.githubusercontent.com/wez/wezterm/main/assets/icon/wezterm-icon.svg" + "${gives}.desktop::https://raw.githubusercontent.com/pacstall/pacstall-programs/master/packages/${pkgname}/${gives}.desktop" +) +sha256sums=( + "68656714c332161c47862f74902d676088ba45ca3980d6d2cbc2c3d9dd4a9c72" + "SKIP" + "SKIP" +) +breaks=("${gives}-bin") repology=("project: wezterm") -maintainer="smokeythemonkey " +maintainer=("smokeythemonkey ") package() { + cd "${_archive}" # Install AppImage - sudo install -Dm755 "WezTerm-${pkgver}-Ubuntu20.04.AppImage" "${pkgdir}/usr/bin/${pkgname}" + install -Dm755 "WezTerm-${pkgver}-Ubuntu20.04.AppImage" "${pkgdir}/usr/bin/${gives}" # Download icon - wget -q https://raw.githubusercontent.com/wez/wezterm/main/assets/icon/wezterm-icon.svg - sudo install -Dm644 "wezterm-icon.svg" "${pkgdir}/usr/share/icons/hicolor/128x128/apps/org.wezfurlong.wezterm.svg" + install -Dm644 "${srcdir}/wezterm-icon.svg" "${pkgdir}/usr/share/icons/hicolor/128x128/apps/org.wezfurlong.wezterm.svg" # Install .desktop file - wget -q "https://raw.githubusercontent.com/pacstall/pacstall-programs/master/packages/${name}/${pkgname}.desktop" - sudo install -Dm644 "${pkgname}.desktop" "${pkgdir}/usr/share/applications/org.wezfurlong.wezterm.desktop" + install -Dm644 "${srcdir}/${gives}.desktop" "${pkgdir}/usr/share/applications/org.wezfurlong.wezterm.desktop" } post_remove() { diff --git a/packages/wezterm-bin/wezterm-bin.pacscript b/packages/wezterm-bin/wezterm-bin.pacscript index 7127e9ba72..9686a4520e 100644 --- a/packages/wezterm-bin/wezterm-bin.pacscript +++ b/packages/wezterm-bin/wezterm-bin.pacscript @@ -1,30 +1,30 @@ -name="wezterm-bin" -pkgname="wezterm" +pkgname="wezterm-bin" gives="wezterm" pkgver="20230712-072601-f4abf8fd" pkgdesc="A GPU-accelerated cross-platform terminal emulator and multiplexer written by @wez and implemented in Rust" -url="https://github.com/wez/wezterm/releases/download/${pkgver}/wezterm-${pkgver}.Ubuntu22.04.tar.xz" -hash="3b03b75a26a30f2de28180d66c5556e5878f6f3320d79d12fb78ea486400b6c3" -breaks=("${pkgname}-app") +source=("https://github.com/wez/wezterm/releases/download/${pkgver}/wezterm-${pkgver}.Ubuntu22.04.tar.xz") +sha256sums=("3b03b75a26a30f2de28180d66c5556e5878f6f3320d79d12fb78ea486400b6c3") +breaks=("${gives}-app") repology=("project: wezterm") -maintainer="smokeythemonkey " +maintainer=("smokeythemonkey ") package() { + cd "${_archive}" # Install Binaries - sudo install -Dm755 "${SRCDIR}/wezterm/usr/bin/wezterm" -t "${pkgdir}/usr/bin/" - sudo install -Dm755 "${SRCDIR}/wezterm/usr/bin/open-wezterm-here" "${pkgdir}/usr/bin/" - sudo install -Dm755 "${SRCDIR}/wezterm/usr/bin/strip-ansi-escapes" "${pkgdir}/usr/bin/" - sudo install -Dm755 "${SRCDIR}/wezterm/usr/bin/wezterm-gui" "${pkgdir}/usr/bin/" - sudo install -Dm755 "${SRCDIR}/wezterm/usr/bin/wezterm-mux-server" "${pkgdir}/usr/bin/" + install -Dm755 "${srcdir}/wezterm/usr/bin/wezterm" -t "${pkgdir}/usr/bin/" + install -Dm755 "${srcdir}/wezterm/usr/bin/open-wezterm-here" "${pkgdir}/usr/bin/" + install -Dm755 "${srcdir}/wezterm/usr/bin/strip-ansi-escapes" "${pkgdir}/usr/bin/" + install -Dm755 "${srcdir}/wezterm/usr/bin/wezterm-gui" "${pkgdir}/usr/bin/" + install -Dm755 "${srcdir}/wezterm/usr/bin/wezterm-mux-server" "${pkgdir}/usr/bin/" # Copy Icons and plugins - sudo cp -r "${SRCDIR}/wezterm/usr/share/"* "/usr/share/" + cp -r "${srcdir}/wezterm/usr/share/"* "/usr/share/" # Install .desktop file - sudo install -Dm644 "${SRCDIR}/wezterm/usr/share/applications/org.wezfurlong.wezterm.desktop" "${pkgdir}/usr/share/applications/org.wezfurlong.wezterm.desktop" + install -Dm644 "${srcdir}/wezterm/usr/share/applications/org.wezfurlong.wezterm.desktop" "${pkgdir}/usr/share/applications/org.wezfurlong.wezterm.desktop" # Install wezterm.sh script - sudo install -Dm755 "${SRCDIR}/wezterm/etc/profile.d/wezterm.sh" "${pkgdir}/etc/profile.d/wezterm.sh" + install -Dm755 "${srcdir}/wezterm/etc/profile.d/wezterm.sh" "${pkgdir}/etc/profile.d/wezterm.sh" } post_install() { diff --git a/packages/wgcf-bin/wgcf-bin.pacscript b/packages/wgcf-bin/wgcf-bin.pacscript index af0e589d32..47e5fe2f46 100644 --- a/packages/wgcf-bin/wgcf-bin.pacscript +++ b/packages/wgcf-bin/wgcf-bin.pacscript @@ -1,11 +1,12 @@ -name="wgcf-bin" +pkgname="wgcf-bin" pkgver="2.2.20" -url="https://github.com/ViRb3/wgcf/releases/download/v${pkgver}/wgcf_${pkgver}_linux_amd64" -hash="2a3ab38ace4d2284a3c810a28afcc0c5280d915372214246fe7da7245e06b0fa" +source=("https://github.com/ViRb3/wgcf/releases/download/v${pkgver}/wgcf_${pkgver}_linux_amd64") +sha256sums=("2a3ab38ace4d2284a3c810a28afcc0c5280d915372214246fe7da7245e06b0fa") arch=('amd64') pkgdesc="Cross-platform, unofficial CLI for Cloudflare Warp" -maintainer="Wildy Sheverando " +maintainer=("Wildy Sheverando ") package() { - sudo install -Dm755 "wgcf_${pkgver}_linux_amd64" "/usr/bin/wgcf" + cd "${_archive}" + install -Dm755 "wgcf_${pkgver}_linux_amd64" "/usr/bin/wgcf" } diff --git a/packages/whatsie-git/whatsie-git.pacscript b/packages/whatsie-git/whatsie-git.pacscript index c36d7b8057..ee4c1bd6b7 100644 --- a/packages/whatsie-git/whatsie-git.pacscript +++ b/packages/whatsie-git/whatsie-git.pacscript @@ -1,21 +1,20 @@ -name="whatsie-git" +pkgname="whatsie-git" gives="whatsie" -url="https://github.com/keshavbhatt/whatsie.git" +source=("https://github.com/keshavbhatt/whatsie.git") pkgver="4.14.1" -homepage="https://github.com/keshavbhatt/whatsie" +url="https://github.com/keshavbhatt/whatsie" pkgdesc="Feature rich WhatsApp Client for Desktop Linux" -maintainer="Diegiwg " +maintainer=("Diegiwg ") depends=("libqt5webengine5" "libqt5webenginewidgets5" "libqt5location5") makedepends=("qtbase5-dev" "qtdeclarative5-dev" "qtlocation5-dev" "libqt5webchannel5-dev" "qtwebengine5-dev" "qtwebengine5-dev-tools") -pkgver() { - git ls-remote "${url}" main | cut -f1 | cut -c1-8 -} build() { + cd "${_archive}" qmake src make -j"${NCPU}" } package() { - sudo make install DESTDIR="${pkgdir}" + cd "${_archive}" + make install DESTDIR="${pkgdir}" } diff --git a/packages/whatsie/whatsie.pacscript b/packages/whatsie/whatsie.pacscript index 13ee4351f3..eeab23081e 100644 --- a/packages/whatsie/whatsie.pacscript +++ b/packages/whatsie/whatsie.pacscript @@ -1,19 +1,21 @@ -name="whatsie" +pkgname="whatsie" gives="whatsie" pkgver="4.14.1" -url="https://github.com/keshavbhatt/whatsie/archive/refs/tags/v${pkgver}.tar.gz" -hash="369acebb948375713f4e97a5e0304dbda407b432b42fe8ad0b6aa9b602744311" -homepage="https://github.com/keshavbhatt/whatsie" +source=("https://github.com/keshavbhatt/whatsie/archive/refs/tags/v${pkgver}.tar.gz") +sha256sums=("369acebb948375713f4e97a5e0304dbda407b432b42fe8ad0b6aa9b602744311") +url="https://github.com/keshavbhatt/whatsie" pkgdesc="Feature rich WhatsApp Client for Desktop Linux" -maintainer="Diegiwg " +maintainer=("Diegiwg ") depends=("libqt5webengine5" "libqt5webenginewidgets5" "libqt5location5") makedepends=("qtbase5-dev" "qtdeclarative5-dev" "qtlocation5-dev" "libqt5webchannel5-dev" "qtwebengine5-dev" "qtwebengine5-dev-tools") build() { + cd "${_archive}" qmake src make -j"${NCPU}" } package() { - sudo make install DESTDIR="${pkgdir}" + cd "${_archive}" + make install DESTDIR="${pkgdir}" } diff --git a/packages/windscribe-beta-gui-deb/windscribe-beta-gui-deb.pacscript b/packages/windscribe-beta-gui-deb/windscribe-beta-gui-deb.pacscript index 718f70e9ef..42cda21181 100644 --- a/packages/windscribe-beta-gui-deb/windscribe-beta-gui-deb.pacscript +++ b/packages/windscribe-beta-gui-deb/windscribe-beta-gui-deb.pacscript @@ -1,9 +1,9 @@ -name="windscribe-beta-gui-deb" +pkgname="windscribe-beta-gui-deb" gives="windscribe" repology=("project: ${gives}") pkgver="2.6.14" -url="https://deploy.totallyacdn.com/desktop-apps/${pkgver}/${gives}_${pkgver}_amd64.deb" +source=("https://deploy.totallyacdn.com/desktop-apps/${pkgver}/${gives}_${pkgver}_amd64.deb") pkgdesc="Windscribe's GUI - Beta channel" -hash="43e45f3f2c98002c276623831a05b3250f93a480327f423c8fb06b8b9c4087cf" +sha256sums=("43e45f3f2c98002c276623831a05b3250f93a480327f423c8fb06b8b9c4087cf") arch=('amd64') -maintainer="WRM-42 " +maintainer=("WRM-42 ") diff --git a/packages/wine-staging-git/wine-staging-git.pacscript b/packages/wine-staging-git/wine-staging-git.pacscript index 2cd25fb774..5ba6c73475 100644 --- a/packages/wine-staging-git/wine-staging-git.pacscript +++ b/packages/wine-staging-git/wine-staging-git.pacscript @@ -1,10 +1,19 @@ -name="wine-staging-git" -url="https://github.com/wine-mirror/wine.git" +pkgname="wine-staging-git" +source=( + "https://github.com/wine-mirror/wine.git" + "30-win32-aliases.conf::https://aur.archlinux.org/cgit/aur.git/plain/30-win32-aliases.conf?h=wine-git" + "wine-binfmt.conf::https://aur.archlinux.org/cgit/aur.git/plain/wine-binfmt.conf?h=wine-git" +) +sha256sums=( + "SKIP" + "SKIP" + "SKIP" +) pkgver="8.13" makedepends=("libasound2-dev" "libpulse-dev" "libdbus-1-dev" "libfontconfig-dev" "libfreetype-dev" "libgnutls28-dev" "libjpeg-turbo8-dev" "libpng-dev" "libtiff-dev" "libgl-dev" "libunwind-dev" "libxml2-dev" "libxslt1-dev" "libfaudio-dev" "libgstreamer1.0-dev" "libgstreamer-plugins-base1.0-dev" "libmpg123-dev" "libjxr-dev" "libosmesa6-dev" "libsdl2-dev" "libudev-dev" "libvkd3d-dev" "libvulkan-dev" "gcc-mingw-w64" "gcc-multilib" "g++-multilib" "flex" "bison" "libx11-dev" "libx11-dev:i386" "xorg-dev" "libfreetype-dev:i386" "oss4-dev" "libasound2-dev:i386" "libpulse-dev:i386" "libdbus-1-dev:i386" "libfontconfig-dev:i386" "libfreetype-dev:i386" "libgnutls28-dev:i386" "libjpeg-turbo8-dev:i386" "libpng-dev:i386" "libtiff-dev:i386" "libgl-dev:i386" "libunwind-dev:i386" "libxml2-dev:i386" "libxslt1-dev:i386" "libgstreamer1.0-dev:i386" "libmpg123-dev:i386" "libosmesa6-dev:i386" "libsdl2-dev:i386" "libudev-dev:i386" "libvulkan-dev:i386" "libx11-dev:i386") -depends=("software-properties-common" "debconf" "git-core" "libjpeg-turbo8:i386" "libasound2" "libasound2:i386" "libpulse0" "libpulse0:i386" "libdbus-1-3" "libdbus-1-3:i386" "libfontconfig1" "libfontconfig1:i386" "libfreetype6" "libfreetype6:i386" "libgnutls30" "libgnutls30:i386" "libpng-tools" "libpng16-16" "libpng16-16:i386" "libtiff5" "libtiff5:i386" "libgl1" "libgl1:i386" "libunwind8" "libunwind8:i386" "libxml2" "libxml2:i386" "libxml2-utils" "libxslt1.1" "libxslt1.1:i386" "libfaudio0" "libfaudio0:i386" "libgstreamer1.0-0" "libgstreamer1.0-0:i386" "libgstreamer-plugins-base1.0-0" "libgstreamer-plugins-base1.0-0:i386" "libmpg123-0" "libmpg123-0:i386" "libosmesa6" "libosmesa6:i386" "libsdl2-2.0-0" "libsdl2-2.0-0:i386" "libudev1" "libudev1:i386" "libvkd3d1" "libvkd3d1:i386" "libvulkan1" "libvulkan1:i386" "libjxr-tools" "libjxr0" "libx11-6" "libx11-6:i386" "xorg" "oss4-base") +depends=("software-properties-common" "debconf" "git-core" "libjpeg-turbo8:i386" "libasound2" "libasound2:i386" "libpulse0" "libpulse0:i386" "libdbus-1-3" "libdbus-1-3:i386" "libfontconfig1" "libfontconfig1:i386" "libfreetype6" "libfreetype6:i386" "libgnutls30" "libgnutls30:i386" "libpng-tools" "libpng16-16" "libpng16-16:i386" "libtiff5" "libtiff5:i386" "libgl1" "libgl1:i386" "libunwind8" "libunwind8:i386" "libxml2" "libxml2:i386" "libxml2-utils" "libxslt1.1" "libxslt1.1:i386" "libfaudio0" "libfaudio0:i386" "libgstreamer-plugins-base1.0-dev:i386" "libgstreamer1.0-0" "libgstreamer1.0-0:i386" "libgstreamer-plugins-base1.0-0" "libgstreamer-plugins-base1.0-0:i386" "libmpg123-0" "libmpg123-0:i386" "libosmesa6" "libosmesa6:i386" "libsdl2-2.0-0" "libsdl2-2.0-0:i386" "libudev1" "libudev1:i386" "libvkd3d1" "libvkd3d1:i386" "libvulkan1" "libvulkan1:i386" "libjxr-tools" "libjxr0" "libx11-6" "libx11-6:i386" "xorg" "oss4-base") breaks=("wine" "wine64" "wine32:i386" "libwine" "libwine:i386" "wine-staging-i386:i386") -replace=("wine" "wine64" "wine32:i386" "libwine" "libwine:i386" "wine-staging-i386:i386") +replaces=("wine" "wine64" "wine32:i386" "libwine" "libwine:i386" "wine-staging-i386:i386") pkgdesc="Wine is a program which allows running Microsoft Windows programs (including DOS, Windows 3.x, Win32, and Win64 executables) on Unix. It consists of a program loader which loads and executes a Microsoft Windows binary, and a library (called Winelib) that implements Windows API calls using their Unix, X11 or Mac equivalents. The library may also be used for porting Windows code into native Unix executables." optdepends=("libcapi20-dev: for ISDN software" "liblcms2-dev: color management" @@ -35,22 +44,19 @@ optdepends=("libcapi20-dev: for ISDN software" # Translated from : https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=wine-git # Original author : Daniel Bermond -maintainer="echometerain " -pkgver() { - git ls-remote "${url}" master | cut -f1 | cut -c1-8 -} +maintainer=("echometerain ") prepare() { + cd "${_archive}" export CFLAGS="${CFLAGS:-/-fno-plt/}" export LDFLAGS="${LDFLAGS:-/,-z,now/}" export PKG_CONFIG_PATH="/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig:/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig" mkdir "wine64-build" mkdir "wine32-build" - wget "http://mirrors.kernel.org/ubuntu/pool/main/g/gst-plugins-base1.0/libgstreamer-plugins-base1.0-dev_1.20.1-1_i386.deb" - sudo apt install -y "./libgstreamer-plugins-base1.0-dev_1.20.1-1_i386.deb" } build() { + cd "${_archive}" cd "wine64-build" ../configure \ --prefix='/usr' \ @@ -69,31 +75,30 @@ build() { --with-wine64="../wine64-build" make -j"${NCPU}" # shellcheck disable=SC2103 - cd .. + cd "${srcdir}" } package() { + cd "${_archive}" cd "wine32-build" - sudo mkdir -p "${pkgdir}/usr/lib32/wine" - sudo make prefix="${pkgdir}/usr" \ + mkdir -p "${pkgdir}/usr/lib32/wine" + make prefix="${pkgdir}/usr" \ libdir="${pkgdir}/usr/lib32" \ dlldir="${pkgdir}/usr/lib32/wine" \ install cd "../wine64-build" - sudo mkdir -p "${pkgdir}/usr/lib/wine" - sudo make prefix="${pkgdir}/usr" \ + mkdir -p "${pkgdir}/usr/lib/wine" + make prefix="${pkgdir}/usr" \ libdir="${pkgdir}/usr/lib" \ dlldir="${pkgdir}/usr/lib/wine" \ install - sudo install -d -m755 "${pkgdir}/usr/share/fontconfig/conf.default" - wget "https://aur.archlinux.org/cgit/aur.git/plain/30-win32-aliases.conf?h=wine-git" -O "./30-win32-aliases.conf" - sudo install -D -m644 "./30-win32-aliases.conf" -t "${pkgdir}/usr/share/fontconfig/conf.avail" - sudo install -D -m644 "./30-win32-aliases.conf" -t "${pkgdir}/usr/share/fontconfig/conf.default/30-win32-aliases.conf" + install -d -m755 "${pkgdir}/usr/share/fontconfig/conf.default" + install -D -m644 "${srcdir}/30-win32-aliases.conf" "${pkgdir}/usr/share/fontconfig/conf.avail" + install -D -m644 "${srcdir}/30-win32-aliases.conf" "${pkgdir}/usr/share/fontconfig/conf.default/30-win32-aliases.conf" - wget "https://aur.archlinux.org/cgit/aur.git/plain/wine-binfmt.conf?h=wine-git" -O "./wine-binfmt.conf" - sudo install -D -m644 "./wine-binfmt.conf" "${pkgdir}/usr/lib/binfmt.d/wine.conf" + install -D -m644 "${srcdir}/wine-binfmt.conf" "${pkgdir}/usr/lib/binfmt.d/wine.conf" - sudo i686-w64-mingw32-strip --strip-unneeded "${pkgdir}/usr/lib32/wine/i386-windows"/*.dll - sudo x86_64-w64-mingw32-strip --strip-unneeded "${pkgdir}/usr/lib/wine/x86_64-windows"/*.dll + i686-w64-mingw32-strip --strip-unneeded "${pkgdir}/usr/lib32/wine/i386-windows"/*.dll + x86_64-w64-mingw32-strip --strip-unneeded "${pkgdir}/usr/lib/wine/x86_64-windows"/*.dll } diff --git a/packages/wsysmon-bin/wsysmon-bin.pacscript b/packages/wsysmon-bin/wsysmon-bin.pacscript index 5d6e2da667..9d2c3d492a 100644 --- a/packages/wsysmon-bin/wsysmon-bin.pacscript +++ b/packages/wsysmon-bin/wsysmon-bin.pacscript @@ -1,20 +1,25 @@ -maintainer="0x262D " -name="wsysmon-bin" -pkgname="wsysmon" +maintainer=("0x262D ") +pkgname="wsysmon-bin" gives="wsysmon" pkgver="0.1.0" pkgdesc="A windows task manager clone for Linux" -url="https://github.com/SlyFabi/WSysMon/releases/download/${pkgver}/WSysMon" -hash="ef57a20064c7d97c437cbce19e20f78638430e08bc7c9933cc876e83114fce58" -breaks=("${pkgname}" "${pkgname}-deb" "${pkgname}-git") -repology=("project: ${pkgname}") +source=( + "https://github.com/SlyFabi/WSysMon/releases/download/${pkgver}/WSysMon" + "${gives}.desktop::https://raw.githubusercontent.com/pacstall/pacstall-programs/master/packages/${pkgname}/${gives}.desktop" +) +sha256sums=( + "ef57a20064c7d97c437cbce19e20f78638430e08bc7c9933cc876e83114fce58" + "SKIP" +) +breaks=("${gives}" "${gives}-deb" "${gives}-git") +repology=("project: ${gives}") package() { + cd "${_archive}" # Install appimage - sudo install -Dm755 "WSysMon" "${pkgdir}/usr/bin/${pkgname}" + install -Dm755 "WSysMon" "${pkgdir}/usr/bin/${gives}" # Install .desktop file - wget -q "https://raw.githubusercontent.com/pacstall/pacstall-programs/master/packages/${name}/${pkgname}.desktop" - sudo install -Dm644 "${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop" + install -Dm644 "${srcdir}/${gives}.desktop" "${pkgdir}/usr/share/applications/${gives}.desktop" } # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/xapps-common-deb/xapps-common-deb.pacscript b/packages/xapps-common-deb/xapps-common-deb.pacscript index b2aea5443c..2a48f7cc6e 100644 --- a/packages/xapps-common-deb/xapps-common-deb.pacscript +++ b/packages/xapps-common-deb/xapps-common-deb.pacscript @@ -1,8 +1,8 @@ -name="xapps-common-deb" +pkgname="xapps-common-deb" gives="xapps-common" pkgver="2.8.2" repology=("project: xapps") -url="http://packages.linuxmint.com/pool/backport/x/xapp/xapps-common_${pkgver}+virginia_all.deb" -hash="5423e5bf2309a687e651f9f0c90e8f107e58c6512614787147e19e7e96474f1a" +source=("http://packages.linuxmint.com/pool/backport/x/xapp/xapps-common_${pkgver}+virginia_all.deb") +sha256sums=("5423e5bf2309a687e651f9f0c90e8f107e58c6512614787147e19e7e96474f1a") pkgdesc="Components which are common to multiple desktop environments and required to implement cross-DE solutions" -maintainer="Zahrun " +maintainer=("Zahrun ") diff --git a/packages/xcb-util-errors/xcb-util-errors.pacscript b/packages/xcb-util-errors/xcb-util-errors.pacscript index eab8473394..6611b62be8 100644 --- a/packages/xcb-util-errors/xcb-util-errors.pacscript +++ b/packages/xcb-util-errors/xcb-util-errors.pacscript @@ -1,19 +1,21 @@ -name="xcb-util-errors" -gives="lib${name}" +pkgname="xcb-util-errors" +gives="lib${pkgname}" pkgver="1.0.1" pkgdesc="XCB errors library" homepage='https://cgit.freedesktop.org/xcb/util-errors/' makedepends=("libtool" "xcb-proto" "xutils-dev" "autoconf" "autogen" "pkg-config" "libxcb1-dev" "python3") -url="https://xorg.freedesktop.org/archive/individual/lib/${name}-${pkgver}.tar.xz" -hash="5628c87b984259ad927bacd8a42958319c36bdf4b065887803c9d820fb80f357" -maintainer="Elsie19 " +source=("https://xorg.freedesktop.org/archive/individual/lib/${pkgname}-${pkgver}.tar.xz") +sha256sums=("5628c87b984259ad927bacd8a42958319c36bdf4b065887803c9d820fb80f357") +maintainer=("Elsie19 ") build() { + cd "${_archive}" ./configure --prefix=/usr make -j"${NCPU}" } package() { - sudo DESTDIR="${pkgdir}" make install - sudo install -Dm644 COPYING -t "${pkgdir}/usr/share/licenses/${gives}/" + cd "${_archive}" + DESTDIR="${pkgdir}" make install + install -Dm644 COPYING -t "${pkgdir}/usr/share/licenses/${gives}/" } diff --git a/packages/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland.pacscript b/packages/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland.pacscript index 399aa4d384..7cef9e9da5 100644 --- a/packages/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland.pacscript +++ b/packages/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland.pacscript @@ -1,15 +1,20 @@ -name="xdg-desktop-portal-hyprland" -repology=("project: ${name}") +pkgname="xdg-desktop-portal-hyprland" +repology=("project: ${pkgname}") pkgver="1.2.5" pkgrel="1" -url="https://github.com/hyprwm/${name}/archive/v${pkgver}/v${pkgver}.tar.gz" protocols_ver="0.2" -protocols_url="https://github.com/hyprwm/hyprland-protocols.git" -hash="c8ba3d173a580d8b4ec9a5ee15e7780d266e536a78a12aa28d8234e0854ae86d" +source=( + "https://github.com/hyprwm/${pkgname}/archive/v${pkgver}/v${pkgver}.tar.gz" + "https://github.com/hyprwm/hyprland-protocols.git#branch=v${protocols_ver}" +) +sha256sums=( + "c8ba3d173a580d8b4ec9a5ee15e7780d266e536a78a12aa28d8234e0854ae86d" + "SKIP" +) compatible=('ubuntu:devel' 'debian:sid' 'ubuntu:mantic' 'ubuntu:noble') homepage='https://hyprland.org/' pkgdesc="xdg-desktop-portal backend for hyprland" -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") arch=("amd64" "arm64") depends=("pipewire" "xdg-desktop-portal" "grim" "slurp") makedepends=("cmake" "pkg-config" "meson" "ninja-build" "scdoc" "wayland-utils" "wayland-protocols" "libgbm-dev" "libinih-dev" "uuid-dev" "qt6-base-dev" "qt6-wayland-dev" "libpipewire-0.3-dev" "libsdbus-c++-dev" "libsdbus-c++-bin") @@ -19,36 +24,38 @@ case "${DISTRO}" in esac prepare() { - sudo mkdir -p "${pkgdir}/usr/share/xdg-desktop-portal/" - sudo mkdir -p "${pkgdir}/usr/bin/" - sudo mkdir -p "${pkgdir}/usr/share/licenses/${name}/" + cd "${_archive}" + mkdir -p "${pkgdir}/usr/share/xdg-desktop-portal/" + mkdir -p "${pkgdir}/usr/bin/" + mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}/" } build() { + cd "${_archive}" echo '[preferred] default=hyprland;gtk' | tee hyprland-portals.conf > /dev/null - mkdir -p subprojects && cd subprojects - git clone --quiet --depth=1 --jobs=10 "${protocols_url}" -b v"${protocols_ver}" && cd .. + mkdir -p subprojects && cp -r "${srcdir}/hyprland-protocols" subprojects meson setup build ninja -C build make -j"${NCPU}" -C hyprland-share-picker all } package() { - sudo DESTDIR="${pkgdir}" ninja -C build install - sudo install -Dm0755 hyprland-share-picker/build/hyprland-share-picker -t "${pkgdir}/usr/bin/" - sudo install -Dm0644 LICENSE -t "${pkgdir}/usr/share/licenses/${name}/" + cd "${_archive}" + DESTDIR="${pkgdir}" ninja -C build install + install -Dm0755 hyprland-share-picker/build/hyprland-share-picker -t "${pkgdir}/usr/bin/" + install -Dm0644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/" protocols_dir="${pkgdir}/usr/local/share/hyprland-protocols" if ! [[ -d ${protocols_dir} ]]; then - sudo mkdir -p "${protocols_dir}" - sudo cp -r subprojects/hyprland-protocols/protocols "${protocols_dir}" - sudo mkdir -p "${pkgdir}/usr/local/share/pkgconfig" + mkdir -p "${protocols_dir}" + cp -r subprojects/hyprland-protocols/protocols "${protocols_dir}" + mkdir -p "${pkgdir}/usr/local/share/pkgconfig" echo "prefix=/usr/local datarootdir=\${prefix}/share pkgdatadir=\${pc_sysrootdir}\${datarootdir}/hyprland-protocols Name: Hyprland Protocols Description: Hyprland protocol files -Version: ${protocols_ver}" | sudo tee "${pkgdir}/usr/local/share/pkgconfig/hyprland-protocols.pc" > /dev/null +Version: ${protocols_ver}" | tee "${pkgdir}/usr/local/share/pkgconfig/hyprland-protocols.pc" > /dev/null fi } diff --git a/packages/xfce4-deb/xfce4-deb.pacscript b/packages/xfce4-deb/xfce4-deb.pacscript index 42f7e1c5bc..08cd1cc428 100644 --- a/packages/xfce4-deb/xfce4-deb.pacscript +++ b/packages/xfce4-deb/xfce4-deb.pacscript @@ -1,8 +1,8 @@ -name="xfce4-deb" +pkgname="xfce4-deb" gives="xfce4" pkgver="4.18" -url="http://ftp.de.debian.org/debian/pool/main/x/${gives}/${gives}_${pkgver}_all.deb" +source=("http://ftp.de.debian.org/debian/pool/main/x/${gives}/${gives}_${pkgver}_all.deb") pkgdesc="XFCE4 Desktop" -hash="f8635ff525c6d87290fb1a794f67928c198e63f7d900f95c66c0c565697624ff" -maintainer="http.llamaz " +sha256sums=("f8635ff525c6d87290fb1a794f67928c198e63f7d900f95c66c0c565697624ff") +maintainer=("http.llamaz ") repology=("project: xfce4-meta") diff --git a/packages/xfce4-hotcorner-plugin-git/xfce4-hotcorner-plugin-git.pacscript b/packages/xfce4-hotcorner-plugin-git/xfce4-hotcorner-plugin-git.pacscript index 36ec5f6a7f..6f05acfb70 100644 --- a/packages/xfce4-hotcorner-plugin-git/xfce4-hotcorner-plugin-git.pacscript +++ b/packages/xfce4-hotcorner-plugin-git/xfce4-hotcorner-plugin-git.pacscript @@ -1,20 +1,19 @@ -name="xfce4-hotcorner-plugin-git" -url="https://github.com/christopherkobayashi/xfce4-hotcorner-plugin.git" +pkgname="xfce4-hotcorner-plugin-git" +source=("https://github.com/christopherkobayashi/xfce4-hotcorner-plugin.git") pkgver="0.0.4" gives="xfce4-hotcorner-plugin" makedepends=("make" "libgtk-3-dev" "libwnck-3-dev" "libnotify-dev" "intltool" "libxfce4ui-2-dev" "libxfce4panel-2.0-dev") depends=("libgtk-3-0" "libwnck-3-0" "libnotify4" "libxfce4ui-2-0" "libxfce4panel-2.0-4") incompatible=("ubuntu:jammy") pkgdesc="hotcorners, for XFCE" -maintainer="Oren Klopfer " -pkgver() { - git ls-remote "${url}" master | cut -f1 | cut -c1-8 -} +maintainer=("Oren Klopfer ") prepare() { + cd "${_archive}" ./configure --prefix="${pkgdir}/usr" } package() { - sudo make install + cd "${_archive}" + make install } diff --git a/packages/xfce4-settings-pine-git/xfce4-settings-pine-git.pacscript b/packages/xfce4-settings-pine-git/xfce4-settings-pine-git.pacscript index ad3eefe935..7e71a6b663 100644 --- a/packages/xfce4-settings-pine-git/xfce4-settings-pine-git.pacscript +++ b/packages/xfce4-settings-pine-git/xfce4-settings-pine-git.pacscript @@ -1,23 +1,23 @@ -name="xfce4-settings-pine-git" +pkgname="xfce4-settings-pine-git" gives="xfce4-settings" -replace=("${gives}") +replaces=("${gives}") makedepends=("xfce4-dev-tools" "libexo-2-dev" "libgarcon-1-dev" "libxfce4ui-2-dev") -url="https://github.com/oklopfer/xfce4-settings.git" +source=("https://github.com/oklopfer/xfce4-settings.git") pkgver="4.18.0" -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") pkgdesc="XFCE4 patch that allows Pine64 Devices to auto-rotate" -pkgver() { - git ls-remote "${url}" master | cut -f1 | cut -c1-8 -} prepare() { - sudo ./autogen.sh + cd "${_archive}" + ./autogen.sh } build() { - sudo make -j"${NCPU}" + cd "${_archive}" + make -j"${NCPU}" } package() { - sudo make install DESTDIR="${pkgdir}" + cd "${_archive}" + make install DESTDIR="${pkgdir}" } diff --git a/packages/xmind-vana-deb/xmind-vana-deb.pacscript b/packages/xmind-vana-deb/xmind-vana-deb.pacscript index 84715cdb14..ac0b6fc3b7 100644 --- a/packages/xmind-vana-deb/xmind-vana-deb.pacscript +++ b/packages/xmind-vana-deb/xmind-vana-deb.pacscript @@ -1,9 +1,9 @@ -name="xmind-vana-deb" +pkgname="xmind-vana-deb" gives="xmind-vana" pkgver="23.05.1745" -url="https://dl3.xmind.net/Xmind-for-Linux-amd64bit-${pkgver}.deb" +source=("https://dl3.xmind.net/Xmind-for-Linux-amd64bit-${pkgver}.deb") homepage='https://xmind.app/' pkgdesc="Mind mapping and brainstorming app" -hash="0a260a95d35b1a3f35a58f20931185a73c95f7e6b821b5645af573a3084530a1" +sha256sums=("0a260a95d35b1a3f35a58f20931185a73c95f7e6b821b5645af573a3084530a1") repology=("project: xmind") arch=("amd64") diff --git a/packages/xonotic/xonotic.pacscript b/packages/xonotic/xonotic.pacscript index 4055b554e3..2f01fb0848 100644 --- a/packages/xonotic/xonotic.pacscript +++ b/packages/xonotic/xonotic.pacscript @@ -1,22 +1,22 @@ -name="xonotic" pkgname="xonotic" -pkgver="0.8.6" gives="xonotic" +pkgver="0.8.6" pkgdesc="The Free and Fast Arena Shooter" homepage='https://xonotic.org/' -url="https://dl.unvanquished.net/share/xonotic/release/xonotic-${pkgver}.zip" -hash="50850f8d800e7499722f6ea61e478e96464a375494b5a24da93aa0598cbe964d" +source=("https://dl.unvanquished.net/share/xonotic/release/xonotic-${pkgver}.zip") +sha256sums=("50850f8d800e7499722f6ea61e478e96464a375494b5a24da93aa0598cbe964d") breaks=("xonotic-git") arch=('amd64') -maintainer="Herisson " +maintainer=("Herisson ") repology=("project: xonotic") package() { - sudo install -Dm755 "xonotic-linux64-sdl" "${pkgdir}/usr/bin/${pkgname}-sdl" - sudo install -Dm755 "xonotic-linux64-glx" "${pkgdir}/usr/bin/${pkgname}-glx" - sudo mkdir -p "${pkgdir}/usr/share/applications/" - sudo mkdir -p "${pkgdir}/usr/share/xonotic" - sudo cp -r ./* "${pkgdir}/usr/share/xonotic" + cd "${_archive}" + install -Dm755 "xonotic-linux64-sdl" "${pkgdir}/usr/bin/${gives}-sdl" + install -Dm755 "xonotic-linux64-glx" "${pkgdir}/usr/bin/${gives}-glx" + mkdir -p "${pkgdir}/usr/share/applications/" + mkdir -p "${pkgdir}/usr/share/xonotic" + cp -r ./* "${pkgdir}/usr/share/xonotic" echo "[Desktop Entry] Type=Application Version=0.8.6 @@ -29,5 +29,5 @@ Exec=xonotic-sdl -basedir /usr/share/xonotic/ Terminal=false PrefersNonDefaultGPU=true StartupNotify=false -Categories=Game;ActionGame;" | sudo tee "${pkgdir}/usr/share/applications/xonotic.desktop" > /dev/null +Categories=Game;ActionGame;" | tee "${pkgdir}/usr/share/applications/xonotic.desktop" > /dev/null } diff --git a/packages/yabridge/yabridge.pacscript b/packages/yabridge/yabridge.pacscript index c890dd35e6..3a7dcb9848 100644 --- a/packages/yabridge/yabridge.pacscript +++ b/packages/yabridge/yabridge.pacscript @@ -1,18 +1,19 @@ -name="yabridge" +pkgname="yabridge" pkgver="5.0.5" -url="https://github.com/robbert-vdh/yabridge/releases/download/${pkgver}/yabridge-${pkgver}.tar.gz" +source=("https://github.com/robbert-vdh/yabridge/releases/download/${pkgver}/yabridge-${pkgver}.tar.gz") pkgdesc="A modern and transparent way to use Windows VST2 and VST3 plugins on Linux." -hash="3ddc6e0989dad93e0275a83362fcfc0cb26b6dbfb8be7fc689410c02eb36455f" +sha256sums=("3ddc6e0989dad93e0275a83362fcfc0cb26b6dbfb8be7fc689410c02eb36455f") optdepends=("wine: 32-bit windows emulator" "wine64: 64-bit windows emulator") -maintainer="echometerain " +maintainer=("echometerain ") repology=("project: yabridge") package() { - sudo install -dm755 "${pkgdir}/usr/bin" - sudo install yabridgectl "${pkgdir}/usr/bin" - sudo install yabridge-host{,-32}.exe{,.so} "${pkgdir}/usr/bin" + cd "${_archive}" + install -dm755 "${pkgdir}/usr/bin" + install yabridgectl "${pkgdir}/usr/bin" + install yabridge-host{,-32}.exe{,.so} "${pkgdir}/usr/bin" - sudo install -dm755 "${pkgdir}/usr/lib" - sudo install libyabridge{,-chainloader}-{vst2,vst3,clap}.so "${pkgdir}/usr/lib" + install -dm755 "${pkgdir}/usr/lib" + install libyabridge{,-chainloader}-{vst2,vst3,clap}.so "${pkgdir}/usr/lib" } diff --git a/packages/yad/yad.pacscript b/packages/yad/yad.pacscript index 6630a52536..1edc4b515c 100644 --- a/packages/yad/yad.pacscript +++ b/packages/yad/yad.pacscript @@ -1,19 +1,20 @@ -name="yad" +pkgname="yad" pkgver="13.0" -url="https://github.com/v1cont/${name}/releases/download/v${pkgver}/${name}-${pkgver}.tar.xz" +source=("https://github.com/v1cont/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.xz") makedepends=("autotools-dev" "intltool" "libgtk-3-dev" "automake") depends=("libc6" "libcairo2" "libgdk-pixbuf2.0-0" "libglib2.0-0" "libgtk-3-0" "libpango-1.0-0" "libpangocairo-1.0-0") -breaks="${name} ${name}-bin ${name}-app ${name}-git ${name}-deb" +breaks="${pkgname} ${pkgname}-bin ${pkgname}-app ${pkgname}-git ${pkgname}-deb" gives="yad" pkgdesc="Yet Another Dialog" -hash="194198c4a58e20ceffd9a3206633c3726d962d7d4219edb77aeb748897403e34" +sha256sums=("194198c4a58e20ceffd9a3206633c3726d962d7d4219edb77aeb748897403e34") optdepends=("libwebkit2gtk-4.0-dev: for supporting HTML dialog" "libgtksourceview-3.0-dev: for enabling syntax highlighting in text-info dialog" "libgspell-1-dev: for support spell checking in text fields") -maintainer="echometerain " +maintainer=("echometerain ") repology=("project: yad") prepare() { + cd "${_archive}" autoreconf -ivf && intltoolize FLAGS=" --enable-icon-browser" @@ -29,12 +30,14 @@ prepare() { } build() { + cd "${_archive}" ./configure "${FLAGS}" make -j"${NCPU}" } package() { - sudo make install DESTDIR="${pkgdir}" + cd "${_archive}" + make install DESTDIR="${pkgdir}" } post_install() { diff --git a/packages/yafetch-git/yafetch-git.pacscript b/packages/yafetch-git/yafetch-git.pacscript index b117f4c68c..cee54423ed 100644 --- a/packages/yafetch-git/yafetch-git.pacscript +++ b/packages/yafetch-git/yafetch-git.pacscript @@ -1,14 +1,12 @@ -name="yafetch-git" +pkgname="yafetch-git" gives="yafetch" breaks=("${gives}-deb" "${gives}-bin" "${gives}-app" "${gives}-git") -url="https://github.com/Elsie19/yafetch.git" +source=("https://github.com/Elsie19/yafetch.git") pkgver="0.1.0" pkgdesc="Yet another fetch tool" -maintainer="Elsie19 " -pkgver() { - git ls-remote "${url}" master | cut -f1 | cut -c1-8 -} +maintainer=("Elsie19 ") package() { - sudo install -Dm755 yafetch "${pkgdir}/usr/bin/yafetch" + cd "${_archive}" + install -Dm755 yafetch "${pkgdir}/usr/bin/yafetch" } diff --git a/packages/yandex-browser-beta-deb/yandex-browser-beta-deb.pacscript b/packages/yandex-browser-beta-deb/yandex-browser-beta-deb.pacscript index 8ba2d89739..2396a19f30 100644 --- a/packages/yandex-browser-beta-deb/yandex-browser-beta-deb.pacscript +++ b/packages/yandex-browser-beta-deb/yandex-browser-beta-deb.pacscript @@ -1,9 +1,9 @@ -name="yandex-browser-beta-deb" +pkgname="yandex-browser-beta-deb" gives="yandex-browser-beta" repology=("project: ${gives}") pkgver="23.11.1.675-1" -url="http://repo.yandex.ru/yandex-browser/deb/pool/main/y/${gives}/${gives}_${pkgver}_amd64.deb" +source=("http://repo.yandex.ru/yandex-browser/deb/pool/main/y/${gives}/${gives}_${pkgver}_amd64.deb") pkgdesc="The web browser from Yandex - Beta" -hash="5823de6408f3bc2dfa4d05d11236eaa0f8d0312588baaca8e824f1c0d83a2c30" +sha256sums=("5823de6408f3bc2dfa4d05d11236eaa0f8d0312588baaca8e824f1c0d83a2c30") arch=('amd64') -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") diff --git a/packages/yandex-browser-corporate-deb/yandex-browser-corporate-deb.pacscript b/packages/yandex-browser-corporate-deb/yandex-browser-corporate-deb.pacscript index 27abea3de7..df02fdb925 100644 --- a/packages/yandex-browser-corporate-deb/yandex-browser-corporate-deb.pacscript +++ b/packages/yandex-browser-corporate-deb/yandex-browser-corporate-deb.pacscript @@ -1,9 +1,9 @@ -name="yandex-browser-corporate-deb" +pkgname="yandex-browser-corporate-deb" gives="yandex-browser-corporate" repology=("project: ${gives}") pkgver="23.11.1.785-1" -url="http://repo.yandex.ru/yandex-browser/deb/pool/main/y/${gives}/${gives}_${pkgver}_amd64.deb" +source=("http://repo.yandex.ru/yandex-browser/deb/pool/main/y/${gives}/${gives}_${pkgver}_amd64.deb") pkgdesc="The web browser from Yandex - Corporate" -hash="f59d1b8ad97f582644c9fdf6fd95e01209320abbca3de2b44b1cc55476438700" +sha256sums=("f59d1b8ad97f582644c9fdf6fd95e01209320abbca3de2b44b1cc55476438700") arch=('amd64') -maintainer="Wildy Sheverando " +maintainer=("Wildy Sheverando ") diff --git a/packages/yandex-browser-stable-deb/yandex-browser-stable-deb.pacscript b/packages/yandex-browser-stable-deb/yandex-browser-stable-deb.pacscript index 02f167c6a7..d20a8286ae 100644 --- a/packages/yandex-browser-stable-deb/yandex-browser-stable-deb.pacscript +++ b/packages/yandex-browser-stable-deb/yandex-browser-stable-deb.pacscript @@ -1,10 +1,10 @@ -name="yandex-browser-stable-deb" +pkgname="yandex-browser-stable-deb" gives="yandex-browser-stable" -replace=("${gives}") +replaces=("${gives}") repology=("project: yandex-browser") pkgver="23.11.1.714-1" -url="http://repo.yandex.ru/yandex-browser/deb/pool/main/y/${gives}/${gives}_${pkgver}_amd64.deb" +source=("http://repo.yandex.ru/yandex-browser/deb/pool/main/y/${gives}/${gives}_${pkgver}_amd64.deb") pkgdesc="The web browser from Yandex" -hash="1e692b2d6eeff1885b9cc25232345827ff6e489d4db191732e0c0c319c08aee5" +sha256sums=("1e692b2d6eeff1885b9cc25232345827ff6e489d4db191732e0c0c319c08aee5") arch=('amd64') -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") diff --git a/packages/yandex-disk-deb/yandex-disk-deb.pacscript b/packages/yandex-disk-deb/yandex-disk-deb.pacscript index 586440e5ba..a88e13387a 100644 --- a/packages/yandex-disk-deb/yandex-disk-deb.pacscript +++ b/packages/yandex-disk-deb/yandex-disk-deb.pacscript @@ -1,9 +1,9 @@ -name="yandex-disk-deb" +pkgname="yandex-disk-deb" gives="yandex-disk" -replace=("${gives}") +replaces=("${gives}") repology=("project: ${gives}") pkgver="0.1.6.1080" -url="https://repo.yandex.ru/${gives}/deb/pool/main/y/${gives}/${gives}_${pkgver}_amd64.deb" +source=("https://repo.yandex.ru/${gives}/deb/pool/main/y/${gives}/${gives}_${pkgver}_amd64.deb") pkgdesc="Cloud service that lets users store files on 'cloud' servers and share them with others online" -hash="47ba503b4dfccecc824386d67d686abe4b5356b8b546e48fce8811b5fa88a718" +sha256sums=("47ba503b4dfccecc824386d67d686abe4b5356b8b546e48fce8811b5fa88a718") arch=('amd64') diff --git a/packages/youtube-dl-git/youtube-dl-git.pacscript b/packages/youtube-dl-git/youtube-dl-git.pacscript index c0dea59f41..6dbfe387f7 100644 --- a/packages/youtube-dl-git/youtube-dl-git.pacscript +++ b/packages/youtube-dl-git/youtube-dl-git.pacscript @@ -1,20 +1,19 @@ -name="youtube-dl-git" -pkgname="youtube-dl" -url="https://github.com/ytdl-org/youtube-dl.git" +pkgname="youtube-dl-git" +gives="youtube-dl" +source=("https://github.com/ytdl-org/youtube-dl.git") pkgver="2021.12.17" pkgdesc="Command-line program to download videos from YouTube.com and other video sites" makedepends=("make" "pandoc" "python3") depends=("python3") -maintainer="KwonNam Son " -pkgver() { - git ls-remote "${url}" master | cut -f1 | cut -c1-8 -} +maintainer=("KwonNam Son ") prepare() { + cd "${_archive}" git fetch --all --tags --prune git checkout "tags/${pkgver}" -b "${pkgver}" } package() { - sudo make install PREFIX="${pkgdir}/usr" PYTHON="/usr/bin/env python3" + cd "${_archive}" + make install PREFIX="${pkgdir}/usr" PYTHON="/usr/bin/env python3" } diff --git a/packages/youtube-music-deb/youtube-music-deb.pacscript b/packages/youtube-music-deb/youtube-music-deb.pacscript index db61343a54..b8d631a329 100644 --- a/packages/youtube-music-deb/youtube-music-deb.pacscript +++ b/packages/youtube-music-deb/youtube-music-deb.pacscript @@ -1,9 +1,9 @@ -name="youtube-music-deb" +pkgname="youtube-music-deb" gives="youtube-music" repology=("project: ${gives}") pkgver="3.3.6" -url="https://github.com/th-ch/youtube-music/releases/download/v${pkgver}/youtube-music_${pkgver}_amd64.deb" +source=("https://github.com/th-ch/youtube-music/releases/download/v${pkgver}/youtube-music_${pkgver}_amd64.deb") pkgdesc="YouTube Music Desktop App bundled with custom plugins (and built-in ad blocker / downloader)" -hash="b875bfc24657f1a09bd81508fe3c5c421972b2e66744c1583b6bca7cdec1a87a" +sha256sums=("b875bfc24657f1a09bd81508fe3c5c421972b2e66744c1583b6bca7cdec1a87a") arch=('amd64') -maintainer="Zahrun " +maintainer=("Zahrun ") diff --git a/packages/yt-dlp/yt-dlp.pacscript b/packages/yt-dlp/yt-dlp.pacscript index 1e3eb83cf7..669ffcf84c 100644 --- a/packages/yt-dlp/yt-dlp.pacscript +++ b/packages/yt-dlp/yt-dlp.pacscript @@ -1,13 +1,14 @@ -name="yt-dlp" -repology=("project: ${name}") +pkgname="yt-dlp" +repology=("project: ${pkgname}") pkgver="2024.03.10" -url="https://github.com/yt-dlp/yt-dlp/releases/download/${pkgver}/yt-dlp" +source=("https://github.com/yt-dlp/yt-dlp/releases/download/${pkgver}/yt-dlp") depends=("python3" "ffmpeg") -breaks=("${name}-git" "${name}-bin" "${name}") +breaks=("${pkgname}-git" "${pkgname}-bin" "${pkgname}") pkgdesc="A youtube-dl fork with additional features and fixes" -hash="5576348930e44102add235c0a032e766f416a507db1dd2c75da833ff21e9fb6c" -maintainer="Oren Klopfer " +sha256sums=("5576348930e44102add235c0a032e766f416a507db1dd2c75da833ff21e9fb6c") +maintainer=("Oren Klopfer ") package() { - sudo install -Dm755 "yt-dlp" -t "${pkgdir}/usr/bin" + cd "${_archive}" + install -Dm755 "yt-dlp" -t "${pkgdir}/usr/bin" } diff --git a/packages/zap/zap.pacscript b/packages/zap/zap.pacscript index a6540053de..bd4a82d5d2 100644 --- a/packages/zap/zap.pacscript +++ b/packages/zap/zap.pacscript @@ -1,15 +1,16 @@ -name="zap" pkgname="zap" +gives="zap" pkgver="2.2.1" depends=("curl" "grep" "jq" "wget") -url="https://github.com/srevinsaju/zap/releases/download/v2.2.1/zap-amd64" -hash="4972edd5da1be5c5dd2fa14619c7068b09fd9dc31c1feea50ed564cdb14df6bc" +source=("https://github.com/srevinsaju/zap/releases/download/v2.2.1/zap-amd64") +sha256sums=("4972edd5da1be5c5dd2fa14619c7068b09fd9dc31c1feea50ed564cdb14df6bc") arch=('amd64') pkgdesc="A delightful AppImage package manager" -maintainer="srevinsaju " +maintainer=("srevinsaju ") package() { - sudo mkdir -p "${pkgdir}/usr/bin" - sudo cp zap-amd64 "${pkgdir}/usr/bin/zap" - sudo chmod +x "${pkgdir}/usr/bin/zap" + cd "${_archive}" + mkdir -p "${pkgdir}/usr/bin" + cp zap-amd64 "${pkgdir}/usr/bin/zap" + chmod +x "${pkgdir}/usr/bin/zap" } diff --git a/packages/zentile-bin/zentile-bin.pacscript b/packages/zentile-bin/zentile-bin.pacscript index be5a385dd0..dc23a9fbc9 100644 --- a/packages/zentile-bin/zentile-bin.pacscript +++ b/packages/zentile-bin/zentile-bin.pacscript @@ -4,20 +4,20 @@ # \ // \/ -- \ # \__/\ / \_______ \______ / # \/ \/ \/ -maintainer="wizard-28 " +maintainer=("wizard-28 ") -name="zentile-bin" -pkgname="zentile" +pkgname="zentile-bin" +gives="zentile" pkgver="0.1.1" pkgdesc="Automatic Tiling for EWMH Complaint Window Managers." -url="https://github.com/blrsn/zentile/releases/download/v${pkgver}/${pkgname}_linux_amd64" -gives="zentile" -breaks=("${pkgname}" "${pkgname}-git" "${pkgname}-deb" "${pkgname}-app") -hash="3448835def513588bde74ecd98ed1b5e03c4269f32c90e31846e608b3eabcc33" +source=("https://github.com/blrsn/zentile/releases/download/v${pkgver}/${gives}_linux_amd64") +breaks=("${gives}" "${gives}-git" "${gives}-deb" "${gives}-app") +sha256sums=("3448835def513588bde74ecd98ed1b5e03c4269f32c90e31846e608b3eabcc33") arch=('amd64') package() { + cd "${_archive}" # Install binary - sudo install -Dm755 "${pkgname}_linux_amd64" "${pkgdir}/usr/bin/${pkgname}" + install -Dm755 "${gives}_linux_amd64" "${pkgdir}/usr/bin/${gives}" } # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/zettlr-deb/zettlr-deb.pacscript b/packages/zettlr-deb/zettlr-deb.pacscript index 5efb463b7c..539b539356 100644 --- a/packages/zettlr-deb/zettlr-deb.pacscript +++ b/packages/zettlr-deb/zettlr-deb.pacscript @@ -1,10 +1,9 @@ -name="zettlr-deb" -pkgname="zettlr" +pkgname="zettlr-deb" gives="zettlr" pkgver="3.0.3" pkgdesc="Markdown editor for the 21st century" -url="https://github.com/Zettlr/Zettlr/releases/download/v${pkgver}/Zettlr-${pkgver}-amd64.deb" -hash="5ed31951ac48e665c16de25afb85af0a2c3a099f5649bc6b64929a7bf5bcb672" +source=("https://github.com/Zettlr/Zettlr/releases/download/v${pkgver}/Zettlr-${pkgver}-amd64.deb") +sha256sums=("5ed31951ac48e665c16de25afb85af0a2c3a099f5649bc6b64929a7bf5bcb672") repology=("project: zettlr") arch=('amd64') -maintainer="smokeythemonkey " +maintainer=("smokeythemonkey ") diff --git a/packages/zig-bin/zig-bin.pacscript b/packages/zig-bin/zig-bin.pacscript index f818a81937..1c324519fe 100644 --- a/packages/zig-bin/zig-bin.pacscript +++ b/packages/zig-bin/zig-bin.pacscript @@ -1,25 +1,26 @@ -name="zig-bin" +pkgname="zig-bin" repology=("project: zig") pkgver="0.11.0" arch=('amd64' 'arm64') +sha256sums_amd64=("2d00e789fec4f71790a6e7bf83ff91d564943c5ee843c5fd966efc474b423047") +sha256sums_arm64=("956eb095d8ba44ac6ebd27f7c9956e47d92937c103bf754745d0a39cdaa5d4c6") if [[ ${CARCH} == amd64 ]]; then - hash="2d00e789fec4f71790a6e7bf83ff91d564943c5ee843c5fd966efc474b423047" url_arch="x86_64" else - hash="956eb095d8ba44ac6ebd27f7c9956e47d92937c103bf754745d0a39cdaa5d4c6" url_arch="aarch64" fi -url="https://ziglang.org/download/${pkgver}/zig-linux-${url_arch}-${pkgver}.tar.xz" +source=("https://ziglang.org/download/${pkgver}/zig-linux-${url_arch}-${pkgver}.tar.xz") pkgdesc="General-purpose programming language and toolchain for maintaining robust, optimal and reusable software" homepage='https://ziglang.org/' -maintainer="Andrew Barchuk " +maintainer=("Andrew Barchuk ") package() { - sudo install -Dm755 ./zig -t "${pkgdir}/usr/bin" - sudo install -d "${pkgdir}/usr/lib/zig/" - sudo cp -r ./lib/* "${pkgdir}/usr/lib/zig/" - sudo install -d "${pkgdir}/usr/share/doc/zig" - sudo cp -r ./doc/* "${pkgdir}/usr/share/doc/zig" + cd "${_archive}" + install -Dm755 ./zig -t "${pkgdir}/usr/bin" + install -d "${pkgdir}/usr/lib/zig/" + cp -r ./lib/* "${pkgdir}/usr/lib/zig/" + install -d "${pkgdir}/usr/share/doc/zig" + cp -r ./doc/* "${pkgdir}/usr/share/doc/zig" } # vim:set ft=sh ts=2 sw=2 et: diff --git a/packages/zoho-notebook-deb/zoho-notebook-deb.pacscript b/packages/zoho-notebook-deb/zoho-notebook-deb.pacscript index 30c6fe0df2..46a61f7e60 100644 --- a/packages/zoho-notebook-deb/zoho-notebook-deb.pacscript +++ b/packages/zoho-notebook-deb/zoho-notebook-deb.pacscript @@ -1,9 +1,9 @@ -name="zoho-notebook-deb" +pkgname="zoho-notebook-deb" gives="notebook" pkgver="2.2.3" -replace=("notebook") -url="https://downloads.zohocdn.com/notebooklinux-desktop/Notebook-${pkgver}.deb" +replaces=("notebook") +source=("https://downloads.zohocdn.com/notebooklinux-desktop/Notebook-${pkgver}.deb") repology=("project: zoho-notebook") pkgdesc="The most beautiful note-taking app across devices" -hash="c9f4faf14c722fd549cd1be7ebd0424728af7ad2ceda246faadd76d2b83abaa1" -maintainer="Oren Klopfer " +sha256sums=("c9f4faf14c722fd549cd1be7ebd0424728af7ad2ceda246faadd76d2b83abaa1") +maintainer=("Oren Klopfer ") diff --git a/packages/zoom-deb/zoom-deb.pacscript b/packages/zoom-deb/zoom-deb.pacscript index 97ed1d666a..a756ca1837 100644 --- a/packages/zoom-deb/zoom-deb.pacscript +++ b/packages/zoom-deb/zoom-deb.pacscript @@ -1,10 +1,10 @@ -name="zoom-deb" +pkgname="zoom-deb" gives="zoom" pkgver="6.0.2.4680" -replace=("${gives}") -url="https://zoom.us/client/${pkgver}/zoom_amd64.deb" +replaces=("${gives}") +source=("https://zoom.us/client/${pkgver}/zoom_amd64.deb") repology=("project: zoom-videoconference") pkgdesc="Connect, collaborate, and get more done together with Zoom’s reliable video meeting solution." -hash="5c3b18dcb05b1bdcf941ca881981ae5e34425ebc53538d9267976987c622e181" +sha256sums=("5c3b18dcb05b1bdcf941ca881981ae5e34425ebc53538d9267976987c622e181") arch=("amd64") -maintainer="vigress8 " +maintainer=("vigress8 ") diff --git a/packages/zotero/zotero.pacscript b/packages/zotero/zotero.pacscript index e8596d9300..6ae72c36a2 100644 --- a/packages/zotero/zotero.pacscript +++ b/packages/zotero/zotero.pacscript @@ -1,24 +1,26 @@ -name="zotero" +pkgname="zotero" repology=("project: zotero") pkgver="6.0.30" -url="https://download.zotero.org/client/release/${pkgver}/Zotero-${pkgver}_linux-x86_64.tar.bz2" +source=("https://download.zotero.org/client/release/${pkgver}/Zotero-${pkgver}_linux-x86_64.tar.bz2") pkgdesc="Your personal research assistant" -hash="e17419d71c3d42d9374b31ccb04524f87b8862d1c300e320a70cdb01de504295" +sha256sums=("e17419d71c3d42d9374b31ccb04524f87b8862d1c300e320a70cdb01de504295") arch=('amd64') -maintainer="Oren Klopfer " +maintainer=("Oren Klopfer ") prepare() { + cd "${_archive}" # Modify desktop file to point to install location sed -i -e "s/^Exec=.*/Exec=\/opt\/zotero\/zotero -url %U/" \ -e "s/^Icon=.*/Icon=zotero/" zotero.desktop } package() { - sudo install -D zotero.desktop -t "${pkgdir}/usr/share/applications" + cd "${_archive}" + install -D zotero.desktop -t "${pkgdir}/usr/share/applications" installdir="${pkgdir}/opt/zotero" - sudo mkdir -p "${installdir}" - sudo cp -r ./ "${installdir}" + mkdir -p "${installdir}" + cp -r ./ "${installdir}" for size in 16 32 48 256; do - sudo install -Dm644 "chrome/icons/default/default${size}.png" "${pkgdir}/usr/share/icons/hicolor/${size}x${size}/apps/zotero.png" + install -Dm644 "chrome/icons/default/default${size}.png" "${pkgdir}/usr/share/icons/hicolor/${size}x${size}/apps/zotero.png" done } diff --git a/packages/zoxide-deb/zoxide-deb.pacscript b/packages/zoxide-deb/zoxide-deb.pacscript index 2cb220efe2..167ed794f0 100644 --- a/packages/zoxide-deb/zoxide-deb.pacscript +++ b/packages/zoxide-deb/zoxide-deb.pacscript @@ -1,18 +1,11 @@ -name="zoxide-deb" +pkgname="zoxide-deb" gives="zoxide" pkgdesc="A smarter cd command. Supports all major shells." -maintainer="lfromanini " +maintainer=("lfromanini ") repology=("project: zoxide") arch=("amd64" "arm64") pkgver="0.9.4" -url="https://github.com/ajeetdsouza/zoxide/releases/download/v${pkgver}/zoxide_${pkgver}-1_${CARCH}.deb" +source=("https://github.com/ajeetdsouza/zoxide/releases/download/v${pkgver}/zoxide_${pkgver}-1_${CARCH}.deb") -case "${CARCH}" in - amd64) - hash="81b7a762bcb8f789dfde4cac78ac34a406c6f79763f3669efbd60f65d013b2e1" - ;; - arm64) - hash="575f520691dfd9acc1b280b0ca47f44f49bd004763b61abfb3da36f211d88215" - ;; - *) return 1 ;; -esac +sha256sums_amd64=("81b7a762bcb8f789dfde4cac78ac34a406c6f79763f3669efbd60f65d013b2e1") +sha256sums_arm64=("575f520691dfd9acc1b280b0ca47f44f49bd004763b61abfb3da36f211d88215") diff --git a/packages/zsh-history-substring-search-git/zsh-history-substring-search-git.pacscript b/packages/zsh-history-substring-search-git/zsh-history-substring-search-git.pacscript old mode 100755 new mode 100644 index 771ee7298b..7b4fcaa0cc --- a/packages/zsh-history-substring-search-git/zsh-history-substring-search-git.pacscript +++ b/packages/zsh-history-substring-search-git/zsh-history-substring-search-git.pacscript @@ -1,18 +1,15 @@ -name="zsh-history-substring-search-git" -pkgname="zsh-history-substring-search" -url="https://github.com/zsh-users/zsh-history-substring-search.git" +pkgname="zsh-history-substring-search-git" +gives="zsh-history-substring-search" +source=("https://github.com/zsh-users/zsh-history-substring-search.git") pkgver="1.1.0" depends=("zsh") -breaks=("${pkgname}") -replace=("${pkgname}") -gives=("${pkgname}") +breaks=("${gives}") +replaces=("${gives}") pkgdesc="ZSH port of Fish history search (up arrow)" -maintainer="Zahrun " -pkgver() { - git ls-remote "${url}" refs/heads/master | cut -f1 | cut -c1-8 -} +maintainer=("Zahrun ") package() { - sudo install -d "${pkgdir}/usr/share/zsh/plugins/zsh-history-substring-search" - sudo install -m 755 ./*.zsh -t "${pkgdir}/usr/share/zsh/plugins/zsh-history-substring-search" + cd "${_archive}" + install -d "${pkgdir}/usr/share/zsh/plugins/zsh-history-substring-search" + install -m 755 ./*.zsh -t "${pkgdir}/usr/share/zsh/plugins/zsh-history-substring-search" }