diff --git a/pkgbuilds/stable/asdcontrol/.SRCINFO b/pkgbuilds/stable/asdcontrol/.SRCINFO new file mode 100644 index 0000000..f82f658 --- /dev/null +++ b/pkgbuilds/stable/asdcontrol/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = asdcontrol + pkgdesc = Control brightness on Apple Displays connected via USB-C + pkgver = 0.23.0ee8bd5 + pkgrel = 1 + url = https://github.com/nikosdion/asdcontrol + install = asdcontrol.install + arch = x86_64 + license = GPL2 + makedepends = make + makedepends = gcc + depends = glibc + depends = gcc-libs + source = asdcontrol-0.23.0ee8bd5.tar.gz::https://github.com/nikosdion/asdcontrol/archive/0ee8bd5.tar.gz + sha256sums = 1381ba2e048ec73aa0f8c32e47370460efd31b31f7558a7b922a3c4ebef00ebc + +pkgname = asdcontrol diff --git a/pkgbuilds/stable/asdcontrol/.gitignore b/pkgbuilds/stable/asdcontrol/.gitignore new file mode 100644 index 0000000..0541757 --- /dev/null +++ b/pkgbuilds/stable/asdcontrol/.gitignore @@ -0,0 +1,27 @@ +# Build directories +src/ +pkg/ + +# Package files +*.pkg.tar.zst +*.pkg.tar.xz +*.pkg.tar.gz +*.pkg.tar + +# Source archives +*.tar.gz +*.tar.xz +*.tar.bz2 +*.zip + +# Logs +*.log + +# Temporary files +*~ +*.swp +*.swo +.DS_Store + +# Git clones +asdcontrol/ \ No newline at end of file diff --git a/pkgbuilds/stable/asdcontrol/PKGBUILD b/pkgbuilds/stable/asdcontrol/PKGBUILD new file mode 100644 index 0000000..157e72e --- /dev/null +++ b/pkgbuilds/stable/asdcontrol/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Ryan Hughes +pkgname=asdcontrol +pkgver=0.23.0ee8bd5 +pkgrel=1 +pkgdesc="Control brightness on Apple Displays connected via USB-C" +arch=('x86_64') +url="https://github.com/nikosdion/asdcontrol" +license=('GPL2') +options=('!debug') +depends=('glibc' 'gcc-libs') +makedepends=('make' 'gcc') +source=("$pkgname-$pkgver.tar.gz::https://github.com/nikosdion/asdcontrol/archive/0ee8bd5.tar.gz") +sha256sums=('1381ba2e048ec73aa0f8c32e47370460efd31b31f7558a7b922a3c4ebef00ebc') +install=asdcontrol.install + +build() { + cd "$srcdir/asdcontrol-0ee8bd576d4e93513027d713e688988cb0d827ef" + make +} + +package() { + cd "$srcdir/asdcontrol-0ee8bd576d4e93513027d713e688988cb0d827ef" + + # Install the binary + install -Dm755 asdcontrol "$pkgdir/usr/bin/asdcontrol" + + # Install the sudoers file for passwordless execution + install -dm750 "$pkgdir/etc/sudoers.d" + echo "ALL ALL=(ALL) NOPASSWD: /usr/bin/asdcontrol" > "$pkgdir/etc/sudoers.d/asdcontrol" + chmod 440 "$pkgdir/etc/sudoers.d/asdcontrol" +} diff --git a/pkgbuilds/stable/asdcontrol/asdcontrol.install b/pkgbuilds/stable/asdcontrol/asdcontrol.install new file mode 100644 index 0000000..11ca350 --- /dev/null +++ b/pkgbuilds/stable/asdcontrol/asdcontrol.install @@ -0,0 +1,13 @@ +post_install() { + echo ":: asdcontrol has been installed" + echo ":: You can now use 'sudo asdcontrol' to control Apple Display brightness" + echo ":: Passwordless sudo has been configured for /usr/bin/asdcontrol" +} + +post_upgrade() { + post_install +} + +post_remove() { + echo ":: Sudoers configuration for asdcontrol has been removed" +} \ No newline at end of file diff --git a/pkgbuilds/stable/asusctl/.SRCINFO b/pkgbuilds/stable/asusctl/.SRCINFO new file mode 100644 index 0000000..b83a065 --- /dev/null +++ b/pkgbuilds/stable/asusctl/.SRCINFO @@ -0,0 +1,49 @@ +pkgbase = asusctl + pkgdesc = A control daemon, tools, and a collection of crates for interacting with ASUS ROG laptops + pkgver = 6.3.2 + pkgrel = 0.1 + url = https://asus-linux.org + arch = x86_64 + license = MPL-2.0 + makedepends = clang + makedepends = cmake + makedepends = fontconfig + makedepends = git + makedepends = hicolor-icon-theme + makedepends = libayatana-appindicator + makedepends = libinput + makedepends = libusb + makedepends = rust + makedepends = seatd + makedepends = systemd + source = git+https://gitlab.com/asus-linux/asusctl.git#tag=6.3.2 + b2sums = 4bf6b850e19551426c2011cfb75e880fad1f7161a6f3200748d4dafe9a26d038676c1ba3df8bc68d4b080146e1f78abca07984860c0034c15ce0b742fe34477c + +pkgname = asusctl + pkgdesc = A control daemon, CLI tools, and a collection of crates for interacting with ASUS ROG laptops + install = asusctl.install + depends = gcc-libs + depends = glibc + depends = libusb + depends = systemd + depends = systemd-libs + optdepends = acpi_call: fan control + optdepends = asusctltray: tray profile switcher + optdepends = rog-control-center: app to control asusctl + optdepends = supergfxctl: hybrid GPU control + conflicts = gnome-shell-extension-asusctl-gnome + +pkgname = rog-control-center + pkgdesc = App to control asusctl + depends = asusctl + depends = fontconfig + depends = freetype2 + depends = gcc-libs + depends = glibc + depends = hicolor-icon-theme + depends = libayatana-appindicator + depends = libinput + depends = libxkbcommon + depends = mesa + depends = seatd + depends = systemd-libs diff --git a/pkgbuilds/stable/asusctl/.nvchecker.toml b/pkgbuilds/stable/asusctl/.nvchecker.toml new file mode 100644 index 0000000..d1a0c7f --- /dev/null +++ b/pkgbuilds/stable/asusctl/.nvchecker.toml @@ -0,0 +1,4 @@ +[asusctl] +source = "git" +git = "https://gitlab.com/asus-linux/asusctl.git" + diff --git a/pkgbuilds/stable/asusctl/LICENSE b/pkgbuilds/stable/asusctl/LICENSE new file mode 100644 index 0000000..b87c5e4 --- /dev/null +++ b/pkgbuilds/stable/asusctl/LICENSE @@ -0,0 +1,12 @@ +Copyright Arch Linux Contributors + +Permission to use, copy, modify, and/or distribute this software for +any purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL +WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES +OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE +FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY +DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN +AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT +OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff --git a/pkgbuilds/stable/asusctl/LICENSES/0BSD.txt b/pkgbuilds/stable/asusctl/LICENSES/0BSD.txt new file mode 120000 index 0000000..ea5b606 --- /dev/null +++ b/pkgbuilds/stable/asusctl/LICENSES/0BSD.txt @@ -0,0 +1 @@ +../LICENSE \ No newline at end of file diff --git a/pkgbuilds/stable/asusctl/PKGBUILD b/pkgbuilds/stable/asusctl/PKGBUILD new file mode 100644 index 0000000..fcde00e --- /dev/null +++ b/pkgbuilds/stable/asusctl/PKGBUILD @@ -0,0 +1,107 @@ +# Maintainer: Fabian Bornschein +# Contributor: Static_Rocket + +pkgbase=asusctl +pkgname=( + asusctl + rog-control-center +) +pkgver=6.3.2 +pkgrel=0.1 +pkgdesc="A control daemon, tools, and a collection of crates for interacting with ASUS ROG laptops" +arch=('x86_64') +url="https://asus-linux.org" +license=('MPL-2.0') +makedepends=( + clang + cmake + fontconfig + git + hicolor-icon-theme + libayatana-appindicator + libinput + libusb + rust + seatd + systemd +) +source=("git+https://gitlab.com/asus-linux/asusctl.git#tag=$pkgver") +b2sums=('4bf6b850e19551426c2011cfb75e880fad1f7161a6f3200748d4dafe9a26d038676c1ba3df8bc68d4b080146e1f78abca07984860c0034c15ce0b742fe34477c') + +prepare() { + cd "${pkgbase}" + + # Keep rust/cargo build-dependency management inside the build directory + export CARGO_HOME="${srcdir}/cargo" + + # Follow Rust package guidelines + ## https://wiki.archlinux.org/title/Rust_package_guidelines + export RUSTUP_TOOLCHAIN=stable + cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')" +} + +build() { + cd "${pkgbase}" + + # Keep rust/cargo build-dependency management inside the build directory + export CARGO_HOME="${srcdir}/cargo" + + # Follow Rust package guidelines + ## https://wiki.archlinux.org/title/Rust_package_guidelines + export RUSTUP_TOOLCHAIN=stable + export CARGO_TARGET_DIR=target + + make build +} + +package_asusctl() { + pkgdesc="${pkgdesc/tools/CLI tools}" + depends=( + gcc-libs + glibc + libusb + systemd + systemd-libs + ) + conflicts=(gnome-shell-extension-asusctl-gnome) + install=asusctl.install + optdepends=( + 'acpi_call: fan control' + 'asusctltray: tray profile switcher' + 'rog-control-center: app to control asusctl' + 'supergfxctl: hybrid GPU control' + ) + + cd "${pkgbase}" + export CARGO_HOME="${srcdir}/cargo" + make DESTDIR="${pkgdir}" \ + install-asusctl \ + install-asusd \ + install-asusd_user \ + install-data-asusd \ + install-data-asusd_user +} + +package_rog-control-center() { + depends=( + asusctl + fontconfig + freetype2 + gcc-libs + glibc + hicolor-icon-theme + libayatana-appindicator + libinput + libxkbcommon + mesa + seatd + systemd-libs + ) + pkgdesc="App to control asusctl" + + cd "${pkgbase}" + export CARGO_HOME="${srcdir}/cargo" + make DESTDIR="${pkgdir}" \ + install-data-rog_gui \ + install-rog_gui +} diff --git a/pkgbuilds/stable/asusctl/REUSE.toml b/pkgbuilds/stable/asusctl/REUSE.toml new file mode 100644 index 0000000..8501755 --- /dev/null +++ b/pkgbuilds/stable/asusctl/REUSE.toml @@ -0,0 +1,22 @@ +version = 1 + +[[annotations]] +path = [ + "PKGBUILD", + "README.md", + "keys/**", + ".SRCINFO", + ".nvchecker.toml", + "*.install", + "*.sysusers", + "*.tmpfiles", + "*.logrotate", + "*.pam", + "*.service", + "*.socket", + "*.timer", + "*.desktop", + "*.hook", +] +SPDX-FileCopyrightText = "Arch Linux contributors" +SPDX-License-Identifier = "0BSD" diff --git a/pkgbuilds/stable/asusctl/asusctl.install b/pkgbuilds/stable/asusctl/asusctl.install new file mode 100644 index 0000000..2f5a1c3 --- /dev/null +++ b/pkgbuilds/stable/asusctl/asusctl.install @@ -0,0 +1,19 @@ +post_install() { + printf ":: asusd provides a service that is activated by an udev rule on\n" + printf ":: startup. Please reboot the system or run\n" + printf ":: # systemctl start asusd.service\n" + printf ":: to make it work.\n" + printf ":: See https://gitlab.com/asus-linux/asusctl#kernel-support.\n" + printf ":: for latest required kernel patches/versions\n" +} + +post_upgrade() { + if systemctl is-active asusd.service --quiet + then + printf ":: asusd service will be restarted…\n" + systemctl daemon-reload + systemctl restart asusd.service + fi + printf ":: See https://gitlab.com/asus-linux/asusctl#kernel-support.\n" + printf ":: for latest required kernel patches/versions\n" +} diff --git a/pkgbuilds/stable/elephant-archlinuxpkgs/.SRCINFO b/pkgbuilds/stable/elephant-archlinuxpkgs/.SRCINFO new file mode 100644 index 0000000..9b5d976 --- /dev/null +++ b/pkgbuilds/stable/elephant-archlinuxpkgs/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = elephant-archlinuxpkgs + pkgdesc = archlinuxpkgs provider for elephant + pkgver = 2.19.1 + pkgrel = 1 + url = https://github.com/abenz1267/elephant + arch = x86_64 + arch = aarch64 + license = GPL + makedepends = go + provides = elephant-archlinuxpkgs + conflicts = elephant-archlinuxpkgs + source = https://github.com/abenz1267/elephant/archive/refs/tags/v2.19.1.tar.gz + sha256sums = 0d3aaac36c8a4a596c7c699dd32bcf45e47141f3497610a8ba655ffbcaf36e51 + +pkgname = elephant-archlinuxpkgs diff --git a/pkgbuilds/stable/elephant-archlinuxpkgs/PKGBUILD b/pkgbuilds/stable/elephant-archlinuxpkgs/PKGBUILD new file mode 100644 index 0000000..799d449 --- /dev/null +++ b/pkgbuilds/stable/elephant-archlinuxpkgs/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Andrej Benz + +pkgname=elephant-archlinuxpkgs +pkgver=2.19.1 +pkgrel=1 +pkgdesc='archlinuxpkgs provider for elephant' +url='https://github.com/abenz1267/elephant' +arch=('x86_64' 'aarch64') +license=('GPL') +makedepends=('go') +conflicts=('elephant-archlinuxpkgs') +provides=('elephant-archlinuxpkgs') +source=("${url}/archive/refs/tags/v${pkgver}.tar.gz") +sha256sums=('0d3aaac36c8a4a596c7c699dd32bcf45e47141f3497610a8ba655ffbcaf36e51') + +build() { + cd elephant-${pkgver}/internal/providers/archlinuxpkgs + go build -ldflags="-s -w" -buildvcs=false -buildmode=plugin -trimpath +} + +package() { + cd elephant-${pkgver}/internal/providers/archlinuxpkgs + install -Dm 755 archlinuxpkgs.so -t "${pkgdir}/usr/lib/elephant" + + cd ../../../ + install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" +} diff --git a/pkgbuilds/stable/elephant-bluetooth/.SRCINFO b/pkgbuilds/stable/elephant-bluetooth/.SRCINFO new file mode 100644 index 0000000..dfc259c --- /dev/null +++ b/pkgbuilds/stable/elephant-bluetooth/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = elephant-bluetooth + pkgdesc = bluetooth provider for elephant + pkgver = 2.19.1 + pkgrel = 1 + url = https://github.com/abenz1267/elephant + arch = x86_64 + arch = aarch64 + license = GPL + makedepends = go + provides = elephant-bluetooth + conflicts = elephant-bluetooth + source = https://github.com/abenz1267/elephant/archive/refs/tags/v2.19.1.tar.gz + sha256sums = 0d3aaac36c8a4a596c7c699dd32bcf45e47141f3497610a8ba655ffbcaf36e51 + +pkgname = elephant-bluetooth diff --git a/pkgbuilds/stable/elephant-bluetooth/PKGBUILD b/pkgbuilds/stable/elephant-bluetooth/PKGBUILD new file mode 100644 index 0000000..92f26ab --- /dev/null +++ b/pkgbuilds/stable/elephant-bluetooth/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Andrej Benz + +pkgname=elephant-bluetooth +pkgver=2.19.1 +pkgrel=1 +pkgdesc='bluetooth provider for elephant' +url='https://github.com/abenz1267/elephant' +arch=('x86_64' 'aarch64') +license=('GPL') +makedepends=('go') +conflicts=('elephant-bluetooth') +provides=('elephant-bluetooth') +source=("${url}/archive/refs/tags/v${pkgver}.tar.gz") +sha256sums=('0d3aaac36c8a4a596c7c699dd32bcf45e47141f3497610a8ba655ffbcaf36e51') + +build() { + cd elephant-${pkgver}/internal/providers/bluetooth + go build -ldflags="-s -w" -buildvcs=false -buildmode=plugin -trimpath +} + +package() { + cd elephant-${pkgver}/internal/providers/bluetooth + install -Dm 755 bluetooth.so -t "${pkgdir}/usr/lib/elephant" + + cd ../../../ + install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" +} diff --git a/pkgbuilds/stable/elephant-calc/.SRCINFO b/pkgbuilds/stable/elephant-calc/.SRCINFO new file mode 100644 index 0000000..8a1278e --- /dev/null +++ b/pkgbuilds/stable/elephant-calc/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = elephant-calc + pkgdesc = calc provider for elephant + pkgver = 2.19.1 + pkgrel = 1 + url = https://github.com/abenz1267/elephant + arch = x86_64 + arch = aarch64 + license = GPL + makedepends = go + depends = libqalculate + provides = elephant-calc + conflicts = elephant-calc + source = https://github.com/abenz1267/elephant/archive/refs/tags/v2.19.1.tar.gz + sha256sums = 0d3aaac36c8a4a596c7c699dd32bcf45e47141f3497610a8ba655ffbcaf36e51 + +pkgname = elephant-calc diff --git a/pkgbuilds/stable/elephant-calc/PKGBUILD b/pkgbuilds/stable/elephant-calc/PKGBUILD new file mode 100644 index 0000000..8468676 --- /dev/null +++ b/pkgbuilds/stable/elephant-calc/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Andrej Benz + +pkgname=elephant-calc +pkgver=2.19.1 +pkgrel=1 +pkgdesc='calc provider for elephant' +url='https://github.com/abenz1267/elephant' +arch=('x86_64' 'aarch64') +license=('GPL') +depends=('libqalculate') +makedepends=('go') +conflicts=('elephant-calc') +provides=('elephant-calc') +source=("${url}/archive/refs/tags/v${pkgver}.tar.gz") +sha256sums=('0d3aaac36c8a4a596c7c699dd32bcf45e47141f3497610a8ba655ffbcaf36e51') + +build() { + cd elephant-${pkgver}/internal/providers/calc + go build -ldflags="-s -w" -buildvcs=false -buildmode=plugin -trimpath +} + +package() { + cd elephant-${pkgver}/internal/providers/calc + install -Dm 755 calc.so -t "${pkgdir}/usr/lib/elephant" + + cd ../../../ + install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" +} diff --git a/pkgbuilds/stable/elephant-clipboard/.SRCINFO b/pkgbuilds/stable/elephant-clipboard/.SRCINFO new file mode 100644 index 0000000..5efa290 --- /dev/null +++ b/pkgbuilds/stable/elephant-clipboard/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = elephant-clipboard + pkgdesc = clipboard provider for elephant + pkgver = 2.19.1 + pkgrel = 1 + url = https://github.com/abenz1267/elephant + arch = x86_64 + arch = aarch64 + license = GPL + makedepends = go + depends = wl-clipboard + depends = imagemagick + provides = elephant-clipboard + conflicts = elephant-clipboard + source = https://github.com/abenz1267/elephant/archive/refs/tags/v2.19.1.tar.gz + sha256sums = 0d3aaac36c8a4a596c7c699dd32bcf45e47141f3497610a8ba655ffbcaf36e51 + +pkgname = elephant-clipboard diff --git a/pkgbuilds/stable/elephant-clipboard/PKGBUILD b/pkgbuilds/stable/elephant-clipboard/PKGBUILD new file mode 100644 index 0000000..aec6a0b --- /dev/null +++ b/pkgbuilds/stable/elephant-clipboard/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Andrej Benz + +pkgname=elephant-clipboard +pkgver=2.19.1 +pkgrel=1 +pkgdesc='clipboard provider for elephant' +url='https://github.com/abenz1267/elephant' +arch=('x86_64' 'aarch64') +license=('GPL') +depends=('wl-clipboard' 'imagemagick') +makedepends=('go') +conflicts=('elephant-clipboard') +provides=('elephant-clipboard') +source=("${url}/archive/refs/tags/v${pkgver}.tar.gz") +sha256sums=('0d3aaac36c8a4a596c7c699dd32bcf45e47141f3497610a8ba655ffbcaf36e51') + +build() { + cd elephant-${pkgver}/internal/providers/clipboard + go build -ldflags="-s -w" -buildvcs=false -buildmode=plugin -trimpath +} + +package() { + cd elephant-${pkgver}/internal/providers/clipboard + install -Dm 755 clipboard.so -t "${pkgdir}/usr/lib/elephant" + + cd ../../../ + install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" +} diff --git a/pkgbuilds/stable/elephant-desktopapplications/.SRCINFO b/pkgbuilds/stable/elephant-desktopapplications/.SRCINFO new file mode 100644 index 0000000..734d622 --- /dev/null +++ b/pkgbuilds/stable/elephant-desktopapplications/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = elephant-desktopapplications + pkgdesc = desktopapplications provider for elephant + pkgver = 2.19.1 + pkgrel = 1 + url = https://github.com/abenz1267/elephant + arch = x86_64 + arch = aarch64 + license = GPL + makedepends = go + provides = elephant-desktopapplications + conflicts = elephant-desktopapplications + source = https://github.com/abenz1267/elephant/archive/refs/tags/v2.19.1.tar.gz + sha256sums = 0d3aaac36c8a4a596c7c699dd32bcf45e47141f3497610a8ba655ffbcaf36e51 + +pkgname = elephant-desktopapplications diff --git a/pkgbuilds/stable/elephant-desktopapplications/PKGBUILD b/pkgbuilds/stable/elephant-desktopapplications/PKGBUILD new file mode 100644 index 0000000..ee0177f --- /dev/null +++ b/pkgbuilds/stable/elephant-desktopapplications/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Andrej Benz + +pkgname=elephant-desktopapplications +pkgver=2.19.1 +pkgrel=1 +pkgdesc='desktopapplications provider for elephant' +url='https://github.com/abenz1267/elephant' +arch=('x86_64' 'aarch64') +license=('GPL') +makedepends=('go') +conflicts=('elephant-desktopapplications') +provides=('elephant-desktopapplications') +source=("${url}/archive/refs/tags/v${pkgver}.tar.gz") +sha256sums=('0d3aaac36c8a4a596c7c699dd32bcf45e47141f3497610a8ba655ffbcaf36e51') + +build() { + cd elephant-${pkgver}/internal/providers/desktopapplications + go build -ldflags="-s -w" -buildvcs=false -buildmode=plugin -trimpath +} + +package() { + cd elephant-${pkgver}/internal/providers/desktopapplications + install -Dm 755 desktopapplications.so -t "${pkgdir}/usr/lib/elephant" + + cd ../../../ + install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" +} diff --git a/pkgbuilds/stable/elephant-files/.SRCINFO b/pkgbuilds/stable/elephant-files/.SRCINFO new file mode 100644 index 0000000..4ef4bcc --- /dev/null +++ b/pkgbuilds/stable/elephant-files/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = elephant-files + pkgdesc = files provider for elephant + pkgver = 2.19.1 + pkgrel = 1 + url = https://github.com/abenz1267/elephant + arch = x86_64 + arch = aarch64 + license = GPL + makedepends = go + depends = fd + provides = elephant-files + conflicts = elephant-files + source = https://github.com/abenz1267/elephant/archive/refs/tags/v2.19.1.tar.gz + sha256sums = 0d3aaac36c8a4a596c7c699dd32bcf45e47141f3497610a8ba655ffbcaf36e51 + +pkgname = elephant-files diff --git a/pkgbuilds/stable/elephant-files/PKGBUILD b/pkgbuilds/stable/elephant-files/PKGBUILD new file mode 100644 index 0000000..edd32b0 --- /dev/null +++ b/pkgbuilds/stable/elephant-files/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Andrej Benz + +pkgname=elephant-files +pkgver=2.19.1 +pkgrel=1 +pkgdesc='files provider for elephant' +url='https://github.com/abenz1267/elephant' +arch=('x86_64' 'aarch64') +license=('GPL') +depends=('fd') +makedepends=('go') +conflicts=('elephant-files') +provides=('elephant-files') +source=("${url}/archive/refs/tags/v${pkgver}.tar.gz") +sha256sums=('0d3aaac36c8a4a596c7c699dd32bcf45e47141f3497610a8ba655ffbcaf36e51') + +build() { + cd elephant-${pkgver}/internal/providers/files + go build -ldflags="-s -w" -buildvcs=false -buildmode=plugin -trimpath +} + +package() { + cd elephant-${pkgver}/internal/providers/files + install -Dm 755 files.so -t "${pkgdir}/usr/lib/elephant" + + cd ../../../ + install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" +} diff --git a/pkgbuilds/stable/elephant-menus/.SRCINFO b/pkgbuilds/stable/elephant-menus/.SRCINFO new file mode 100644 index 0000000..bb3eb91 --- /dev/null +++ b/pkgbuilds/stable/elephant-menus/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = elephant-menus + pkgdesc = menus provider for elephant + pkgver = 2.19.1 + pkgrel = 1 + url = https://github.com/abenz1267/elephant + arch = x86_64 + arch = aarch64 + license = GPL + makedepends = go + provides = elephant-menus + conflicts = elephant-menus + source = https://github.com/abenz1267/elephant/archive/refs/tags/v2.19.1.tar.gz + sha256sums = 0d3aaac36c8a4a596c7c699dd32bcf45e47141f3497610a8ba655ffbcaf36e51 + +pkgname = elephant-menus diff --git a/pkgbuilds/stable/elephant-menus/PKGBUILD b/pkgbuilds/stable/elephant-menus/PKGBUILD new file mode 100644 index 0000000..432a1a7 --- /dev/null +++ b/pkgbuilds/stable/elephant-menus/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Andrej Benz + +pkgname=elephant-menus +pkgver=2.19.1 +pkgrel=1 +pkgdesc='menus provider for elephant' +url='https://github.com/abenz1267/elephant' +arch=('x86_64' 'aarch64') +license=('GPL') +makedepends=('go') +conflicts=('elephant-menus') +provides=('elephant-menus') +source=("${url}/archive/refs/tags/v${pkgver}.tar.gz") +sha256sums=('0d3aaac36c8a4a596c7c699dd32bcf45e47141f3497610a8ba655ffbcaf36e51') + +build() { + cd elephant-${pkgver}/internal/providers/menus + go build -ldflags="-s -w" -buildvcs=false -buildmode=plugin -trimpath +} + +package() { + cd elephant-${pkgver}/internal/providers/menus + install -Dm 755 menus.so -t "${pkgdir}/usr/lib/elephant" + + cd ../../../ + install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" +} diff --git a/pkgbuilds/stable/elephant-providerlist/.SRCINFO b/pkgbuilds/stable/elephant-providerlist/.SRCINFO new file mode 100644 index 0000000..a066ccd --- /dev/null +++ b/pkgbuilds/stable/elephant-providerlist/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = elephant-providerlist + pkgdesc = providerlist provider for elephant + pkgver = 2.19.1 + pkgrel = 1 + url = https://github.com/abenz1267/elephant + arch = x86_64 + arch = aarch64 + license = GPL + makedepends = go + provides = elephant-providerlist + conflicts = elephant-providerlist + source = https://github.com/abenz1267/elephant/archive/refs/tags/v2.19.1.tar.gz + sha256sums = 0d3aaac36c8a4a596c7c699dd32bcf45e47141f3497610a8ba655ffbcaf36e51 + +pkgname = elephant-providerlist diff --git a/pkgbuilds/stable/elephant-providerlist/PKGBUILD b/pkgbuilds/stable/elephant-providerlist/PKGBUILD new file mode 100644 index 0000000..69e7be8 --- /dev/null +++ b/pkgbuilds/stable/elephant-providerlist/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Andrej Benz + +pkgname=elephant-providerlist +pkgver=2.19.1 +pkgrel=1 +pkgdesc='providerlist provider for elephant' +url='https://github.com/abenz1267/elephant' +arch=('x86_64' 'aarch64') +license=('GPL') +makedepends=('go') +conflicts=('elephant-providerlist') +provides=('elephant-providerlist') +source=("${url}/archive/refs/tags/v${pkgver}.tar.gz") +sha256sums=('0d3aaac36c8a4a596c7c699dd32bcf45e47141f3497610a8ba655ffbcaf36e51') + +build() { + cd elephant-${pkgver}/internal/providers/providerlist + go build -ldflags="-s -w" -buildvcs=false -buildmode=plugin -trimpath +} + +package() { + cd elephant-${pkgver}/internal/providers/providerlist + install -Dm 755 providerlist.so -t "${pkgdir}/usr/lib/elephant" + + cd ../../../ + install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" +} diff --git a/pkgbuilds/stable/elephant-runner/.SRCINFO b/pkgbuilds/stable/elephant-runner/.SRCINFO new file mode 100644 index 0000000..99d59c6 --- /dev/null +++ b/pkgbuilds/stable/elephant-runner/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = elephant-runner + pkgdesc = runner provider for elephant + pkgver = 2.19.1 + pkgrel = 1 + url = https://github.com/abenz1267/elephant + arch = x86_64 + arch = aarch64 + license = GPL + makedepends = go + provides = elephant-runner + conflicts = elephant-runner + source = https://github.com/abenz1267/elephant/archive/refs/tags/v2.19.1.tar.gz + sha256sums = 0d3aaac36c8a4a596c7c699dd32bcf45e47141f3497610a8ba655ffbcaf36e51 + +pkgname = elephant-runner diff --git a/pkgbuilds/stable/elephant-runner/PKGBUILD b/pkgbuilds/stable/elephant-runner/PKGBUILD new file mode 100644 index 0000000..b995d6b --- /dev/null +++ b/pkgbuilds/stable/elephant-runner/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Andrej Benz + +pkgname=elephant-runner +pkgver=2.19.1 +pkgrel=1 +pkgdesc='runner provider for elephant' +url='https://github.com/abenz1267/elephant' +arch=('x86_64' 'aarch64') +license=('GPL') +makedepends=('go') +conflicts=('elephant-runner') +provides=('elephant-runner') +source=("${url}/archive/refs/tags/v${pkgver}.tar.gz") +sha256sums=('0d3aaac36c8a4a596c7c699dd32bcf45e47141f3497610a8ba655ffbcaf36e51') + +build() { + cd elephant-${pkgver}/internal/providers/runner + go build -ldflags="-s -w" -buildvcs=false -buildmode=plugin -trimpath +} + +package() { + cd elephant-${pkgver}/internal/providers/runner + install -Dm 755 runner.so -t "${pkgdir}/usr/lib/elephant" + + cd ../../../ + install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" +} diff --git a/pkgbuilds/stable/elephant-symbols/.SRCINFO b/pkgbuilds/stable/elephant-symbols/.SRCINFO new file mode 100644 index 0000000..c317b7f --- /dev/null +++ b/pkgbuilds/stable/elephant-symbols/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = elephant-symbols + pkgdesc = symbols provider for elephant + pkgver = 2.19.1 + pkgrel = 1 + url = https://github.com/abenz1267/elephant + arch = x86_64 + arch = aarch64 + license = GPL + makedepends = go + provides = elephant-symbols + conflicts = elephant-symbols + source = https://github.com/abenz1267/elephant/archive/refs/tags/v2.19.1.tar.gz + sha256sums = 0d3aaac36c8a4a596c7c699dd32bcf45e47141f3497610a8ba655ffbcaf36e51 + +pkgname = elephant-symbols diff --git a/pkgbuilds/stable/elephant-symbols/PKGBUILD b/pkgbuilds/stable/elephant-symbols/PKGBUILD new file mode 100644 index 0000000..dfd1031 --- /dev/null +++ b/pkgbuilds/stable/elephant-symbols/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Andrej Benz + +pkgname=elephant-symbols +pkgver=2.19.1 +pkgrel=1 +pkgdesc='symbols provider for elephant' +url='https://github.com/abenz1267/elephant' +arch=('x86_64' 'aarch64') +license=('GPL') +makedepends=('go') +conflicts=('elephant-symbols') +provides=('elephant-symbols') +source=("${url}/archive/refs/tags/v${pkgver}.tar.gz") +sha256sums=('0d3aaac36c8a4a596c7c699dd32bcf45e47141f3497610a8ba655ffbcaf36e51') + +build() { + cd elephant-${pkgver}/internal/providers/symbols + go build -ldflags="-s -w" -buildvcs=false -buildmode=plugin -trimpath +} + +package() { + cd elephant-${pkgver}/internal/providers/symbols + install -Dm 755 symbols.so -t "${pkgdir}/usr/lib/elephant" + + cd ../../../ + install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" +} diff --git a/pkgbuilds/stable/elephant-todo/.SRCINFO b/pkgbuilds/stable/elephant-todo/.SRCINFO new file mode 100644 index 0000000..42e0b6f --- /dev/null +++ b/pkgbuilds/stable/elephant-todo/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = elephant-todo + pkgdesc = todo provider for elephant + pkgver = 2.19.1 + pkgrel = 1 + url = https://github.com/abenz1267/elephant + arch = x86_64 + arch = aarch64 + license = GPL + makedepends = go + provides = elephant-todo + conflicts = elephant-todo + source = https://github.com/abenz1267/elephant/archive/refs/tags/v2.19.1.tar.gz + sha256sums = 0d3aaac36c8a4a596c7c699dd32bcf45e47141f3497610a8ba655ffbcaf36e51 + +pkgname = elephant-todo diff --git a/pkgbuilds/stable/elephant-todo/PKGBUILD b/pkgbuilds/stable/elephant-todo/PKGBUILD new file mode 100644 index 0000000..77f9b22 --- /dev/null +++ b/pkgbuilds/stable/elephant-todo/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Andrej Benz + +pkgname=elephant-todo +pkgver=2.19.1 +pkgrel=1 +pkgdesc='todo provider for elephant' +url='https://github.com/abenz1267/elephant' +arch=('x86_64' 'aarch64') +license=('GPL') +makedepends=('go') +conflicts=('elephant-todo') +provides=('elephant-todo') +source=("${url}/archive/refs/tags/v${pkgver}.tar.gz") +sha256sums=('0d3aaac36c8a4a596c7c699dd32bcf45e47141f3497610a8ba655ffbcaf36e51') + +build() { + cd elephant-${pkgver}/internal/providers/todo + go build -ldflags="-s -w" -buildvcs=false -buildmode=plugin -trimpath +} + +package() { + cd elephant-${pkgver}/internal/providers/todo + install -Dm 755 todo.so -t "${pkgdir}/usr/lib/elephant" + + cd ../../../ + install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" +} diff --git a/pkgbuilds/stable/elephant-unicode/.SRCINFO b/pkgbuilds/stable/elephant-unicode/.SRCINFO new file mode 100644 index 0000000..1ab171d --- /dev/null +++ b/pkgbuilds/stable/elephant-unicode/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = elephant-unicode + pkgdesc = unicode provider for elephant + pkgver = 2.19.1 + pkgrel = 1 + url = https://github.com/abenz1267/elephant + arch = x86_64 + arch = aarch64 + license = GPL + makedepends = go + provides = elephant-unicode + conflicts = elephant-unicode + source = https://github.com/abenz1267/elephant/archive/refs/tags/v2.19.1.tar.gz + sha256sums = 0d3aaac36c8a4a596c7c699dd32bcf45e47141f3497610a8ba655ffbcaf36e51 + +pkgname = elephant-unicode diff --git a/pkgbuilds/stable/elephant-unicode/PKGBUILD b/pkgbuilds/stable/elephant-unicode/PKGBUILD new file mode 100644 index 0000000..274b9d0 --- /dev/null +++ b/pkgbuilds/stable/elephant-unicode/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Andrej Benz + +pkgname=elephant-unicode +pkgver=2.19.1 +pkgrel=1 +pkgdesc='unicode provider for elephant' +url='https://github.com/abenz1267/elephant' +arch=('x86_64' 'aarch64') +license=('GPL') +makedepends=('go') +conflicts=('elephant-unicode') +provides=('elephant-unicode') +source=("${url}/archive/refs/tags/v${pkgver}.tar.gz") +sha256sums=('0d3aaac36c8a4a596c7c699dd32bcf45e47141f3497610a8ba655ffbcaf36e51') + +build() { + cd elephant-${pkgver}/internal/providers/unicode + go build -ldflags="-s -w" -buildvcs=false -buildmode=plugin -trimpath +} + +package() { + cd elephant-${pkgver}/internal/providers/unicode + install -Dm 755 unicode.so -t "${pkgdir}/usr/lib/elephant" + + cd ../../../ + install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" +} diff --git a/pkgbuilds/stable/elephant-websearch/.SRCINFO b/pkgbuilds/stable/elephant-websearch/.SRCINFO new file mode 100644 index 0000000..571798c --- /dev/null +++ b/pkgbuilds/stable/elephant-websearch/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = elephant-websearch + pkgdesc = websearch provider for elephant + pkgver = 2.19.1 + pkgrel = 1 + url = https://github.com/abenz1267/elephant + arch = x86_64 + arch = aarch64 + license = GPL + makedepends = go + provides = elephant-websearch + conflicts = elephant-websearch + source = https://github.com/abenz1267/elephant/archive/refs/tags/v2.19.1.tar.gz + sha256sums = 0d3aaac36c8a4a596c7c699dd32bcf45e47141f3497610a8ba655ffbcaf36e51 + +pkgname = elephant-websearch diff --git a/pkgbuilds/stable/elephant-websearch/PKGBUILD b/pkgbuilds/stable/elephant-websearch/PKGBUILD new file mode 100644 index 0000000..84ea127 --- /dev/null +++ b/pkgbuilds/stable/elephant-websearch/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Andrej Benz + +pkgname=elephant-websearch +pkgver=2.19.1 +pkgrel=1 +pkgdesc='websearch provider for elephant' +url='https://github.com/abenz1267/elephant' +arch=('x86_64' 'aarch64') +license=('GPL') +makedepends=('go') +conflicts=('elephant-websearch') +provides=('elephant-websearch') +source=("${url}/archive/refs/tags/v${pkgver}.tar.gz") +sha256sums=('0d3aaac36c8a4a596c7c699dd32bcf45e47141f3497610a8ba655ffbcaf36e51') + +build() { + cd elephant-${pkgver}/internal/providers/websearch + go build -ldflags="-s -w" -buildvcs=false -buildmode=plugin -trimpath +} + +package() { + cd elephant-${pkgver}/internal/providers/websearch + install -Dm 755 websearch.so -t "${pkgdir}/usr/lib/elephant" + + cd ../../../ + install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" +} diff --git a/pkgbuilds/stable/elephant/.SRCINFO b/pkgbuilds/stable/elephant/.SRCINFO new file mode 100644 index 0000000..fe049ff --- /dev/null +++ b/pkgbuilds/stable/elephant/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = elephant + pkgdesc = general purpose datasource and executor + pkgver = 2.19.1 + pkgrel = 1 + url = https://github.com/abenz1267/elephant + arch = x86_64 + arch = aarch64 + license = GPL + makedepends = go + provides = elephant + conflicts = elephant + source = https://github.com/abenz1267/elephant/archive/refs/tags/v2.19.1.tar.gz + sha256sums = 0d3aaac36c8a4a596c7c699dd32bcf45e47141f3497610a8ba655ffbcaf36e51 + +pkgname = elephant diff --git a/pkgbuilds/stable/elephant/.gitignore b/pkgbuilds/stable/elephant/.gitignore new file mode 100644 index 0000000..0c53a42 --- /dev/null +++ b/pkgbuilds/stable/elephant/.gitignore @@ -0,0 +1,4 @@ +/pkg +/src +*.zip +*.tar.xz diff --git a/pkgbuilds/stable/elephant/PKGBUILD b/pkgbuilds/stable/elephant/PKGBUILD new file mode 100644 index 0000000..cb0a852 --- /dev/null +++ b/pkgbuilds/stable/elephant/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Andrej Benz + +pkgname=elephant +pkgver=2.19.1 +pkgrel=1 +pkgdesc='general purpose datasource and executor' +url='https://github.com/abenz1267/elephant' +arch=('x86_64' 'aarch64') +license=('GPL') +makedepends=('go') +conflicts=('elephant') +provides=('elephant') +source=("${url}/archive/refs/tags/v${pkgver}.tar.gz") +sha256sums=('0d3aaac36c8a4a596c7c699dd32bcf45e47141f3497610a8ba655ffbcaf36e51') + +build() { + cd ${pkgname}-${pkgver}/cmd/elephant + go build -ldflags="-s -w" -buildvcs=false -x -o elephant -trimpath +} + +package() { + cd ${pkgname}-${pkgver}/cmd/elephant + install -Dm 755 elephant -t "${pkgdir}/usr/bin" + + cd ../../ + install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" +} diff --git a/pkgbuilds/stable/gpu-screen-recorder/.SRCINFO b/pkgbuilds/stable/gpu-screen-recorder/.SRCINFO new file mode 100644 index 0000000..7488baf --- /dev/null +++ b/pkgbuilds/stable/gpu-screen-recorder/.SRCINFO @@ -0,0 +1,36 @@ +pkgbase = gpu-screen-recorder + pkgdesc = A shadowplay-like screen recorder for Linux. The fastest screen recorder for Linux + pkgver = 5.12.3 + pkgrel = 1 + url = https://git.dec05eba.com/gpu-screen-recorder + install = gpu-screen-recorder.install + arch = x86_64 + license = GPL-3.0-only + makedepends = meson + makedepends = vulkan-headers + depends = ffmpeg + depends = libglvnd + depends = libxcomposite + depends = libxrandr + depends = libxfixes + depends = libxdamage + depends = libx11 + depends = libpulse + depends = libva + depends = libdrm + depends = libcap + depends = wayland + depends = libpipewire + depends = dbus + depends = libjpeg-turbo + optdepends = nvidia-utils: Required to record your screen on NVIDIA + optdepends = libxnvctrl: Required when using the -oc option to overclock the NVIDIA GPU to workaround NVIDIA p2 state bug + optdepends = mesa: Required to record your screen on AMD/Intel + optdepends = libva-mesa-driver: Required to record your screen on AMD + optdepends = libva-intel-driver: Required to record your screen on Intel G45 and HD Graphics family + optdepends = intel-media-driver: Required to record your screen on Intel Broadwell or later iGPUs or Intel Arc + optdepends = linux-firmware-intel: Required to record your screen on Intel Skylake or later iGPUs + source = gpu-screen-recorder-5.12.3.tar.gz::https://dec05eba.com/snapshot/gpu-screen-recorder.git.5.12.3.tar.gz + sha512sums = 5153169c9c756f48d3e6b1f4baea66aa6bdce9d97c147ca6c8bedb8960561bda8d816c88003de72a11a6720c1f991145984d6a186e7554266c76aec77fc4c892 + +pkgname = gpu-screen-recorder diff --git a/pkgbuilds/stable/gpu-screen-recorder/LICENSE b/pkgbuilds/stable/gpu-screen-recorder/LICENSE new file mode 100644 index 0000000..385e5e6 --- /dev/null +++ b/pkgbuilds/stable/gpu-screen-recorder/LICENSE @@ -0,0 +1,13 @@ +Copyright Arch Linux Contributors + +Permission to use, copy, modify, and/or distribute this software for +any purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL +WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES +OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE +FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY +DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN +AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT +OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + diff --git a/pkgbuilds/stable/gpu-screen-recorder/PKGBUILD b/pkgbuilds/stable/gpu-screen-recorder/PKGBUILD new file mode 100644 index 0000000..f49b8ac --- /dev/null +++ b/pkgbuilds/stable/gpu-screen-recorder/PKGBUILD @@ -0,0 +1,53 @@ +# Maintainer: dec05eba + +pkgname=gpu-screen-recorder +pkgver=5.12.3 +pkgrel=1 +pkgdesc='A shadowplay-like screen recorder for Linux. The fastest screen recorder for Linux' +arch=('x86_64') +url="https://git.dec05eba.com/gpu-screen-recorder" +license=('GPL-3.0-only') +makedepends=( + 'meson' + 'vulkan-headers' +) +depends=( + 'ffmpeg' + 'libglvnd' + 'libxcomposite' + 'libxrandr' + 'libxfixes' + 'libxdamage' + 'libx11' + 'libpulse' + 'libva' + 'libdrm' + 'libcap' + 'wayland' + 'libpipewire' + 'dbus' + 'libjpeg-turbo' +) +optdepends=( + 'nvidia-utils: Required to record your screen on NVIDIA' + 'libxnvctrl: Required when using the -oc option to overclock the NVIDIA GPU to workaround NVIDIA p2 state bug' + 'mesa: Required to record your screen on AMD/Intel' + 'libva-mesa-driver: Required to record your screen on AMD' + 'libva-intel-driver: Required to record your screen on Intel G45 and HD Graphics family' + 'intel-media-driver: Required to record your screen on Intel Broadwell or later iGPUs or Intel Arc' + 'linux-firmware-intel: Required to record your screen on Intel Skylake or later iGPUs' +) +source=("${pkgname}-${pkgver}.tar.gz::https://dec05eba.com/snapshot/gpu-screen-recorder.git.${pkgver}.tar.gz") +sha512sums=('5153169c9c756f48d3e6b1f4baea66aa6bdce9d97c147ca6c8bedb8960561bda8d816c88003de72a11a6720c1f991145984d6a186e7554266c76aec77fc4c892') +install="${pkgname}.install" # setcap cap_sys_admin (gsr-kms-server) + +build() { + cd "$srcdir" + arch-meson build -Dsystemd=true --buildtype=release -Dstrip=true + meson compile -C build +} + +package() { + cd "$srcdir" + meson install -C build --destdir "$pkgdir" +} diff --git a/pkgbuilds/stable/gpu-screen-recorder/gpu-screen-recorder.install b/pkgbuilds/stable/gpu-screen-recorder/gpu-screen-recorder.install new file mode 100644 index 0000000..ddfe12c --- /dev/null +++ b/pkgbuilds/stable/gpu-screen-recorder/gpu-screen-recorder.install @@ -0,0 +1,7 @@ +post_install() { + setcap cap_sys_admin+ep usr/bin/gsr-kms-server +} + +post_upgrade() { + post_install "$1" +} diff --git a/pkgbuilds/stable/hyprland-preview-share-picker/PKGBUILD b/pkgbuilds/stable/hyprland-preview-share-picker/PKGBUILD new file mode 100644 index 0000000..ab85617 --- /dev/null +++ b/pkgbuilds/stable/hyprland-preview-share-picker/PKGBUILD @@ -0,0 +1,57 @@ +# Maintainer: wysbd + +pkgname="hyprland-preview-share-picker" +pkgver=0.2.1 +pkgrel=1 +pkgdesc="An alternative share picker for hyprland with window and monitor previews" +arch=(x86_64) +url="https://github.com/WhySoBad/hyprland-preview-share-picker" +license=(MIT) +depends=('gtk4' 'gtk4-layer-shell' 'xdg-desktop-portal-hyprland' 'hyprland') +makedepends=(cargo) +optdepends=( + 'slurp: default tool for selecting share regions' +) +_protocols_commit=3a5c2bda1c1a4e55cc1330c782547695a93f05b2 +source=("$pkgname-$pkgver.tar.gz::https://github.com/WhySoBad/hyprland-preview-share-picker/archive/refs/tags/v$pkgver.tar.gz" + "hyprland-protocols-$_protocols_commit.tar.gz::https://github.com/hyprwm/hyprland-protocols/archive/$_protocols_commit.tar.gz") +sha256sums=('dfbd6773884c24bb300d756420cc540dda0c3518e910e20d1538e7dd6c0990da' + 'SKIP') + +prepare() { + cd "$pkgname-$pkgver" + + # Link the hyprland-protocols submodule + rmdir lib/hyprland-protocols 2>/dev/null || true + ln -sf "$srcdir/hyprland-protocols-$_protocols_commit" lib/hyprland-protocols + + # Replace build.rs with a simple version that doesn't require git + cat > build.rs << 'EOF' +fn main() { + println!("cargo::rustc-env=GIT_VERSION=v0.2.1-r0-release"); +} +EOF + + export RUSTUP_TOOLCHAIN=nightly + cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')" +} + +build() { + cd "$pkgname-$pkgver" + + export RUSTUP_TOOLCHAIN=nightly + export CARGO_TARGET_DIR=target + + cargo build --frozen --release + + ./target/release/hyprland-preview-share-picker schema > schema.json +} + +package() { + cd "$pkgname-$pkgver" + + install -Dm0755 -T "target/release/hyprland-preview-share-picker" "$pkgdir/usr/bin/hyprland-preview-share-picker" + + install -dm0755 "$pkgdir/usr/share/hyprland-preview-share-picker" + install -Dm0644 "schema.json" "$pkgdir/usr/share/hyprland-preview-share-picker" +} diff --git a/pkgbuilds/stable/lib32-nvidia-580xx-utils/.SRCINFO b/pkgbuilds/stable/lib32-nvidia-580xx-utils/.SRCINFO new file mode 100644 index 0000000..bc91379 --- /dev/null +++ b/pkgbuilds/stable/lib32-nvidia-580xx-utils/.SRCINFO @@ -0,0 +1,32 @@ +pkgbase = lib32-nvidia-580xx-utils + pkgver = 580.126.09 + pkgrel = 1 + url = http://www.nvidia.com/ + arch = x86_64 + license = custom + options = !strip + source = https://us.download.nvidia.com/XFree86/Linux-x86_64/580.126.09/NVIDIA-Linux-x86_64-580.126.09.run + sha512sums = d5c41131304b29d55d0caf8cd84c95b454d81e68d7b23ca893504c63d84dd78726e2dbd7f076b7f12be518e641d110d131ac178336d61a00bcc81b7a1890799d + +pkgname = lib32-nvidia-580xx-utils + pkgdesc = NVIDIA drivers utilities (32-bit) (580xx) + depends = lib32-zlib + depends = lib32-gcc-libs + depends = lib32-libglvnd + optdepends = lib32-opencl-nvidia + provides = lib32-vulkan-driver + provides = lib32-opengl-driver + provides = lib32-nvidia-libgl + provides = lib32-nvidia-utils=580.126.09 + conflicts = lib32-nvidia-libgl + conflicts = lib32-nvidia-utils + replaces = lib32-nvidia-libgl + +pkgname = lib32-opencl-nvidia-580xx + pkgdesc = OpenCL implemention for NVIDIA (32-bit) (580xx) + depends = lib32-zlib + depends = lib32-gcc-libs + optdepends = opencl-headers: headers necessary for OpenCL development + provides = lib32-opencl-driver + provides = lib32-opencl-nvidia=580.126.09 + conflicts = lib32-opencl-nvidia diff --git a/pkgbuilds/stable/lib32-nvidia-580xx-utils/PKGBUILD b/pkgbuilds/stable/lib32-nvidia-580xx-utils/PKGBUILD new file mode 100644 index 0000000..b9484b6 --- /dev/null +++ b/pkgbuilds/stable/lib32-nvidia-580xx-utils/PKGBUILD @@ -0,0 +1,106 @@ +# Maintainer: Vasiliy Stelmachenok +# Contributor: Sven-Hendrik Haase +# Contributor: Thomas Baechler +# Contributor: James Rayner + +pkgbase=lib32-nvidia-580xx-utils +pkgname=('lib32-nvidia-580xx-utils' 'lib32-opencl-nvidia-580xx') +pkgver=580.126.09 +pkgrel=1 +arch=('x86_64') +url="http://www.nvidia.com/" +#makedepends=('nvidia-libgl') # To avoid conflict during installation in the build chroot +license=('custom') +options=('!strip') +_pkg="NVIDIA-Linux-x86_64-${pkgver}" +source=("https://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run") +sha512sums=('d5c41131304b29d55d0caf8cd84c95b454d81e68d7b23ca893504c63d84dd78726e2dbd7f076b7f12be518e641d110d131ac178336d61a00bcc81b7a1890799d') + +create_links() { + # create soname links + for _lib in $(find "${pkgdir}" -name '*.so*' | grep -v 'xorg/'); do + _soname=$(dirname "${_lib}")/$(readelf -d "${_lib}" | grep -Po 'SONAME.*: \[\K[^]]*' || true) + _base=$(echo ${_soname} | sed -r 's/(.*).so.*/\1.so/') + [[ -e "${_soname}" ]] || ln -s $(basename "${_lib}") "${_soname}" + [[ -e "${_base}" ]] || ln -s $(basename "${_soname}") "${_base}" + done +} + +build() { + sh ${_pkg}.run --extract-only +} + +package_lib32-opencl-nvidia-580xx() { + pkgdesc="OpenCL implemention for NVIDIA (32-bit) (580xx)" + depends=('lib32-zlib' 'lib32-gcc-libs') + optdepends=('opencl-headers: headers necessary for OpenCL development') + conflicts=('lib32-opencl-nvidia') + provides=('lib32-opencl-driver' "lib32-opencl-nvidia=$pkgver") + + cd "${_pkg}"/32 + + # OpenCL + install -D -m755 "libnvidia-opencl.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-opencl.so.${pkgver}" + + create_links + + mkdir -p "${pkgdir}/usr/share/licenses" + ln -s lib32-nvidia-580xx-utils "${pkgdir}/usr/share/licenses/lib32-opencl-nvidia" +} + +package_lib32-nvidia-580xx-utils() { + pkgdesc="NVIDIA drivers utilities (32-bit) (580xx)" + depends=('lib32-zlib' 'lib32-gcc-libs' 'lib32-libglvnd') + optdepends=('lib32-opencl-nvidia') + conflicts=('lib32-nvidia-libgl' 'lib32-nvidia-utils') + provides=('lib32-vulkan-driver' 'lib32-opengl-driver' 'lib32-nvidia-libgl' "lib32-nvidia-utils=$pkgver") + replaces=('lib32-nvidia-libgl') + + cd "${_pkg}"/32 + + # Check http://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/README/installedcomponents.html + # for hints on what needs to be installed where. + + install -D -m755 "libGLX_nvidia.so.${pkgver}" "${pkgdir}/usr/lib32/libGLX_nvidia.so.${pkgver}" + + # OpenGL libraries + install -D -m755 "libEGL_nvidia.so.${pkgver}" "${pkgdir}/usr/lib32/libEGL_nvidia.so.${pkgver}" + install -D -m755 "libGLESv1_CM_nvidia.so.${pkgver}" "${pkgdir}/usr/lib32/libGLESv1_CM_nvidia.so.${pkgver}" + install -D -m755 "libGLESv2_nvidia.so.${pkgver}" "${pkgdir}/usr/lib32/libGLESv2_nvidia.so.${pkgver}" + + # OpenGL core library + install -D -m755 "libnvidia-glcore.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-glcore.so.${pkgver}" + install -D -m755 "libnvidia-eglcore.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-eglcore.so.${pkgver}" + install -D -m755 "libnvidia-glsi.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-glsi.so.${pkgver}" + + # misc + mkdir -p "${pkgdir}/usr/lib32/gbm" && ln -sr "${pkgdir}/usr/lib32/libnvidia-allocator.so.${pkgver}" "${pkgdir}/usr/lib32/gbm/nvidia-drm_gbm.so" + install -D -m755 "libnvidia-fbc.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-fbc.so.${pkgver}" + install -D -m755 "libnvidia-encode.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-encode.so.${pkgver}" + install -D -m755 "libnvidia-ml.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-ml.so.${pkgver}" + install -D -m755 "libnvidia-glvkspirv.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-glvkspirv.so.${pkgver}" + install -D -m755 "libnvidia-allocator.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-allocator.so.${pkgver}" + install -D -m755 "libnvidia-gpucomp.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-gpucomp.so.${pkgver}" + + # VDPAU + install -D -m755 "libvdpau_nvidia.so.${pkgver}" "${pkgdir}/usr/lib32/vdpau/libvdpau_nvidia.so.${pkgver}" + + # nvidia-tls library + install -D -m755 "libnvidia-tls.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-tls.so.${pkgver}" + + # CUDA + install -D -m755 "libcuda.so.${pkgver}" "${pkgdir}/usr/lib32/libcuda.so.${pkgver}" + install -D -m755 "libnvcuvid.so.${pkgver}" "${pkgdir}/usr/lib32/libnvcuvid.so.${pkgver}" + + # PTX JIT Compiler (Parallel Thread Execution (PTX) is a pseudo-assembly language for CUDA) + install -D -m755 "libnvidia-ptxjitcompiler.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-ptxjitcompiler.so.${pkgver}" + + # Optical flow + install -D -m755 "libnvidia-opticalflow.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-opticalflow.so.${pkgver}" + + create_links + + rm -rf "${pkgdir}"/usr/{include,share,bin} + mkdir -p "${pkgdir}/usr/share/licenses" + ln -s lib32-nvidia-580xx-utils "${pkgdir}/usr/share/licenses/${pkgname}" +} diff --git a/pkgbuilds/stable/limine-mkinitcpio-hook/.SRCINFO b/pkgbuilds/stable/limine-mkinitcpio-hook/.SRCINFO new file mode 100644 index 0000000..123697c --- /dev/null +++ b/pkgbuilds/stable/limine-mkinitcpio-hook/.SRCINFO @@ -0,0 +1,32 @@ +pkgbase = limine-mkinitcpio-hook + pkgdesc = Install kernels for the Limine bootloader. + pkgver = 1.29.0 + pkgrel = 1 + url = https://gitlab.com/Zesko/limine-entry-tool + arch = x86_64 + arch = aarch64 + license = GPL3 + makedepends = git + makedepends = gradle + depends = bash + depends = grep + depends = tar + depends = limine + depends = mkinitcpio + depends = efibootmgr + optdepends = kernel-modules-hook: Safely keeps kernel on upgrade failure + optdepends = sbctl: Signs UEFI boot files for Secure Boot when enabled + optdepends = journalctl-desktop-notification: Sends desktop notifications when errors occur + provides = limine-entry-tool + conflicts = limine-entry-tool + options = !debug + options = !strip + backup = etc/limine-entry-tool.conf + source = https://gitlab.com/Zesko/limine-entry-tool/-/archive/1.29.0-1/limine-entry-tool-1.29.0-1.tar.gz + sha256sums = 03e041631aa1275f0a03ecae0ada6f1bb3fa69e5b428e5b68f7240da68b6b4f4 + source_x86_64 = https://github.com/graalvm/graalvm-ce-builds/releases/download/jdk-25.0.2/graalvm-community-jdk-25.0.2_linux-x64_bin.tar.gz + sha256sums_x86_64 = e0be791c8fda4d03b6b0a0cb824fef3149736170057b3a515252b44419606af0 + source_aarch64 = https://github.com/graalvm/graalvm-ce-builds/releases/download/jdk-25.0.2/graalvm-community-jdk-25.0.2_linux-aarch64_bin.tar.gz + sha256sums_aarch64 = b4580d9f223d0a4b3a1757e58b18ff4c1db950e67e105fc5cb741457d2384a71 + +pkgname = limine-mkinitcpio-hook diff --git a/pkgbuilds/stable/limine-mkinitcpio-hook/PKGBUILD b/pkgbuilds/stable/limine-mkinitcpio-hook/PKGBUILD new file mode 100644 index 0000000..4758820 --- /dev/null +++ b/pkgbuilds/stable/limine-mkinitcpio-hook/PKGBUILD @@ -0,0 +1,59 @@ +# Maintainer: Zesko +_pkgname="limine-entry-tool" +pkgname="limine-mkinitcpio-hook" +pkgver=1.29.0 +pkgrel=1 +_extver="-${pkgrel}" +pkgdesc="Install kernels for the Limine bootloader." +arch=('x86_64' 'aarch64') +url="https://gitlab.com/Zesko/limine-entry-tool" +source=("$url/-/archive/${pkgver}${_extver}/$_pkgname-${pkgver}${_extver}.tar.gz") +source_x86_64=("https://github.com/graalvm/graalvm-ce-builds/releases/download/jdk-25.0.2/graalvm-community-jdk-25.0.2_linux-x64_bin.tar.gz") +source_aarch64=("https://github.com/graalvm/graalvm-ce-builds/releases/download/jdk-25.0.2/graalvm-community-jdk-25.0.2_linux-aarch64_bin.tar.gz") +license=("GPL3") +provides=('limine-entry-tool') +options=(!debug !strip) +_graalvm_version=java-25-graalvm-ce +depends=( + 'bash' + 'grep' + 'tar' + 'limine' + 'mkinitcpio' + 'efibootmgr') +optdepends=( + 'kernel-modules-hook: Safely keeps kernel on upgrade failure' + 'sbctl: Signs UEFI boot files for Secure Boot when enabled' + 'journalctl-desktop-notification: Sends desktop notifications when errors occur' +) +makedepends=('git' 'gradle') +backup=(etc/limine-entry-tool.conf) +conflicts=('limine-entry-tool') +sha256sums=('03e041631aa1275f0a03ecae0ada6f1bb3fa69e5b428e5b68f7240da68b6b4f4') +sha256sums_x86_64=('e0be791c8fda4d03b6b0a0cb824fef3149736170057b3a515252b44419606af0') +sha256sums_aarch64=('b4580d9f223d0a4b3a1757e58b18ff4c1db950e67e105fc5cb741457d2384a71') + +prepare() { + [[ -d "${_graalvm_version}" ]] && rm -rf "${_graalvm_version}" + mv graalvm-community-openjdk-*/ "${_graalvm_version}" + if ! command -v "${_graalvm_version}"/bin/javac >/dev/null 2>&1; then + echo "Error: ${_graalvm_version}/bin/javac not found." >&2 + return 1 + fi +} + +build() { + cd "$srcdir/${_pkgname}-${pkgver}${_extver}" + JAVA_HOME="$srcdir/${_graalvm_version}" gradle clean nativeCompile +} + +package() { + cd "$srcdir/${_pkgname}-${pkgver}${_extver}" + src_path="install/arch-linux/${pkgname}" + install -dm 755 "$src_path/usr/share/limine-entry-tool.d/" + install -dm 755 "$src_path/etc/limine-entry-tool.d/" + install -Dm 755 build/native/nativeCompile/limine-entry-tool "$src_path/usr/lib/limine/" + install -dm 755 "$src_path/usr/share/doc/${pkgname}/" + cp -r README.md CHANGELOG.md "$src_path/usr/share/doc/${pkgname}/" + cp -r "$src_path/usr" "$src_path/etc" "$pkgdir" +} diff --git a/pkgbuilds/stable/limine-snapper-sync/.SRCINFO b/pkgbuilds/stable/limine-snapper-sync/.SRCINFO new file mode 100644 index 0000000..dc1ec99 --- /dev/null +++ b/pkgbuilds/stable/limine-snapper-sync/.SRCINFO @@ -0,0 +1,33 @@ +pkgbase = limine-snapper-sync + pkgdesc = Automatically syncs Limine snapshot entries with Snapper snapshots. + pkgver = 1.22.0 + pkgrel = 1 + url = https://gitlab.com/Zesko/limine-snapper-sync + arch = x86_64 + arch = aarch64 + license = GPL3 + makedepends = git + makedepends = gradle + depends = bash + depends = limine + depends = snapper + depends = btrfs-progs + depends = libnotify + optdepends = limine-dracut-support: Automates kernel installation/removal and Limine boot entry management. + optdepends = limine-mkinitcpio-hook: Automates kernel installation/removal and Limine boot entry management. + optdepends = inotify-tools: Monitors when snapshots are created or deleted. + optdepends = rsync: Alternative method for restoring snapshots. + optdepends = b3sum: Fast Blake3 hash function to prevent duplication. + optdepends = xxhash: Fast hashing utility for deduplication with shorter hashes. + conflicts = limine-snapper-sync-git + options = !debug + options = !strip + backup = etc/limine-snapper-sync.conf + source = limine-snapper-sync-1.22.0.tar.gz::https://gitlab.com/Zesko/limine-snapper-sync/-/archive/1.22.0/limine-snapper-sync-1.22.0.tar.gz + sha256sums = c68cf79d04da748eeed7df191999c4f3200dfe145e63beec7ea4767f9bd8ba74 + source_x86_64 = https://github.com/graalvm/graalvm-ce-builds/releases/download/jdk-25.0.2/graalvm-community-jdk-25.0.2_linux-x64_bin.tar.gz + sha256sums_x86_64 = e0be791c8fda4d03b6b0a0cb824fef3149736170057b3a515252b44419606af0 + source_aarch64 = https://github.com/graalvm/graalvm-ce-builds/releases/download/jdk-25.0.2/graalvm-community-jdk-25.0.2_linux-aarch64_bin.tar.gz + sha256sums_aarch64 = b4580d9f223d0a4b3a1757e58b18ff4c1db950e67e105fc5cb741457d2384a71 + +pkgname = limine-snapper-sync diff --git a/pkgbuilds/stable/limine-snapper-sync/PKGBUILD b/pkgbuilds/stable/limine-snapper-sync/PKGBUILD new file mode 100644 index 0000000..fac52e2 --- /dev/null +++ b/pkgbuilds/stable/limine-snapper-sync/PKGBUILD @@ -0,0 +1,56 @@ +# Maintainer: Zesko +pkgname="limine-snapper-sync" +pkgver=1.22.0 +pkgrel=1 +pkgdesc="Automatically syncs Limine snapshot entries with Snapper snapshots." +arch=('x86_64' 'aarch64') +url="https://gitlab.com/Zesko/limine-snapper-sync" +source=("$pkgname-$pkgver.tar.gz::$url/-/archive/$pkgver/$pkgname-$pkgver.tar.gz") +source_x86_64=("https://github.com/graalvm/graalvm-ce-builds/releases/download/jdk-25.0.2/graalvm-community-jdk-25.0.2_linux-x64_bin.tar.gz") +source_aarch64=("https://github.com/graalvm/graalvm-ce-builds/releases/download/jdk-25.0.2/graalvm-community-jdk-25.0.2_linux-aarch64_bin.tar.gz") +license=("GPL3") +options=(!debug !strip) +_graalvm_version=java-25-graalvm-ce +depends=( + 'bash' + 'limine' + 'snapper' + 'btrfs-progs' + 'libnotify') +optdepends=( + 'limine-dracut-support: Automates kernel installation/removal and Limine boot entry management.' + 'limine-mkinitcpio-hook: Automates kernel installation/removal and Limine boot entry management.' + 'inotify-tools: Monitors when snapshots are created or deleted.' + 'rsync: Alternative method for restoring snapshots.' + 'b3sum: Fast Blake3 hash function to prevent duplication.' + 'xxhash: Fast hashing utility for deduplication with shorter hashes.' +) +makedepends=('git' 'gradle') +backup=(etc/limine-snapper-sync.conf) +conflicts=('limine-snapper-sync-git') +sha256sums=('c68cf79d04da748eeed7df191999c4f3200dfe145e63beec7ea4767f9bd8ba74') +sha256sums_x86_64=('e0be791c8fda4d03b6b0a0cb824fef3149736170057b3a515252b44419606af0') +sha256sums_aarch64=('b4580d9f223d0a4b3a1757e58b18ff4c1db950e67e105fc5cb741457d2384a71') + +prepare() { + [[ -d "${_graalvm_version}" ]] && rm -rf "${_graalvm_version}" + mv graalvm-community-openjdk-*/ "${_graalvm_version}" + if ! command -v "${_graalvm_version}"/bin/javac >/dev/null 2>&1; then + echo "Error: "${_graalvm_version}"/bin/javac not found." >&2 + return 1 + fi +} + +build() { + cd "$srcdir/${pkgname}-${pkgver}" + JAVA_HOME="$srcdir/${_graalvm_version}" gradle clean nativeCompile +} + +package() { + cd "$srcdir/${pkgname}-${pkgver}" + src_path="install/arch-linux/" + install -Dm 755 "build/native/nativeCompile/${pkgname}" "$src_path/usr/lib/limine/" + install -dm 755 "$src_path/usr/share/doc/limine-snapper-sync/" + cp -r README.md CHANGELOG.md "$src_path/usr/share/doc/limine-snapper-sync/" + cp -r "$src_path/usr" "$src_path/etc" "$pkgdir" +} diff --git a/pkgbuilds/stable/macbook12-spi-driver-dkms/.SRCINFO b/pkgbuilds/stable/macbook12-spi-driver-dkms/.SRCINFO new file mode 100644 index 0000000..d1947eb --- /dev/null +++ b/pkgbuilds/stable/macbook12-spi-driver-dkms/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = macbook12-spi-driver-dkms + pkgdesc = Driver for the keyboard, touchpad and touchbar found in newer MacBook (Pro) models + pkgver = 0+git.315 + pkgrel = 1 + url = https://github.com/marc-git/macbook12-spi-driver + arch = i686 + arch = x86_64 + license = GPL2 + makedepends = git + depends = dkms + source = git+https://github.com/marc-git/macbook12-spi-driver.git#branch=touchbar-driver-hid-driver + source = dkms.conf + sha256sums = SKIP + sha256sums = e42243352d015a78e5d13260361d3052d0b84c4105bcb89191a319f2249cc47b + +pkgname = macbook12-spi-driver-dkms diff --git a/pkgbuilds/stable/macbook12-spi-driver-dkms/.gitignore b/pkgbuilds/stable/macbook12-spi-driver-dkms/.gitignore new file mode 100644 index 0000000..802cfe0 --- /dev/null +++ b/pkgbuilds/stable/macbook12-spi-driver-dkms/.gitignore @@ -0,0 +1,4 @@ +/src/ +/pkg/ +/*.tar.* +/macbook12-spi-driver/ diff --git a/pkgbuilds/stable/macbook12-spi-driver-dkms/PKGBUILD b/pkgbuilds/stable/macbook12-spi-driver-dkms/PKGBUILD new file mode 100644 index 0000000..3254326 --- /dev/null +++ b/pkgbuilds/stable/macbook12-spi-driver-dkms/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Christoph Gysin +# Maintainer: Andrey Melentyev +_pkgbase=macbook12-spi-driver +pkgname=(${_pkgbase}-dkms) +pkgver=0+git.315 +pkgrel=1 +pkgdesc="Driver for the keyboard, touchpad and touchbar found in newer MacBook (Pro) models" +arch=('i686' 'x86_64') +url="https://github.com/marc-git/macbook12-spi-driver" +license=('GPL2') +depends=('dkms') +makedepends=('git') +optdepends=() +source=(git+https://github.com/marc-git/macbook12-spi-driver.git#branch=touchbar-driver-hid-driver + dkms.conf) +sha256sums=('SKIP' + 'e42243352d015a78e5d13260361d3052d0b84c4105bcb89191a319f2249cc47b') + +pkgver() { + cd $_pkgbase + echo "0+git.$(git rev-list HEAD --count)" +} + +package() { + install -dm755 "${pkgdir}"/usr/src/${_pkgbase}-${pkgver} + + # Copy sources (including Makefile) + cp -r ${_pkgbase}/* "${pkgdir}"/usr/src/${_pkgbase}-${pkgver}/ + + # Copy dkms.conf over the original one from the repo + install -Dm644 dkms.conf "${pkgdir}"/usr/src/${_pkgbase}-${pkgver}/dkms.conf + + # Set name and version + sed -e "s/@_PKGBASE@/${_pkgbase}/" \ + -e "s/@PKGVER@/${pkgver}/" \ + -i "${pkgdir}"/usr/src/${_pkgbase}-${pkgver}/dkms.conf +} diff --git a/pkgbuilds/stable/macbook12-spi-driver-dkms/dkms.conf b/pkgbuilds/stable/macbook12-spi-driver-dkms/dkms.conf new file mode 100644 index 0000000..8bdece0 --- /dev/null +++ b/pkgbuilds/stable/macbook12-spi-driver-dkms/dkms.conf @@ -0,0 +1,17 @@ +PACKAGE_NAME="@_PKGBASE@" +PACKAGE_VERSION="@PKGVER@" +AUTOINSTALL="yes" +CLEAN="make clean" + +BUILT_MODULE_NAME[0]="applespi" +BUILT_MODULE_NAME[1]="apple-ibridge" +BUILT_MODULE_NAME[2]="apple-ib-tb" +BUILT_MODULE_NAME[3]="apple-ib-als" +MAKE[0]="make KDIR=/usr/lib/modules/$kernelver/build" +MAKE[1]="make KDIR=/usr/lib/modules/$kernelver/build" +MAKE[2]="make KDIR=/usr/lib/modules/$kernelver/build" +MAKE[3]="make KDIR=/usr/lib/modules/$kernelver/build" +DEST_MODULE_LOCATION[0]="/kernel/drivers/spi" +DEST_MODULE_LOCATION[1]="/kernel/drivers/misc" +DEST_MODULE_LOCATION[2]="/kernel/drivers/misc" +DEST_MODULE_LOCATION[3]="/kernel/drivers/misc" diff --git a/pkgbuilds/stable/nvidia-580xx-utils/.SRCINFO b/pkgbuilds/stable/nvidia-580xx-utils/.SRCINFO new file mode 100644 index 0000000..a0d7d09 --- /dev/null +++ b/pkgbuilds/stable/nvidia-580xx-utils/.SRCINFO @@ -0,0 +1,62 @@ +pkgbase = nvidia-580xx-utils + pkgver = 580.126.09 + pkgrel = 1 + url = http://www.nvidia.com/ + arch = x86_64 + license = custom + options = !strip + source = nvidia-drm-outputclass.conf + source = nvidia-utils.sysusers + source = nvidia.rules + source = systemd-homed-override.conf + source = systemd-suspend-override.conf + source = nvidia-sleep.conf + source = https://us.download.nvidia.com/XFree86/Linux-x86_64/580.126.09/NVIDIA-Linux-x86_64-580.126.09.run + source = 0001-Enable-atomic-kernel-modesetting-by-default.patch + source = limit-vram-usage + sha256sums = be99ff3def641bb900c2486cce96530394c5dc60548fc4642f19d3a4c784134d + sha256sums = f77a5247a3ba63e9fad3a3b2822d0fcfa51e0f79b5a90bd79bf08ea34b64ab07 + sha256sums = 0e54249a7754b668b436f0f7aa7e95fff68edbb12a93dbee4660e09a8c695f84 + sha256sums = c5aa7b8abe69e72bfdc6b9ee8afbfd350bcc557e894558f2e6e4087fa9aa0dd8 + sha256sums = 1d053c5078387021338cfc3a732bed61be1a20a549775573788e9134775c8149 + sha256sums = 12d31a5425aba66be9e9129012cde82755ad4d5b7ce9933df8fc398c4fa8d631 + sha256sums = 4cac53e48f8adff661d47c8788ed24059a248c9fd8098ceafd088a498986ec26 + sha256sums = 163c57160cc1033020680f638b44ebd94b496152dcd8951e87d5077d4d5c2009 + sha256sums = b14f7a65359c05c373ddfc750cd4cf086a48e815489d93ad5cbe1dbf84bf8f5a + +pkgname = nvidia-580xx-utils + pkgdesc = NVIDIA drivers utilities (580xx) + install = nvidia-580xx-utils.install + depends = libglvnd + depends = egl-wayland + depends = egl-gbm + depends = egl-x11 + optdepends = nvidia-580xx-settings: configuration tool + optdepends = xorg-server: Xorg support + optdepends = xorg-server-devel: nvidia-xconfig + provides = vulkan-driver + provides = nvidia-utils + provides = opengl-driver + provides = nvidia-libgl + conflicts = nvidia-libgl + conflicts = nvidia-utils + replaces = nvidia-libgl + +pkgname = opencl-nvidia-580xx + pkgdesc = OpenCL implemention for NVIDIA (580xx) + depends = zlib + optdepends = opencl-headers: headers necessary for OpenCL development + provides = opencl-driver + provides = opencl-nvidia + conflicts = opencl-nvidia + +pkgname = nvidia-580xx-dkms + pkgdesc = NVIDIA kernel modules - module sources (580xx) + depends = dkms + depends = nvidia-580xx-utils=580.126.09 + depends = libglvnd + provides = NVIDIA-MODULE + provides = nvidia + conflicts = NVIDIA-MODULE + conflicts = nvidia + conflicts = nvidia-open-dkms diff --git a/pkgbuilds/stable/nvidia-580xx-utils/0001-Enable-atomic-kernel-modesetting-by-default.patch b/pkgbuilds/stable/nvidia-580xx-utils/0001-Enable-atomic-kernel-modesetting-by-default.patch new file mode 100644 index 0000000..ffc13a0 --- /dev/null +++ b/pkgbuilds/stable/nvidia-580xx-utils/0001-Enable-atomic-kernel-modesetting-by-default.patch @@ -0,0 +1,43 @@ +From 60d1ddc17835226ec67ed1bc1c28524e3bb6e151 Mon Sep 17 00:00:00 2001 +From: Peter Jung +Date: Sun, 20 Apr 2025 18:13:22 +0200 +Subject: [PATCH 1/8] Enable atomic kernel modesetting by default + +This is required for proper functionality under Wayland. fbdev has been default enabled since 570 so that +hunk can be removed from this patch. + +Signed-off-by: Peter Jung +--- + nvidia-drm/nvidia-drm-linux.c | 2 +- + nvidia-drm/nvidia-drm-os-interface.c | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git an/nvidia-drm/nvidia-drm-linux.c b/nvidia-drm/nvidia-drm-linux.c +index 3cb1815d..209cb469 100644 +--- a/nvidia-drm/nvidia-drm-linux.c ++++ b/nvidia-drm/nvidia-drm-linux.c +@@ -31,7 +31,7 @@ + + MODULE_PARM_DESC( + modeset, +- "Enable atomic kernel modesetting (1 = enable, 0 = disable (default))"); ++ "Enable atomic kernel modesetting (1 = enable (default), 0 = disable)"); + module_param_named(modeset, nv_drm_modeset_module_param, bool, 0400); + + #if defined(NV_DRM_FBDEV_AVAILABLE) +diff --git a/nvidia-drm/nvidia-drm-os-interface.c b/nvidia-drm/nvidia-drm-os-interface.c +index 7617476d..f22afd77 100644 +--- a/nvidia-drm/nvidia-drm-os-interface.c ++++ b//nvidia-drm/nvidia-drm-os-interface.c +@@ -41,7 +41,7 @@ + #include + #endif + +-bool nv_drm_modeset_module_param = false; ++bool nv_drm_modeset_module_param = true; + bool nv_drm_fbdev_module_param = true; + + void *nv_drm_calloc(size_t nmemb, size_t size) +-- +2.49.0.391.g4bbb303af6 + diff --git a/pkgbuilds/stable/nvidia-580xx-utils/PKGBUILD b/pkgbuilds/stable/nvidia-580xx-utils/PKGBUILD new file mode 100644 index 0000000..c37d72a --- /dev/null +++ b/pkgbuilds/stable/nvidia-580xx-utils/PKGBUILD @@ -0,0 +1,302 @@ +# Maintainer: Vasiliy Stelmachenok +# Contributor: Sven-Hendrik Haase +# Contributor: Peter Jung +# Contributor: James Rayner +# Contributor: Vasiliy Stelmachenok +# Contributor: Thomas Baechler + +pkgbase=nvidia-580xx-utils +pkgname=('nvidia-580xx-utils' 'opencl-nvidia-580xx' 'nvidia-580xx-dkms') +pkgver=580.126.09 +pkgrel=1 +arch=('x86_64') +url="http://www.nvidia.com/" +license=('custom') +options=('!strip') +_pkg="NVIDIA-Linux-x86_64-${pkgver}" +_pkg_open="NVIDIA-kernel-module-source-${pkgver}" +source=('nvidia-drm-outputclass.conf' + 'nvidia-utils.sysusers' + 'nvidia.rules' + 'systemd-homed-override.conf' + 'systemd-suspend-override.conf' + 'nvidia-sleep.conf' + "https://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run" + '0001-Enable-atomic-kernel-modesetting-by-default.patch' + 'limit-vram-usage') + +sha256sums=( + 'be99ff3def641bb900c2486cce96530394c5dc60548fc4642f19d3a4c784134d' + 'f77a5247a3ba63e9fad3a3b2822d0fcfa51e0f79b5a90bd79bf08ea34b64ab07' + '0e54249a7754b668b436f0f7aa7e95fff68edbb12a93dbee4660e09a8c695f84' + 'c5aa7b8abe69e72bfdc6b9ee8afbfd350bcc557e894558f2e6e4087fa9aa0dd8' + '1d053c5078387021338cfc3a732bed61be1a20a549775573788e9134775c8149' + '12d31a5425aba66be9e9129012cde82755ad4d5b7ce9933df8fc398c4fa8d631' + '4cac53e48f8adff661d47c8788ed24059a248c9fd8098ceafd088a498986ec26' + '163c57160cc1033020680f638b44ebd94b496152dcd8951e87d5077d4d5c2009' + 'b14f7a65359c05c373ddfc750cd4cf086a48e815489d93ad5cbe1dbf84bf8f5a' +) + +create_links() { + # create soname links + find "$pkgdir" -type f -name '*.so*' ! -path '*xorg/*' -print0 | while read -d $'\0' _lib; do + _soname=$(dirname "${_lib}")/$(readelf -d "${_lib}" | grep -Po 'SONAME.*: \[\K[^]]*' || true) + _base=$(echo ${_soname} | sed -r 's/(.*)\.so.*/\1.so/') + [[ -e "${_soname}" ]] || ln -s $(basename "${_lib}") "${_soname}" + [[ -e "${_base}" ]] || ln -s $(basename "${_soname}") "${_base}" + done +} + +prepare() { + sh "${_pkg}.run" --extract-only + cd "${_pkg}" + bsdtar -xf nvidia-persistenced-init.tar.bz2 + + # Enable modeset by default + # This avoids various issue, when Simplefb is used + # https://gitlab.archlinux.org/archlinux/packaging/packages/nvidia-utils/-/issues/14 + # https://github.com/rpmfusion/nvidia-kmod/blob/master/make_modeset_default.patch + patch -Np1 -i "${srcdir}/0001-Enable-atomic-kernel-modesetting-by-default.patch" -d "${srcdir}/${_pkg}/kernel" + + shopt -s globstar + for conf in "${srcdir}"/**/dkms.conf; do + sed -i "s/__VERSION_STRING/${pkgver}/" "$conf" + sed -i 's/__JOBS/`nproc`/' "$conf" + sed -i 's/__EXCLUDE_MODULES//' "$conf" + sed -i 's/__DKMS_MODULES//' "$conf" + sed -i 's/NV_EXCLUDE_BUILD_MODULES/IGNORE_PREEMPT_RT_PRESENCE=1 NV_EXCLUDE_BUILD_MODULES/' "$conf" + sed -i '$i\ +BUILT_MODULE_NAME[0]="nvidia"\ +DEST_MODULE_LOCATION[0]="/kernel/drivers/video"\ +BUILT_MODULE_NAME[1]="nvidia-uvm"\ +DEST_MODULE_LOCATION[1]="/kernel/drivers/video"\ +BUILT_MODULE_NAME[2]="nvidia-modeset"\ +DEST_MODULE_LOCATION[2]="/kernel/drivers/video"\ +BUILT_MODULE_NAME[3]="nvidia-drm"\ +DEST_MODULE_LOCATION[3]="/kernel/drivers/video"\ +BUILT_MODULE_NAME[4]="nvidia-peermem"\ +DEST_MODULE_LOCATION[4]="/kernel/drivers/video"' "$conf" + done + shopt -u globstar +} + +package_opencl-nvidia-580xx() { + pkgdesc="OpenCL implemention for NVIDIA (580xx)" + depends=('zlib') + optdepends=('opencl-headers: headers necessary for OpenCL development') + provides=('opencl-driver' 'opencl-nvidia') + conflicts=('opencl-nvidia') + cd "${_pkg}" + + # OpenCL + install -Dm644 nvidia.icd "${pkgdir}/etc/OpenCL/vendors/nvidia.icd" + install -Dm755 "libnvidia-opencl.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-opencl.so.${pkgver}" + + create_links + + mkdir -p "${pkgdir}/usr/share/licenses" + ln -s nvidia-utils "${pkgdir}/usr/share/licenses/opencl-nvidia" +} + +package_nvidia-580xx-dkms() { + pkgdesc="NVIDIA kernel modules - module sources (580xx)" + depends=('dkms' "nvidia-580xx-utils=${pkgver}" 'libglvnd') + provides=('NVIDIA-MODULE' 'nvidia') + conflicts=('NVIDIA-MODULE' 'nvidia' 'nvidia-open-dkms') + cd ${_pkg} + + install -dm 755 "${pkgdir}/usr/src" + cp -dr --no-preserve='ownership' kernel "${pkgdir}/usr/src/nvidia-${pkgver}" + + install -Dm644 "${srcdir}/${_pkg}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} + +package_nvidia-580xx-utils() { + pkgdesc="NVIDIA drivers utilities (580xx)" + depends=('libglvnd' 'egl-wayland' 'egl-gbm' 'egl-x11') + optdepends=( + 'nvidia-580xx-settings: configuration tool' + 'xorg-server: Xorg support' + 'xorg-server-devel: nvidia-xconfig' + ) + conflicts=('nvidia-libgl' 'nvidia-utils') + provides=('vulkan-driver' 'nvidia-utils' 'opengl-driver' 'nvidia-libgl') + replaces=('nvidia-libgl') + install="${pkgname}.install" + + cd "${_pkg}" + + # Check http://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/README/installedcomponents.html + # for hints on what needs to be installed where. + + # X driver + install -Dm755 nvidia_drv.so "${pkgdir}/usr/lib/xorg/modules/drivers/nvidia_drv.so" + + # Wayland/GBM + mkdir -p "${pkgdir}/usr/lib/gbm" + ln -sr "${pkgdir}/usr/lib/libnvidia-allocator.so.${pkgver}" "${pkgdir}/usr/lib/gbm/nvidia-drm_gbm.so" + + # firmware + install -Dm644 -t "${pkgdir}/usr/lib/firmware/nvidia/${pkgver}/" firmware/*.bin + + # GLX extension module for X + install -Dm755 "libglxserver_nvidia.so.${pkgver}" "${pkgdir}/usr/lib/nvidia/xorg/libglxserver_nvidia.so.${pkgver}" + # Ensure that X finds glx + ln -s "libglxserver_nvidia.so.${pkgver}" "${pkgdir}/usr/lib/nvidia/xorg/libglxserver_nvidia.so.1" + ln -s "libglxserver_nvidia.so.${pkgver}" "${pkgdir}/usr/lib/nvidia/xorg/libglxserver_nvidia.so" + + install -Dm755 "libGLX_nvidia.so.${pkgver}" "${pkgdir}/usr/lib/libGLX_nvidia.so.${pkgver}" + + # OpenGL libraries + install -Dm755 "libEGL_nvidia.so.${pkgver}" "${pkgdir}/usr/lib/libEGL_nvidia.so.${pkgver}" + install -Dm755 "libGLESv1_CM_nvidia.so.${pkgver}" "${pkgdir}/usr/lib/libGLESv1_CM_nvidia.so.${pkgver}" + install -Dm755 "libGLESv2_nvidia.so.${pkgver}" "${pkgdir}/usr/lib/libGLESv2_nvidia.so.${pkgver}" + install -Dm644 "10_nvidia.json" "${pkgdir}/usr/share/glvnd/egl_vendor.d/10_nvidia.json" + + # OpenGL core library + install -Dm755 "libnvidia-glcore.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-glcore.so.${pkgver}" + install -Dm755 "libnvidia-eglcore.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-eglcore.so.${pkgver}" + install -Dm755 "libnvidia-glsi.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-glsi.so.${pkgver}" + + # misc + install -Dm755 "libnvidia-api.so.1" "${pkgdir}/usr/lib/libnvidia-api.so.1" + install -Dm755 "libnvidia-fbc.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-fbc.so.${pkgver}" + install -Dm755 "libnvidia-encode.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-encode.so.${pkgver}" + install -Dm755 "libnvidia-cfg.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-cfg.so.${pkgver}" + install -Dm755 "libnvidia-ml.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-ml.so.${pkgver}" + install -Dm755 "libnvidia-glvkspirv.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-glvkspirv.so.${pkgver}" + install -Dm755 "libnvidia-allocator.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-allocator.so.${pkgver}" + install -Dm755 "libnvidia-gpucomp.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-gpucomp.so.${pkgver}" + + # Vulkan ICD + install -Dm644 "nvidia_icd.json" "${pkgdir}/usr/share/vulkan/icd.d/nvidia_icd.json" + install -Dm644 "nvidia_layers.json" "${pkgdir}/usr/share/vulkan/implicit_layer.d/nvidia_layers.json" + + # VulkanSC + install -D -m755 nvidia-pcc -t "${pkgdir}/usr/bin" + install -D -m755 "libnvidia-vksc-core.so.${pkgver}" -t "${pkgdir}/usr/lib" + install -D -m644 nvidia_icd_vksc.json -t "${pkgdir}/usr/share/vulkansc/icd.d" + + # VDPAU + install -Dm755 "libvdpau_nvidia.so.${pkgver}" "${pkgdir}/usr/lib/vdpau/libvdpau_nvidia.so.${pkgver}" + + # nvidia-tls library + install -Dm755 "libnvidia-tls.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-tls.so.${pkgver}" + + # CUDA + install -Dm755 "libcuda.so.${pkgver}" "${pkgdir}/usr/lib/libcuda.so.${pkgver}" + install -Dm755 "libnvcuvid.so.${pkgver}" "${pkgdir}/usr/lib/libnvcuvid.so.${pkgver}" + install -Dm755 "libcudadebugger.so.${pkgver}" "${pkgdir}/usr/lib/libcudadebugger.so.${pkgver}" + + # NVVM Compiler library loaded by the CUDA driver to do JIT link-time-optimization + install -Dm644 "libnvidia-nvvm.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-nvvm.so.${pkgver}" + install -Dm755 "libnvidia-nvvm70.so.4" "${pkgdir}/usr/lib/libnvidia-nvvm70.so.4" + + # PTX JIT Compiler (Parallel Thread Execution (PTX) is a pseudo-assembly language for CUDA) + install -Dm755 "libnvidia-ptxjitcompiler.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-ptxjitcompiler.so.${pkgver}" + + # raytracing + install -Dm755 "nvoptix.bin" "${pkgdir}/usr/share/nvidia/nvoptix.bin" + install -Dm755 "libnvoptix.so.${pkgver}" "${pkgdir}/usr/lib/libnvoptix.so.${pkgver}" + install -Dm755 "libnvidia-rtcore.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-rtcore.so.${pkgver}" + + # NGX + install -Dm755 nvidia-ngx-updater "${pkgdir}/usr/bin/nvidia-ngx-updater" + install -Dm755 "libnvidia-ngx.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-ngx.so.${pkgver}" + install -Dm755 _nvngx.dll "${pkgdir}/usr/lib/nvidia/wine/_nvngx.dll" + install -Dm755 nvngx.dll "${pkgdir}/usr/lib/nvidia/wine/nvngx.dll" + install -Dm755 nvngx_dlssg.dll "${pkgdir}/usr/lib/nvidia/wine/nvngx_dlssg.dll" + + # Optical flow + install -Dm755 "libnvidia-opticalflow.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-opticalflow.so.${pkgver}" + + # Cryptography library wrapper + ls libnvidia-pkcs* + ls *openssl* + install -Dm755 "libnvidia-pkcs11.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-pkcs11.so.${pkgver}" + install -Dm755 "libnvidia-pkcs11-openssl3.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-pkcs11-openssl3.so.${pkgver}" + + # Sandboxhelper + install -Dm755 "libnvidia-sandboxutils.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-sandboxutils.so.${pkgver}" + + # Present Helper + install -Dm755 "libnvidia-present.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-present.so.${pkgver}" + + # Debug + install -Dm755 nvidia-debugdump "${pkgdir}/usr/bin/nvidia-debugdump" + + # nvidia-xconfig + install -Dm755 nvidia-xconfig "${pkgdir}/usr/bin/nvidia-xconfig" + install -Dm644 nvidia-xconfig.1.gz "${pkgdir}/usr/share/man/man1/nvidia-xconfig.1.gz" + + # nvidia-bug-report + install -Dm755 nvidia-bug-report.sh "${pkgdir}/usr/bin/nvidia-bug-report.sh" + + # nvidia-smi + install -Dm755 nvidia-smi "${pkgdir}/usr/bin/nvidia-smi" + install -Dm644 nvidia-smi.1.gz "${pkgdir}/usr/share/man/man1/nvidia-smi.1.gz" + + # nvidia-cuda-mps + install -Dm755 nvidia-cuda-mps-server "${pkgdir}/usr/bin/nvidia-cuda-mps-server" + install -Dm755 nvidia-cuda-mps-control "${pkgdir}/usr/bin/nvidia-cuda-mps-control" + install -Dm644 nvidia-cuda-mps-control.1.gz "${pkgdir}/usr/share/man/man1/nvidia-cuda-mps-control.1.gz" + + # nvidia-modprobe + # This should be removed if nvidia fixed their uvm module! + install -Dm4755 nvidia-modprobe "${pkgdir}/usr/bin/nvidia-modprobe" + install -Dm644 nvidia-modprobe.1.gz "${pkgdir}/usr/share/man/man1/nvidia-modprobe.1.gz" + + # nvidia-persistenced + install -Dm755 nvidia-persistenced "${pkgdir}/usr/bin/nvidia-persistenced" + install -Dm644 nvidia-persistenced.1.gz "${pkgdir}/usr/share/man/man1/nvidia-persistenced.1.gz" + install -Dm644 nvidia-persistenced-init/systemd/nvidia-persistenced.service.template "${pkgdir}/usr/lib/systemd/system/nvidia-persistenced.service" + sed -i 's/__USER__/nvidia-persistenced/' "${pkgdir}/usr/lib/systemd/system/nvidia-persistenced.service" + + # application profiles + install -Dm644 "nvidia-application-profiles-${pkgver}-rc" "${pkgdir}/usr/share/nvidia/nvidia-application-profiles-${pkgver}-rc" + install -Dm644 "nvidia-application-profiles-${pkgver}-key-documentation" "${pkgdir}/usr/share/nvidia/nvidia-application-profiles-${pkgver}-key-documentation" + # Application profiles to fix vram usage at electron applications + install -Dm644 "$srcdir"/limit-vram-usage "${pkgdir}/etc/nvidia/nvidia-application-profiles-rc.d/limit-vram-usage" + + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/nvidia-utils/LICENSE" + install -Dm644 README.txt "${pkgdir}/usr/share/doc/nvidia/README" + install -Dm644 NVIDIA_Changelog "${pkgdir}/usr/share/doc/nvidia/NVIDIA_Changelog" + cp -r html "${pkgdir}/usr/share/doc/nvidia/" + ln -s nvidia "${pkgdir}/usr/share/doc/nvidia-utils" + + # new power management support + install -Dm644 systemd/system/*.service -t "${pkgdir}/usr/lib/systemd/system" + install -Dm755 systemd/system-sleep/nvidia "${pkgdir}/usr/lib/systemd/system-sleep/nvidia" + install -Dm755 systemd/nvidia-sleep.sh "${pkgdir}/usr/bin/nvidia-sleep.sh" + install -Dm755 nvidia-powerd "${pkgdir}/usr/bin/nvidia-powerd" + install -Dm644 nvidia-dbus.conf "${pkgdir}/usr/share/dbus-1/system.d/nvidia-dbus.conf" + install -Dm644 "${srcdir}/systemd-homed-override.conf" "${pkgdir}/usr/lib/systemd/system/systemd-homed.service.d/10-nvidia-no-freeze-session.conf" + install -Dm644 "${srcdir}/systemd-suspend-override.conf" "${pkgdir}/usr/lib/systemd/system/systemd-suspend.service.d/10-nvidia-no-freeze-session.conf" + install -Dm644 "${srcdir}/systemd-suspend-override.conf" "${pkgdir}/usr/lib/systemd/system/systemd-suspend-then-hibernate.service.d/10-nvidia-no-freeze-session.conf" + install -Dm644 "${srcdir}/systemd-suspend-override.conf" "${pkgdir}/usr/lib/systemd/system/systemd-hibernate.service.d/10-nvidia-no-freeze-session.conf" + install -Dm644 "${srcdir}/systemd-suspend-override.conf" "${pkgdir}/usr/lib/systemd/system/systemd-hybrid-sleep.service.d/10-nvidia-no-freeze-session.conf" + + # distro specific files must be installed in /usr/share/X11/xorg.conf.d + install -Dm644 "${srcdir}/nvidia-drm-outputclass.conf" "${pkgdir}/usr/share/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf" + + install -Dm644 "${srcdir}/nvidia-utils.sysusers" "${pkgdir}/usr/lib/sysusers.d/$pkgname.conf" + + install -Dm644 "${srcdir}/nvidia.rules" "$pkgdir"/usr/lib/udev/rules.d/60-nvidia.rules + + # Blacklist nouveau and nova + install -Dm644 /dev/stdin "${pkgdir}/usr/lib/modprobe.d/${pkgname}.conf" < + +pkgname=omarchy-fish +pkgver=1.2.0 +pkgrel=1 +pkgdesc="Omarchy shell configuration for Fish" +arch=('any') +url="https://github.com/omacom-io/omarchy-fish" +license=('MIT') +depends=('fish' 'eza' 'mise' 'zoxide' 'starship' 'fzf' 'fd' 'bat') +options=('!debug') +install=omarchy-fish.install +source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz" + "fzf.fish-v10.3.tar.gz::https://github.com/PatrickF1/fzf.fish/archive/refs/tags/v10.3.tar.gz") +sha256sums=('096f8fb8986292c0d0f3e319a5e24ad9bad009fa947893c4521331f0b2a7c005' + 'a0d56e974b8d5144c3262dcf87630c8886407d28a2f9e626e46bc18199fe6f97') +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + # Install fzf.fish to vendor directories + install -dm755 "${pkgdir}/usr/share/fish/vendor_conf.d" + install -dm755 "${pkgdir}/usr/share/fish/vendor_functions.d" + install -dm755 "${pkgdir}/usr/share/fish/vendor_completions.d" + cp "${srcdir}/fzf.fish-10.3/conf.d/"*.fish "${pkgdir}/usr/share/fish/vendor_conf.d/" + cp "${srcdir}/fzf.fish-10.3/functions/"*.fish "${pkgdir}/usr/share/fish/vendor_functions.d/" + cp "${srcdir}/fzf.fish-10.3/completions/"*.fish "${pkgdir}/usr/share/fish/vendor_completions.d/" + + # Install omarchy-fish conf.d and functions + cp conf.d/*.fish "${pkgdir}/usr/share/fish/vendor_conf.d/" + cp functions/*.fish "${pkgdir}/usr/share/fish/vendor_functions.d/" + + # Install templates and documentation + install -dm755 "${pkgdir}/usr/share/${pkgname}" + cp -r templates LICENSE README.md "${pkgdir}/usr/share/${pkgname}/" + cp "${srcdir}/fzf.fish-10.3/LICENSE.md" "${pkgdir}/usr/share/${pkgname}/LICENSE.fzf.fish" + cp "${srcdir}/fzf.fish-10.3/README.md" "${pkgdir}/usr/share/${pkgname}/README.fzf.fish.md" + + # Install setup script + install -Dm755 bin/omarchy-setup-fish "${pkgdir}/usr/bin/omarchy-setup-fish" +} diff --git a/pkgbuilds/stable/omarchy-fish/omarchy-fish.install b/pkgbuilds/stable/omarchy-fish/omarchy-fish.install new file mode 100644 index 0000000..82e9f17 --- /dev/null +++ b/pkgbuilds/stable/omarchy-fish/omarchy-fish.install @@ -0,0 +1,14 @@ +post_install() { + echo "==> omarchy-fish installed successfully!" + echo "" + echo "==> To run fish from bash:" + echo " fish" + echo "" + echo "==> To set as default shell:" + echo " omarchy-setup-fish" +} + +post_remove() { + echo "==> omarchy-fish has been removed" + echo "==> To restore bash, copy a backup to ~/.bashrc" +} diff --git a/pkgbuilds/stable/omarchy-keyring/.SRCINFO b/pkgbuilds/stable/omarchy-keyring/.SRCINFO new file mode 100644 index 0000000..b1a7a1e --- /dev/null +++ b/pkgbuilds/stable/omarchy-keyring/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = omarchy-keyring + pkgdesc = Omarchy keyring + pkgver = 20251026 + pkgrel = 1 + url = https://omarchy.org + install = omarchy-keyring.install + arch = any + license = GPL-3.0-or-later + source = omarchy.gpg + source = omarchy-revoked + source = omarchy-trusted + source = omarchy-keyring.install + sha512sums = f9455c60f30984d73ddebecf55a1b6dcb3afba84638c5d78130494bb828f53cfa19d393c27e43514d5847b37dcd0a5601ba39b213c2185ff153001b7221c9c8c + sha512sums = be688838ca8686e5c90689bf2ab585cef1137c999b48c70b92f67a5c34dc15697b5d11c982ed6d71be1e1e7f7b4e0733884aa97c3f7a339a8ed03577cf74be09 + sha512sums = 39767d13b783903d97f68e23100982c645356c7f7dbd9625ae41f4fa217c937f09e0f5dd8e0741f0950f2d9418a160dbce7563e1f4a4599d545e38f986fd8fb9 + sha512sums = b684c496b6866dfea05595965727709ef63b9abe6a89276b89f0dba0271112a0184a934884a6d53d1c5f4d6a01ac36c6d296ce475f5c7d10a11ee397e2926194 + +pkgname = omarchy-keyring diff --git a/pkgbuilds/stable/omarchy-keyring/PKGBUILD b/pkgbuilds/stable/omarchy-keyring/PKGBUILD new file mode 100644 index 0000000..18448a3 --- /dev/null +++ b/pkgbuilds/stable/omarchy-keyring/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Omarchy + +pkgname=omarchy-keyring +pkgver=20251027 +pkgrel=1 +pkgdesc="Omarchy keyring" +arch=(any) +url="https://omarchy.org" +license=('GPL-3.0-or-later') +install=$pkgname.install +source=("omarchy.gpg" + "omarchy-revoked" + "omarchy-trusted" + "$install") + +sha512sums=('f9455c60f30984d73ddebecf55a1b6dcb3afba84638c5d78130494bb828f53cfa19d393c27e43514d5847b37dcd0a5601ba39b213c2185ff153001b7221c9c8c' + 'cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e' + '39767d13b783903d97f68e23100982c645356c7f7dbd9625ae41f4fa217c937f09e0f5dd8e0741f0950f2d9418a160dbce7563e1f4a4599d545e38f986fd8fb9' + 'b684c496b6866dfea05595965727709ef63b9abe6a89276b89f0dba0271112a0184a934884a6d53d1c5f4d6a01ac36c6d296ce475f5c7d10a11ee397e2926194') + +package() { + install -D -m0644 -t "${pkgdir}"/usr/share/pacman/keyrings/ 'omarchy'{.gpg,-trusted,-revoked} +} diff --git a/pkgbuilds/stable/omarchy-keyring/omarchy-keyring.install b/pkgbuilds/stable/omarchy-keyring/omarchy-keyring.install new file mode 100644 index 0000000..39a8a0b --- /dev/null +++ b/pkgbuilds/stable/omarchy-keyring/omarchy-keyring.install @@ -0,0 +1,14 @@ +post_upgrade() { + if usr/bin/pacman-key -l >/dev/null 2>&1; then + usr/bin/pacman-key --populate omarchy + else + echo " >>> Run \`pacman-key --init\` to set up your pacman keyring." + echo " >>> Then run \`pacman-key --populate omarchy\` to install the Omarchy keyring." + fi +} + +post_install() { + if [ -x usr/bin/pacman-key ]; then + post_upgrade + fi +} diff --git a/pkgbuilds/stable/omarchy-keyring/omarchy-revoked b/pkgbuilds/stable/omarchy-keyring/omarchy-revoked new file mode 100644 index 0000000..e69de29 diff --git a/pkgbuilds/stable/omarchy-keyring/omarchy-trusted b/pkgbuilds/stable/omarchy-keyring/omarchy-trusted new file mode 100644 index 0000000..01b9348 --- /dev/null +++ b/pkgbuilds/stable/omarchy-keyring/omarchy-trusted @@ -0,0 +1 @@ +40DFB630FF42BCFFB047046CF0134EE680CAC571:4: diff --git a/pkgbuilds/stable/omarchy-keyring/omarchy.gpg b/pkgbuilds/stable/omarchy-keyring/omarchy.gpg new file mode 100644 index 0000000..7c5ea36 --- /dev/null +++ b/pkgbuilds/stable/omarchy-keyring/omarchy.gpg @@ -0,0 +1,13 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mDMEaLAsIhYJKwYBBAHaRw8BAQdAYmKmrWMlfpdIPh3QzvEMzzxdNd/kqDl/Bj8H +mCavKji0Gk9tYXJjaHkgPHBrZ3NAb21hcmNoeS5vcmc+iJAEExYKADgWIQRA37Yw +/0K8/7BHBGzwE07mgMrFcQUCaLAsIgIbAwULCQgHAgYVCgkICwIEFgIDAQIeAQIX +gAAKCRDwE07mgMrFcRF2AQCjjvjgju/kowkN69nenqqRnE+v2MrHmWh2wU0ugIt9 +3gD/bXGugWc5J1vqoT+5aCnJAtfRRmHEfsrAiFgjduB+VA24OARosCwiEgorBgEE +AZdVAQUBAQdAJoU73WdgxE/pEYK5ofyRvQDs1IFRdfJHV9j4Jm+tuDUDAQgHiHgE +GBYKACAWIQRA37Yw/0K8/7BHBGzwE07mgMrFcQUCaLAsIgIbDAAKCRDwE07mgMrF +cYXsAQC5eBEGK0xKsGwtnDDVeNAapx32dpvLgJ94W4DtIpdLlwEA85cSsTiBMuGy +6kwYmHzqw7oFx3VYGXdMNl0SMKzvJA4= +=G7wU +-----END PGP PUBLIC KEY BLOCK----- diff --git a/pkgbuilds/stable/omarchy-nvim/.gitignore b/pkgbuilds/stable/omarchy-nvim/.gitignore new file mode 100644 index 0000000..145602f --- /dev/null +++ b/pkgbuilds/stable/omarchy-nvim/.gitignore @@ -0,0 +1,15 @@ +# Arch package build files +*.pkg.tar.zst +*.pkg.tar.xz +*.pkg.tar.gz +*.tar.gz +*.tar.xz + +# Build directories +src/ +pkg/ +starter/ + +# Makepkg files +*.log +*.sig diff --git a/pkgbuilds/stable/omarchy-nvim/PKGBUILD b/pkgbuilds/stable/omarchy-nvim/PKGBUILD new file mode 100644 index 0000000..feb443d --- /dev/null +++ b/pkgbuilds/stable/omarchy-nvim/PKGBUILD @@ -0,0 +1,63 @@ +# Maintainer: Ryan Hughes +pkgname=omarchy-nvim +pkgver=2025.11.20 +pkgrel=1 +pkgdesc="Pre-built LazyVim configuration with cached plugins" +arch=('any') +url="https://github.com/LazyVim/LazyVim" +license=('MIT') +depends=('neovim>=0.9.0' 'git') +makedepends=('git' 'nodejs' 'npm' 'tree-sitter-cli') +conflicts=('omarchy-lazyvim') +options=('!debug') +source=("https://github.com/LazyVim/starter/archive/refs/heads/main.tar.gz") +sha256sums=('d865d50211358358d3c3c1e356773c1e3de1e8964215d85eb1b4c77521e17488') + +build() { + cd "$srcdir" + + # Create isolated environment for building + export HOME="$srcdir/build-home" + export XDG_CONFIG_HOME="$HOME/.config" + export XDG_DATA_HOME="$HOME/.local/share" + export XDG_STATE_HOME="$HOME/.local/state" + export XDG_CACHE_HOME="$HOME/.cache" + + mkdir -p "$XDG_CONFIG_HOME" "$XDG_DATA_HOME" "$XDG_STATE_HOME" "$XDG_CACHE_HOME" + + # Setup LazyVim starter + cp -r "$srcdir/starter-main" "$XDG_CONFIG_HOME/nvim" + rm -rf "$XDG_CONFIG_HOME/nvim/.git" + + # Copy our custom configs + cp -r "$startdir/lua" "$XDG_CONFIG_HOME/nvim/" + cp -r "$startdir/plugin" "$XDG_CONFIG_HOME/nvim/" + cp "$startdir/lazyvim.json" "$XDG_CONFIG_HOME/nvim/" + + echo "vim.opt.relativenumber = false" >>"$XDG_CONFIG_HOME/nvim/lua/config/options.lua" + + echo "Installing LazyVim plugins..." + nvim --headless \ + "+Lazy! sync" \ + "+qa!" || true +} + +package() { + cd "$srcdir" + + install -dm755 "$pkgdir/usr/share/$pkgname" + + cp -a "$XDG_CONFIG_HOME/nvim" "$pkgdir/usr/share/$pkgname/config" + cp -a "$XDG_DATA_HOME/nvim" "$pkgdir/usr/share/$pkgname/data" + + # Remove everything from site/ directory but keep the directory to prevent error + rm -rf "$pkgdir/usr/share/$pkgname/data/site"/* + mkdir -p "$pkgdir/usr/share/$pkgname/data/site" + + # Fix permissions to be readable by all users + chmod -R 755 "$pkgdir/usr/share/$pkgname" + find "$pkgdir/usr/share/$pkgname" -type f -exec chmod 644 {} \; + + # Install setup script to /usr/bin + install -Dm755 "$startdir/omarchy-nvim-setup" "$pkgdir/usr/bin/omarchy-nvim-setup" +} diff --git a/pkgbuilds/stable/omarchy-nvim/lazyvim.json b/pkgbuilds/stable/omarchy-nvim/lazyvim.json new file mode 100644 index 0000000..71fc832 --- /dev/null +++ b/pkgbuilds/stable/omarchy-nvim/lazyvim.json @@ -0,0 +1,10 @@ +{ + "extras": [ + "lazyvim.plugins.extras.editor.neo-tree" + ], + "install_version": 8, + "news": { + "NEWS.md": "10960" + }, + "version": 8 +} \ No newline at end of file diff --git a/pkgbuilds/stable/omarchy-nvim/lua/plugins/all-themes.lua b/pkgbuilds/stable/omarchy-nvim/lua/plugins/all-themes.lua new file mode 100644 index 0000000..2d9771b --- /dev/null +++ b/pkgbuilds/stable/omarchy-nvim/lua/plugins/all-themes.lua @@ -0,0 +1,81 @@ +return { + -- Load all theme plugins but don't apply them + -- This ensures all colorschemes are available for hot-reloading + { + "ribru17/bamboo.nvim", + lazy = true, + priority = 1000, + }, + { + "bjarneo/aether.nvim", + lazy = true, + priority = 1000, + }, + { + "bjarneo/ethereal.nvim", + lazy = true, + priority = 1000, + }, + { + "bjarneo/hackerman.nvim", + lazy = true, + priority = 1000, + }, + { + "catppuccin/nvim", + name = "catppuccin", + lazy = true, + priority = 1000, + }, + { + "sainnhe/everforest", + lazy = true, + priority = 1000, + }, + { + "kepano/flexoki-neovim", + lazy = true, + priority = 1000, + }, + { + "ellisonleao/gruvbox.nvim", + lazy = true, + priority = 1000, + }, + { + "rebelot/kanagawa.nvim", + lazy = true, + priority = 1000, + }, + { + "tahayvr/matteblack.nvim", + lazy = true, + priority = 1000, + }, + { + "loctvl842/monokai-pro.nvim", + lazy = true, + priority = 1000, + }, + { + "shaunsingh/nord.nvim", + lazy = true, + priority = 1000, + }, + { + "rose-pine/neovim", + name = "rose-pine", + lazy = true, + priority = 1000, + }, + { + "folke/tokyonight.nvim", + lazy = true, + priority = 1000, + }, + { + "xero/miasma.nvim", + lazy = true, + priority = 1000, + }, +} diff --git a/pkgbuilds/stable/omarchy-nvim/lua/plugins/disable-news-alert.lua b/pkgbuilds/stable/omarchy-nvim/lua/plugins/disable-news-alert.lua new file mode 100644 index 0000000..5b3cd76 --- /dev/null +++ b/pkgbuilds/stable/omarchy-nvim/lua/plugins/disable-news-alert.lua @@ -0,0 +1,9 @@ +return { + "LazyVim/LazyVim", + opts = { + news = { + lazyvim = false, + neovim = false, + }, + }, +} diff --git a/pkgbuilds/stable/omarchy-nvim/lua/plugins/omarchy-theme-hotreload.lua b/pkgbuilds/stable/omarchy-nvim/lua/plugins/omarchy-theme-hotreload.lua new file mode 100644 index 0000000..054ff29 --- /dev/null +++ b/pkgbuilds/stable/omarchy-nvim/lua/plugins/omarchy-theme-hotreload.lua @@ -0,0 +1,91 @@ +return { + { + name = "theme-hotreload", + dir = vim.fn.stdpath("config"), + lazy = false, + priority = 1000, + config = function() + local transparency_file = vim.fn.stdpath("config") .. "/plugin/after/transparency.lua" + + vim.api.nvim_create_autocmd("User", { + pattern = "LazyReload", + callback = function() + -- Unload the theme module + package.loaded["plugins.theme"] = nil + + vim.schedule(function() + local ok, theme_spec = pcall(require, "plugins.theme") + if not ok then + return + end + + -- Find the theme plugin and unload it + local theme_plugin_name = nil + for _, spec in ipairs(theme_spec) do + if spec[1] and spec[1] ~= "LazyVim/LazyVim" then + theme_plugin_name = spec.name or spec[1] + break + end + end + + -- Clear all highlight groups before applying new theme + vim.cmd("highlight clear") + if vim.fn.exists("syntax_on") then + vim.cmd("syntax reset") + end + + -- Reset background to default so colorscheme can set it properly (light themes will set to light) + vim.o.background = "dark" + + -- Unload theme plugin modules to force full reload + if theme_plugin_name then + local plugin = require("lazy.core.config").plugins[theme_plugin_name] + if plugin then + -- Unload all lua modules from the plugin directory + local plugin_dir = plugin.dir .. "/lua" + require("lazy.core.util").walkmods(plugin_dir, function(modname) + package.loaded[modname] = nil + package.preload[modname] = nil + end) + end + end + + -- Find and apply the new colorscheme + for _, spec in ipairs(theme_spec) do + if spec[1] == "LazyVim/LazyVim" and spec.opts and spec.opts.colorscheme then + local colorscheme = spec.opts.colorscheme + + -- Load the colorscheme plugin + require("lazy.core.loader").colorscheme(colorscheme) + + vim.defer_fn(function() + -- Apply the colorscheme (it will set background itself) + pcall(vim.cmd.colorscheme, colorscheme) + + -- Force redraw to update all UI elements + vim.cmd("redraw!") + + -- Reload transparency settings + if vim.fn.filereadable(transparency_file) == 1 then + vim.defer_fn(function() + vim.cmd.source(transparency_file) + + -- Trigger UI updates for various plugins + vim.api.nvim_exec_autocmds("ColorScheme", { modeline = false }) + vim.api.nvim_exec_autocmds("VimEnter", { modeline = false }) + + -- Final redraw + vim.cmd("redraw!") + end, 5) + end + end, 5) + + break + end + end + end) + end, + }) + end, + }, +} diff --git a/pkgbuilds/stable/omarchy-nvim/lua/plugins/snacks-animated-scrolling-off.lua b/pkgbuilds/stable/omarchy-nvim/lua/plugins/snacks-animated-scrolling-off.lua new file mode 100644 index 0000000..cbb0a58 --- /dev/null +++ b/pkgbuilds/stable/omarchy-nvim/lua/plugins/snacks-animated-scrolling-off.lua @@ -0,0 +1,8 @@ +return { + "folke/snacks.nvim", + opts = { + scroll = { + enabled = false, -- Disable scrolling animations + }, + }, +} diff --git a/pkgbuilds/stable/omarchy-nvim/omarchy-nvim-setup b/pkgbuilds/stable/omarchy-nvim/omarchy-nvim-setup new file mode 100755 index 0000000..4c136c4 --- /dev/null +++ b/pkgbuilds/stable/omarchy-nvim/omarchy-nvim-setup @@ -0,0 +1,78 @@ +#!/bin/bash +# Setup script for omarchy-nvim +# This can be called from Omarchy setup scripts + +set -euo pipefail + +PACKAGE_DIR="/usr/share/omarchy-nvim" +CONFIG_DIR="${HOME}/.config/nvim" +DATA_DIR="${HOME}/.local/share/nvim" +STATE_DIR="${HOME}/.local/state/nvim" +CACHE_DIR="${HOME}/.cache/nvim" + +# Check if package is installed +if [[ ! -d "$PACKAGE_DIR" ]]; then + echo "Error: omarchy-nvim package not installed" + exit 1 +fi + +# Check if nvim config already exists +if [[ -d "$CONFIG_DIR" ]]; then + if gum confirm "$(echo -e "Neovim configuration already exists at $CONFIG_DIR.\nThis will create a backup and overwrite it. Continue?")"; then + # Backup existing config + BACKUP_DIR="${CONFIG_DIR}.backup.$(date +%Y%m%d-%H%M%S)" + echo "Backing up existing config to $BACKUP_DIR" + mv "$CONFIG_DIR" "$BACKUP_DIR" + else + echo "Setup cancelled." + exit 0 + fi +fi + +echo "Setting up Neovim configuration..." + +# Make sure everything is clear +rm -rf $DATA_DIR $CACHE_DIR $STATE_DIR + +# Create directories if needed +mkdir -p "$(dirname "$CONFIG_DIR")" +mkdir -p "$(dirname "$DATA_DIR")" + +# Copy files (cache will be regenerated on first use) +cp -r "$PACKAGE_DIR/config" "$CONFIG_DIR" +cp -r "$PACKAGE_DIR/data" "$DATA_DIR" + +# Ensure proper ownership of all nvim directories +chown -R "${USER}:${USER}" "$CONFIG_DIR" +chown -R "${USER}:${USER}" "$DATA_DIR" + +# Create link for current theme +ln -snf "${HOME}/.config/omarchy/current/theme/neovim.lua" "${CONFIG_DIR}/lua/plugins/theme.lua" + +# Restore git working trees +for dir in $DATA_DIR/lazy/*/; do + if [ -d "$dir/.git" ]; then + git --git-dir="$dir/.git" --work-tree="$dir" restore . + fi +done + +# Set nvim.desktop as default so it takes priority in Nautilus +xdg-mime default nvim.desktop text/plain +xdg-mime default nvim.desktop text/english +xdg-mime default nvim.desktop text/x-makefile +xdg-mime default nvim.desktop text/x-c++hdr +xdg-mime default nvim.desktop text/x-c++src +xdg-mime default nvim.desktop text/x-chdr +xdg-mime default nvim.desktop text/x-csrc +xdg-mime default nvim.desktop text/x-java +xdg-mime default nvim.desktop text/x-moc +xdg-mime default nvim.desktop text/x-pascal +xdg-mime default nvim.desktop text/x-tcl +xdg-mime default nvim.desktop text/x-tex +xdg-mime default nvim.desktop application/x-shellscript +xdg-mime default nvim.desktop text/x-c +xdg-mime default nvim.desktop text/x-c++ +xdg-mime default nvim.desktop application/xml +xdg-mime default nvim.desktop text/xml + +echo "Neovim setup complete!" diff --git a/pkgbuilds/stable/omarchy-nvim/plugin/after/transparency.lua b/pkgbuilds/stable/omarchy-nvim/plugin/after/transparency.lua new file mode 100644 index 0000000..d0090f0 --- /dev/null +++ b/pkgbuilds/stable/omarchy-nvim/plugin/after/transparency.lua @@ -0,0 +1,45 @@ +-- transparent background +vim.api.nvim_set_hl(0, "Normal", { bg = "none" }) +vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" }) +vim.api.nvim_set_hl(0, "FloatBorder", { bg = "none" }) +vim.api.nvim_set_hl(0, "Pmenu", { bg = "none" }) +vim.api.nvim_set_hl(0, "Terminal", { bg = "none" }) +vim.api.nvim_set_hl(0, "EndOfBuffer", { bg = "none" }) +vim.api.nvim_set_hl(0, "FoldColumn", { bg = "none" }) +vim.api.nvim_set_hl(0, "Folded", { bg = "none" }) +vim.api.nvim_set_hl(0, "SignColumn", { bg = "none" }) +vim.api.nvim_set_hl(0, "NormalNC", { bg = "none" }) +vim.api.nvim_set_hl(0, "WhichKeyFloat", { bg = "none" }) +vim.api.nvim_set_hl(0, "TelescopeBorder", { bg = "none" }) +vim.api.nvim_set_hl(0, "TelescopeNormal", { bg = "none" }) +vim.api.nvim_set_hl(0, "TelescopePromptBorder", { bg = "none" }) +vim.api.nvim_set_hl(0, "TelescopePromptTitle", { bg = "none" }) + +-- transparent background for neotree +vim.api.nvim_set_hl(0, "NeoTreeNormal", { bg = "none" }) +vim.api.nvim_set_hl(0, "NeoTreeNormalNC", { bg = "none" }) +vim.api.nvim_set_hl(0, "NeoTreeVertSplit", { bg = "none" }) +vim.api.nvim_set_hl(0, "NeoTreeWinSeparator", { bg = "none" }) +vim.api.nvim_set_hl(0, "NeoTreeEndOfBuffer", { bg = "none" }) + +-- transparent background for nvim-tree +vim.api.nvim_set_hl(0, "NvimTreeNormal", { bg = "none" }) +vim.api.nvim_set_hl(0, "NvimTreeVertSplit", { bg = "none" }) +vim.api.nvim_set_hl(0, "NvimTreeEndOfBuffer", { bg = "none" }) + +-- transparent notify background +vim.api.nvim_set_hl(0, "NotifyINFOBody", { bg = "none" }) +vim.api.nvim_set_hl(0, "NotifyERRORBody", { bg = "none" }) +vim.api.nvim_set_hl(0, "NotifyWARNBody", { bg = "none" }) +vim.api.nvim_set_hl(0, "NotifyTRACEBody", { bg = "none" }) +vim.api.nvim_set_hl(0, "NotifyDEBUGBody", { bg = "none" }) +vim.api.nvim_set_hl(0, "NotifyINFOTitle", { bg = "none" }) +vim.api.nvim_set_hl(0, "NotifyERRORTitle", { bg = "none" }) +vim.api.nvim_set_hl(0, "NotifyWARNTitle", { bg = "none" }) +vim.api.nvim_set_hl(0, "NotifyTRACETitle", { bg = "none" }) +vim.api.nvim_set_hl(0, "NotifyDEBUGTitle", { bg = "none" }) +vim.api.nvim_set_hl(0, "NotifyINFOBorder", { bg = "none" }) +vim.api.nvim_set_hl(0, "NotifyERRORBorder", { bg = "none" }) +vim.api.nvim_set_hl(0, "NotifyWARNBorder", { bg = "none" }) +vim.api.nvim_set_hl(0, "NotifyTRACEBorder", { bg = "none" }) +vim.api.nvim_set_hl(0, "NotifyDEBUGBorder", { bg = "none" }) diff --git a/pkgbuilds/stable/omarchy-walker/PKGBUILD b/pkgbuilds/stable/omarchy-walker/PKGBUILD new file mode 100644 index 0000000..923a7bb --- /dev/null +++ b/pkgbuilds/stable/omarchy-walker/PKGBUILD @@ -0,0 +1,24 @@ +pkgname=omarchy-walker +pkgver=1.0.0 +pkgrel=2 +pkgdesc='Meta package for walker with Elephant providers for Omarchy' +arch=('x86_64' 'aarch64') +url='https://omarchy.org' +license=('MIT') +options=('!debug') +depends=( + 'walker' + 'elephant' + 'elephant-bluetooth' + 'elephant-calc' + 'elephant-clipboard' + 'elephant-desktopapplications' + 'elephant-files' + 'elephant-menus' + 'elephant-providerlist' + 'elephant-runner' + 'elephant-symbols' + 'elephant-todo' + 'elephant-unicode' + 'elephant-websearch' +) diff --git a/pkgbuilds/stable/omarchy-zsh/PKGBUILD b/pkgbuilds/stable/omarchy-zsh/PKGBUILD new file mode 100644 index 0000000..38c65b6 --- /dev/null +++ b/pkgbuilds/stable/omarchy-zsh/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Ryan Hughes + +pkgname=omarchy-zsh +pkgver=1.2.0 +pkgrel=1 +pkgdesc="Omarchy shell configuration for Zsh" +arch=('any') +url="https://github.com/omacom-io/omarchy-zsh" +license=('MIT') +depends=('zsh' 'eza' 'mise' 'zoxide' 'starship' 'fzf' 'fd' 'bat') +options=('!debug') +install=omarchy-zsh.install +source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz") +sha256sums=('d99d0ed0a07bf0d5043b0faef94bb8ce4dddf8cb1229dc364d5701e11af6a4a5') + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + # Install config files, functions, templates, and documentation + install -dm755 "${pkgdir}/usr/share/${pkgname}" + cp -r conf.d functions templates LICENSE README.md "${pkgdir}/usr/share/${pkgname}/" + + # Install setup script + install -Dm755 bin/omarchy-setup-zsh "${pkgdir}/usr/bin/omarchy-setup-zsh" +} diff --git a/pkgbuilds/stable/omarchy-zsh/omarchy-zsh.install b/pkgbuilds/stable/omarchy-zsh/omarchy-zsh.install new file mode 100644 index 0000000..80fd875 --- /dev/null +++ b/pkgbuilds/stable/omarchy-zsh/omarchy-zsh.install @@ -0,0 +1,14 @@ +post_install() { + echo "==> omarchy-zsh installed successfully!" + echo "" + echo "==> To run zsh from bash:" + echo " zsh" + echo "" + echo "==> To set as default shell:" + echo " omarchy-setup-zsh" +} + +post_remove() { + echo "==> omarchy-zsh has been removed" + echo "==> To restore bash, copy a backup to ~/.bashrc" +} diff --git a/pkgbuilds/stable/pinta/.SRCINFO b/pkgbuilds/stable/pinta/.SRCINFO new file mode 100644 index 0000000..a4d8dea --- /dev/null +++ b/pkgbuilds/stable/pinta/.SRCINFO @@ -0,0 +1,27 @@ +pkgbase = pinta + pkgdesc = Drawing/editing program modeled after Paint.NET. It's goal is to provide a simplified alternative to GIMP for casual users + pkgver = 3.1.1 + pkgrel = 2 + url = https://pinta-project.com + arch = any + license = MIT + makedepends = pkgconf + makedepends = autoconf-archive + makedepends = intltool + makedepends = dotnet-sdk + makedepends = dotnet-runtime + makedepends = dotnet-host + makedepends = dotnet-targeting-pack + makedepends = gtk4 + makedepends = perl + depends = dotnet-runtime + depends = dotnet-host + depends = libadwaita + depends = hicolor-icon-theme + depends = webp-pixbuf-loader + provides = pinta + conflicts = pinta-git + source = Pinta-3.1.1.tar.gz::https://github.com/PintaProject/Pinta/archive/refs/tags/3.1.1.tar.gz + sha256sums = 284feb187646d24e2d0449308352bc3588c159dc374365185432008873868371 + +pkgname = pinta diff --git a/pkgbuilds/stable/pinta/.gitignore b/pkgbuilds/stable/pinta/.gitignore new file mode 100644 index 0000000..3dbe83f --- /dev/null +++ b/pkgbuilds/stable/pinta/.gitignore @@ -0,0 +1,5 @@ +* +!.gitignore +!.nvchecker.toml +!PKGBUILD +!.SRCINFO diff --git a/pkgbuilds/stable/pinta/.nvchecker.toml b/pkgbuilds/stable/pinta/.nvchecker.toml new file mode 100644 index 0000000..3c0b0a7 --- /dev/null +++ b/pkgbuilds/stable/pinta/.nvchecker.toml @@ -0,0 +1,4 @@ +["pinta"] +source = "github" +github = "PintaProject/Pinta" +use_latest_release = true diff --git a/pkgbuilds/stable/pinta/PKGBUILD b/pkgbuilds/stable/pinta/PKGBUILD new file mode 100644 index 0000000..5716313 --- /dev/null +++ b/pkgbuilds/stable/pinta/PKGBUILD @@ -0,0 +1,46 @@ +# Maintainer: Rafael Baboni Dominiquini + +pkgname=pinta +pkgver=3.1.1 +pkgrel=2 +pkgdesc="Drawing/editing program modeled after Paint.NET. It's goal is to provide a simplified alternative to GIMP for casual users" +arch=(any) +url="https://pinta-project.com" +license=(MIT) +depends=(dotnet-runtime dotnet-host libadwaita hicolor-icon-theme webp-pixbuf-loader) +makedepends=(pkgconf autoconf-archive intltool dotnet-sdk dotnet-runtime dotnet-host dotnet-targeting-pack gtk4 perl) +provides=($pkgname) +conflicts=($pkgname-git) +source=("Pinta-${pkgver}.tar.gz::https://github.com/PintaProject/Pinta/archive/refs/tags/${pkgver}.tar.gz") +sha256sums=('284feb187646d24e2d0449308352bc3588c159dc374365185432008873868371') + +prepare() { + cd "${srcdir}/Pinta-${pkgver}" + + for file in *.md *.txt; do + basename=$(tr '[:lower:]' '[:upper:]' <<< "${file%.*}") + newname="$basename.${file#*.}" + [ ! "$file" == "$newname" ] && mv "$file" "$newname" + done + + sed -i 's/net8.0/net10.0/g' Directory.Build.props + + ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var +} + +build() { + cd "${srcdir}/Pinta-${pkgver}" + + make +} + +package() { + cd "${srcdir}/Pinta-${pkgver}" + + make DESTDIR="${pkgdir}" install + + chmod -v 755 "${pkgdir}/usr/lib/pinta/"*.dll + + install -Dm644 -t "${pkgdir}/usr/share/doc/${pkgname}/" *.md + install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}/" LICENSE*.txt +} diff --git a/pkgbuilds/stable/signal-desktop/.SRCINFO b/pkgbuilds/stable/signal-desktop/.SRCINFO new file mode 100644 index 0000000..599c70c --- /dev/null +++ b/pkgbuilds/stable/signal-desktop/.SRCINFO @@ -0,0 +1,59 @@ +pkgbase = signal-desktop + pkgdesc = Signal Private Messenger for Linux + pkgver = 7.77.1 + pkgrel = 1 + url = https://signal.org + arch = x86_64 + license = AGPL-3.0-only + makedepends = git + makedepends = git-lfs + makedepends = libxcrypt-compat + makedepends = node-gyp + makedepends = nodejs-lts-jod + makedepends = pnpm + makedepends = python + depends = alsa-lib + depends = libasound.so + depends = at-spi2-core + depends = libatk-bridge-2.0.so + depends = cairo + depends = libcairo.so + depends = dbus + depends = libdbus-1.so + depends = expat + depends = libexpat.so + depends = gcc-libs + depends = glib2 + depends = libgio-2.0.so + depends = glibc + depends = gtk3 + depends = hicolor-icon-theme + depends = libcups + depends = libdrm + depends = libnotify + depends = libpulse + depends = libx11 + depends = libxcb + depends = libxcomposite + depends = libxdamage + depends = libxext + depends = libxfixes + depends = libxkbcommon + depends = libxkbcommon.so + depends = libxrandr + depends = mesa + depends = nspr + depends = nss + depends = pango + depends = libpango-1.0.so + depends = systemd-libs + depends = libudev.so + optdepends = xdg-desktop-portal: Screensharing with Wayland + source = signal-desktop-7.77.1.tar.gz::https://github.com/signalapp/Signal-Desktop/archive/v7.77.1.tar.gz + source = signal-desktop.desktop + sha256sums = 5aae71e9b3ef88bb0499f96295e92d576ba8b6b6d2fe8ac90349fb589882d0dd + sha256sums = bf388df4b5bbcab5559ebbf220ed4748ed21b057f24b5ff46684e3fe6e88ccce + b2sums = dda49421e7d8f5f906b92a228e50c0081c73c6b6259b20959eeeb9d9f960a1ab74890c9e725c68b56d9c60537a82633af033b8e59aae52c79f2b7289601ba294 + b2sums = ffb8f7bab4fd84aacf13e7b6d2835daf449b6650b4b3fa723456792ba7fb6cae352928fea11cb030510d558ce30036ff5a1513444f067b94c7fff0158b4f2265 + +pkgname = signal-desktop diff --git a/pkgbuilds/stable/signal-desktop/.nvchecker.toml b/pkgbuilds/stable/signal-desktop/.nvchecker.toml new file mode 100644 index 0000000..3f050c4 --- /dev/null +++ b/pkgbuilds/stable/signal-desktop/.nvchecker.toml @@ -0,0 +1,5 @@ +[signal-desktop] +source = "github" +github = "signalapp/signal-desktop" +prefix = "v" +use_latest_release = true diff --git a/pkgbuilds/stable/signal-desktop/LICENSE b/pkgbuilds/stable/signal-desktop/LICENSE new file mode 100644 index 0000000..b87c5e4 --- /dev/null +++ b/pkgbuilds/stable/signal-desktop/LICENSE @@ -0,0 +1,12 @@ +Copyright Arch Linux Contributors + +Permission to use, copy, modify, and/or distribute this software for +any purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL +WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES +OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE +FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY +DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN +AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT +OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff --git a/pkgbuilds/stable/signal-desktop/LICENSES/0BSD.txt b/pkgbuilds/stable/signal-desktop/LICENSES/0BSD.txt new file mode 120000 index 0000000..ea5b606 --- /dev/null +++ b/pkgbuilds/stable/signal-desktop/LICENSES/0BSD.txt @@ -0,0 +1 @@ +../LICENSE \ No newline at end of file diff --git a/pkgbuilds/stable/signal-desktop/PKGBUILD b/pkgbuilds/stable/signal-desktop/PKGBUILD new file mode 100644 index 0000000..c61fa48 --- /dev/null +++ b/pkgbuilds/stable/signal-desktop/PKGBUILD @@ -0,0 +1,126 @@ +# Maintainer: kpcyrd +# Maintainer: Christian Heusel +# Contributor: Jean Lucas + +pkgname=signal-desktop +_pkgname=Signal-Desktop +pkgver=7.77.1 +pkgrel=1 +pkgdesc="Signal Private Messenger for Linux" +license=('AGPL-3.0-only') +arch=('aarch64') # Only for aarch64 - already in Arch extra repo for x86_64 +url="https://signal.org" +depends=( + 'alsa-lib' 'libasound.so' + 'at-spi2-core' 'libatk-bridge-2.0.so' + 'cairo' 'libcairo.so' + 'dbus' 'libdbus-1.so' + 'expat' 'libexpat.so' + 'gcc-libs' + 'glib2' 'libgio-2.0.so' + 'glibc' + 'gtk3' + 'hicolor-icon-theme' + 'libcups' + 'libdrm' + 'libnotify' + 'libpulse' + 'libx11' + 'libxcb' + 'libxcomposite' + 'libxdamage' + 'libxext' + 'libxfixes' + 'libxkbcommon' 'libxkbcommon.so' + 'libxrandr' + 'mesa' + 'nspr' + 'nss' + 'pango' 'libpango-1.0.so' + 'systemd-libs' 'libudev.so' +) +makedepends=( + 'git' + 'git-lfs' + 'libxcrypt-compat' + 'node-gyp' + 'nodejs-lts-jod' + 'pnpm' + 'python' +) +optdepends=('xdg-desktop-portal: Screensharing with Wayland') +source=( + "${pkgname}-${pkgver}.tar.gz::https://github.com/signalapp/${_pkgname}/archive/v${pkgver}.tar.gz" + "${pkgname}.desktop" +) +sha256sums=('5aae71e9b3ef88bb0499f96295e92d576ba8b6b6d2fe8ac90349fb589882d0dd' + 'bf388df4b5bbcab5559ebbf220ed4748ed21b057f24b5ff46684e3fe6e88ccce') +b2sums=('dda49421e7d8f5f906b92a228e50c0081c73c6b6259b20959eeeb9d9f960a1ab74890c9e725c68b56d9c60537a82633af033b8e59aae52c79f2b7289601ba294' + 'ffb8f7bab4fd84aacf13e7b6d2835daf449b6650b4b3fa723456792ba7fb6cae352928fea11cb030510d558ce30036ff5a1513444f067b94c7fff0158b4f2265') + +prepare() { + cd "${_pkgname}-${pkgver}" + + # git-lfs hook needs to be installed for one of the dependencies + git lfs install + + # Allow higher Node versions + sed 's#"node": "#&>=#' -i package.json + + # Disable .deb packaging to avoid fpm architecture mismatch in cross-compilation + # electron-builder will still create the unpacked directory we need for packaging + # Use node to properly modify the JSON structure + node -e " + const fs = require('fs'); + const pkg = JSON.parse(fs.readFileSync('package.json', 'utf8')); + if (pkg.build && pkg.build.linux && pkg.build.linux.target) { + pkg.build.linux.target = ['dir']; + fs.writeFileSync('package.json', JSON.stringify(pkg, null, 2) + '\n'); + console.log('Modified package.json to use dir target only'); + } + " + + # Install dependencies for sticker-creator + pnpm --prefix ./sticker-creator/ install + + # Install dependencies for signal-desktop + pnpm install +} + +build() { + cd "${_pkgname}-${pkgver}" + + # Build the sticker creator + pnpm --prefix ./sticker-creator/ run build + + # Build signal-desktop + pnpm run build +} + +package() { + cd "${_pkgname}-${pkgver}" + + # Determine the architecture-specific directory + case "${CARCH}" in + x86_64) + _releasedir="release/linux-unpacked" + ;; + aarch64) + _releasedir="release/linux-arm64-unpacked" + ;; + esac + + install -d "${pkgdir}/usr/"{lib,bin} + cp -a "${_releasedir}" "${pkgdir}/usr/lib/${pkgname}" + ln -s "/usr/lib/${pkgname}/${pkgname}" "${pkgdir}/usr/bin/" + + chmod u+s "${pkgdir}/usr/lib/signal-desktop/chrome-sandbox" + + install -Dm 644 "../${pkgname}.desktop" -t "${pkgdir}/usr/share/applications" + for i in 16 24 32 48 64 128 256 512 1024; do + install -Dm 644 "build/icons/png/${i}x${i}.png" \ + "${pkgdir}/usr/share/icons/hicolor/${i}x${i}/apps/${pkgname}.png" + done +} + +# vim: ts=2 sw=2 et: diff --git a/pkgbuilds/stable/signal-desktop/REUSE.toml b/pkgbuilds/stable/signal-desktop/REUSE.toml new file mode 100644 index 0000000..2a8da8b --- /dev/null +++ b/pkgbuilds/stable/signal-desktop/REUSE.toml @@ -0,0 +1,23 @@ +version = 1 + +[[annotations]] +path = [ + "PKGBUILD", + "README.md", + "keys/**", + ".SRCINFO", + ".nvchecker.toml", + "*.install", + "*.sysusers", + "*.tmpfiles", + "*.logrotate", + "*.pam", + "*.service", + "*.socket", + "*.timer", + "*.desktop", + "*.hook", + "TRADEMARK_CONSENT.txt", +] +SPDX-FileCopyrightText = "Arch Linux contributors" +SPDX-License-Identifier = "0BSD" diff --git a/pkgbuilds/stable/signal-desktop/TRADEMARK_CONSENT.txt b/pkgbuilds/stable/signal-desktop/TRADEMARK_CONSENT.txt new file mode 100644 index 0000000..ce1f9de --- /dev/null +++ b/pkgbuilds/stable/signal-desktop/TRADEMARK_CONSENT.txt @@ -0,0 +1,187 @@ +Return-Path: aruna@signal.org +Delivered-To: kpcyrd@rxv.cc +Received: from orion.archlinux.org (orion.archlinux.org [88.198.91.70]) + by mail.rxv.cc (OpenSMTPD) with ESMTPS id 20277d00 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) + for ; + Tue, 7 Jan 2020 18:20:28 +0000 (UTC) +Received: from orion.archlinux.org (localhost [127.0.0.1]) + by orion.archlinux.org (Postfix) with ESMTP id AB67717EC9F8AC + for ; Tue, 7 Jan 2020 18:20:23 +0000 (UTC) +X-Spam-Checker-Version: SpamAssassin 3.4.3 (2019-12-06) on orion.archlinux.org +X-Spam-Level: +X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00=-1,DKIM_SIGNED=0.1, + DKIM_VALID=-0.1,DKIM_VALID_AU=-0.1,HTML_MESSAGE=0.001, + LOCAL_FAKEBUSINESS=0.5,RCVD_IN_DNSWL_NONE=-0.0001,SPF_HELO_NONE=0.001, + T_DMARC_POLICY_NONE=0.01 autolearn=no autolearn_force=no version=3.4.3 +X-Spam-BL-Results: + [127.0.5.0] +Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) + (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) + key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) + (No client certificate requested) + by orion.archlinux.org (Postfix) with ESMTPS + for ; Tue, 7 Jan 2020 18:20:23 +0000 (UTC) +Received: by mail-ed1-x531.google.com with SMTP id b8so383435edx.7 + for ; Tue, 07 Jan 2020 10:20:23 -0800 (PST) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=signal.org; s=google; + h=mime-version:references:in-reply-to:from:date:message-id:subject:to; + bh=bSFjfcgPZhi0DEnSAuOFA+jYWeb26nFDHmCc2toMM1U=; + b=B7BgoISRirE9NVUMI3pKSDzMirKsxQ7+BN5JJk/WlgHEZ+anP6uIaXLUIcxzjfc8d6 + qdHdD1UsUdqHgbwXiE2KeZdTAtIoy80lQUDzjQZRTORfOVgQtgelvwq7d8N8EFy2jfik + K/QOU8pN+NSqsNTw6rZyATa6y1c3OSaxRkJ/I= +X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=1e100.net; s=20161025; + h=x-gm-message-state:mime-version:references:in-reply-to:from:date + :message-id:subject:to; + bh=bSFjfcgPZhi0DEnSAuOFA+jYWeb26nFDHmCc2toMM1U=; + b=YzxIQxXMSHyuIUMo/XiKE4Q4Yo070VgbsWV57e8hWI4vZIQKN3490bAkt0XlGR+bQv + ozPh35v8AjOJ9DSBWOtWriZdB3k05pV+Y/Pu44bmMWE/ThF9eFHZomhHkKOyFdgWpQjT + ffOM39d3DpMY/gTi083CMstFmYtpjYcxTMMTfD6vXtaIBivBUqq5S9shFiwUNEIPQZPy + 2DS+NCRi62/8NzIZlXkbeWLmBzTgyEjR7H4DPKHuvxAjDIYfdF3kAnVVBrqvxbQ+VKRu + 3Cw4cla6HZq4npO82NPTzYBNZzZfdsypoWLjmopDxdEX+9aEFACOHoCgfQGUPjsaMe5O + 7cnQ== +X-Gm-Message-State: APjAAAWXyDg/5THr46Vg5hniOGGHZ/OgYqnBSnmU97hgIZTUbnXhkO3B + RW7cMtIUVxuPUz3DUzeeD/7An/HIl1DpIgePlalM41ZfST8= +X-Google-Smtp-Source: APXvYqxh9T/e1HyKnOSFhjFW3jhiuhEBWF0NhnTDGALsoZHz/wcEaRca9g8sqmsHLAN4Nfu/BE6+mYbuE5F0Ja2LW6g= +X-Received: by 2002:a50:ed94:: with SMTP id h20mr1236027edr.17.1578421222932; + Tue, 07 Jan 2020 10:20:22 -0800 (PST) +MIME-Version: 1.0 +References: +In-Reply-To: +From: Aruna Harder +Date: Tue, 7 Jan 2020 10:19:54 -0800 +Message-ID: +Subject: Re: distributing Signal Desktop +To: kpcyrd@archlinux.org +Content-Type: multipart/alternative; boundary="0000000000004c9813059b90d4b0" + +--0000000000004c9813059b90d4b0 +Content-Type: text/plain; charset="UTF-8" + +Hello, + +I consulted with our attorney and despite the language in our Terms of +Service related to various IP rights, the Signal code is explicitly +licensed under GPLv3. As long as your company complies with the GPLv3, your +use and distribution of Signal Desktop is explicitly permitted under GPLv3. + +We do ask that you use reasonable efforts to make timely updates to your +repository to the most current version of Signal as it becomes available. + +Please let me know if you have any questions. All the best to you and your +organization. + +Thanks. +-aruna + +Aruna Harder +Signal Messenger + +On Mon, Jan 6, 2020 at 9:38 AM Aruna Harder wrote: + +> Hello, +> +> Moxie forwarded your message to me about distributing Signal Desktop +> (copied here). I will get an agreement to you in the next few days. We +> would like to ensure you are always distributing the latest Signal code, +> for obvious reasons - e.g. to ensure latest fixes to known issues are +> addressed, etc. What is a reasonable timeframe to have latest Signal +> Desktop releases incorporated into your package? +> +> Thanks. +> -aruna +> +> Aruna Harder +> Signal +> +> ================================================== +> +> Date: Tue, 31 Dec 2019 17:48:24 +0000 +> From: kpcyrd +> To: moxie@thoughtcrime.org +> Subject: Grant Trademark Use to Arch Linux +> +> ohai! +> +> I'm reaching out to you because I'm looking into distributing +> signal-desktop as an official Arch Linux package. While the GPLv3 +> license works great for us we noticed this in the Terms and Conditions: +> +> > Signal's Rights. [...] You may not use our copyrights, trademarks, +> > domains, logos, trade dress, patents, and other intellectual property +> > rights unless you have our written permission. [...] +> +> This is similar to firefox (which we distribute) but more strictly +> worded so we need to ask you to please send us a written permission to +> distribute signal-desktop in the Arch Linux repositories. +> +> We did this before for discord[1] and teamspeak[2]. +> +> [1]: +> +> https://git.archlinux.org/svntogit/community.git/tree/trunk/Permission_to_Distribute.mbox?h=packages/discord +> [2]: +> +> https://git.archlinux.org/svntogit/community.git/tree/trunk/PERMISSION.eml?h=packages/teamspeak3 +> +> If you wish you may send it to kpcyrd@archlinux.org +> +> Thank you very much +> + +--0000000000004c9813059b90d4b0 +Content-Type: text/html; charset="UTF-8" +Content-Transfer-Encoding: quoted-printable + +
Hello,=C2=A0

I consulted with our attor= +ney and despite the language in our Terms of Service related to various IP = +rights,=C2=A0the Signal code is explicitly licensed under GPLv3. As long as= + your company complies with the GPLv3, your use and distribution of Signal = +Desktop is explicitly permitted under GPLv3.=C2=A0

We do ask that you use reasonable efforts to make timely updates to your r= +epository to the most current version of Signal as it becomes available.=C2= +=A0

Please let me know if you have any questions. = +All the best to you and your organization.=C2=A0

T= +hanks.
-aruna

Aruna Harder
Sig= +nal=C2=A0Messenger

On Mon, Jan 6, 2020 at 9:38 AM Aruna Harder <aruna@signal.org> wrote:
<= +blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-l= +eft:1px solid rgb(204,204,204);padding-left:1ex">
Hell= +o,=C2=A0

Moxie forwarded your message to me about = +distributing Signal Desktop (copied here). I will get an agreement to you i= +n the next few days. We would like to ensure you are always=C2=A0distributi= +ng the latest Signal code, for obvious=C2=A0reasons - e.g. to ensure latest= + fixes to known issues are addressed, etc. What is a reasonable timeframe t= +o have latest Signal Desktop releases incorporated into your package?=C2=A0= +

Thanks.=C2=A0
-aruna

Aruna Harder
Signal=C2=A0

=3D=3D=3D=3D= +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

Da= +te: Tue, 31 Dec 2019 17:48:24 +0000
From: kpcyrd <kpcyrd@rxv.cc>To:=C2=A0moxie@thoughtcrime.org
Subject: Grant Trademark Use t= +o Arch Linux

ohai!

I'm reaching out to you because I'= +m looking into distributing
signal-desktop as an official Arch Linux pac= +kage. While the GPLv3
license works great for us we noticed this in the = +Terms and Conditions:

> Signal's Rights. [...] You may not us= +e our copyrights, trademarks,
> domains, logos, trade dress, patents,= + and other intellectual property
> rights unless you have our written= + permission. [...]

This is similar to firefox (which we distribute) = +but more strictly
worded so we need to ask you to please send us a writt= +en permission to
distribute signal-desktop in the Arch Linux repositorie= +s.

We did this before for discord[1] and teamspeak[2].

[1]:https://git.archlinux.org/svntogit/community.git/tre= +e/trunk/Permission_to_Distribute.mbox?h=3Dpackages/discord
[2]:
<= +a href=3D"https://git.archlinux.org/svntogit/community.git/tree/trunk/PERMI= +SSION.eml?h=3Dpackages/teamspeak3" rel=3D"noreferrer noreferrer" target=3D"= +_blank">https://git.archlinux.org/svntogit/community.git/tree/trunk/PERMISS= +ION.eml?h=3Dpackages/teamspeak3

If you wish you may send it to= +=C2=A0kpcyrd@archlinux.org

Thank you very much
+
+ +--0000000000004c9813059b90d4b0-- diff --git a/pkgbuilds/stable/signal-desktop/patches/aarch64.patch b/pkgbuilds/stable/signal-desktop/patches/aarch64.patch new file mode 100644 index 0000000..ee8e6a7 --- /dev/null +++ b/pkgbuilds/stable/signal-desktop/patches/aarch64.patch @@ -0,0 +1,53 @@ +diff --git a/PKGBUILD b/PKGBUILD +index 98e2b17..c61fa48 100644 +--- a/PKGBUILD ++++ b/PKGBUILD +@@ -8,7 +8,7 @@ pkgver=7.77.1 + pkgrel=1 + pkgdesc="Signal Private Messenger for Linux" + license=('AGPL-3.0-only') +-arch=('x86_64') ++arch=('aarch64') # Only for aarch64 - already in Arch extra repo for x86_64 + url="https://signal.org" + depends=( + 'alsa-lib' 'libasound.so' +@@ -67,6 +67,19 @@ prepare() { + # Allow higher Node versions + sed 's#"node": "#&>=#' -i package.json + ++ # Disable .deb packaging to avoid fpm architecture mismatch in cross-compilation ++ # electron-builder will still create the unpacked directory we need for packaging ++ # Use node to properly modify the JSON structure ++ node -e " ++ const fs = require('fs'); ++ const pkg = JSON.parse(fs.readFileSync('package.json', 'utf8')); ++ if (pkg.build && pkg.build.linux && pkg.build.linux.target) { ++ pkg.build.linux.target = ['dir']; ++ fs.writeFileSync('package.json', JSON.stringify(pkg, null, 2) + '\n'); ++ console.log('Modified package.json to use dir target only'); ++ } ++ " ++ + # Install dependencies for sticker-creator + pnpm --prefix ./sticker-creator/ install + +@@ -87,8 +100,18 @@ build() { + package() { + cd "${_pkgname}-${pkgver}" + ++ # Determine the architecture-specific directory ++ case "${CARCH}" in ++ x86_64) ++ _releasedir="release/linux-unpacked" ++ ;; ++ aarch64) ++ _releasedir="release/linux-arm64-unpacked" ++ ;; ++ esac ++ + install -d "${pkgdir}/usr/"{lib,bin} +- cp -a release/linux-unpacked "${pkgdir}/usr/lib/${pkgname}" ++ cp -a "${_releasedir}" "${pkgdir}/usr/lib/${pkgname}" + ln -s "/usr/lib/${pkgname}/${pkgname}" "${pkgdir}/usr/bin/" + + chmod u+s "${pkgdir}/usr/lib/signal-desktop/chrome-sandbox" diff --git a/pkgbuilds/stable/signal-desktop/signal-desktop.desktop b/pkgbuilds/stable/signal-desktop/signal-desktop.desktop new file mode 100644 index 0000000..b9edaa0 --- /dev/null +++ b/pkgbuilds/stable/signal-desktop/signal-desktop.desktop @@ -0,0 +1,13 @@ +[Desktop Entry] +Type=Application +Name=Signal +Comment=Signal - Private Messenger +Comment[de]=Signal - Sicherer Messenger +Icon=signal-desktop +Exec=signal-desktop -- %u +Terminal=false +Categories=Network;InstantMessaging; +StartupWMClass=signal +MimeType=x-scheme-handler/sgnl;x-scheme-handler/signalcaptcha; +Keywords=sgnl;chat;im;messaging;messenger;security;privat; +X-GNOME-UsesNotifications=true diff --git a/pkgbuilds/stable/supergfxctl/PKGBUILD b/pkgbuilds/stable/supergfxctl/PKGBUILD new file mode 100644 index 0000000..7767218 --- /dev/null +++ b/pkgbuilds/stable/supergfxctl/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Gregory Land +# Contributor: Fabian Bornschein + +pkgname=supergfxctl +pkgver=5.2.7 +pkgrel=2 +pkgdesc="A utility for Linux graphics switching on Intel/AMD iGPU + nVidia dGPU laptops" +arch=('x86_64') +url="https://gitlab.com/asus-linux/supergfxctl" +license=('MPL-2.0') +depends=('gcc-libs' 'systemd' 'lsof') +makedepends=('rust') +provides=('supergfxctl') +conflicts=('supergfxctl-git' + 'optimus-manager') +source=("https://gitlab.com/asus-linux/supergfxctl/-/archive/$pkgver/supergfxctl-$pkgver.tar.gz") +sha512sums=('bd94646d289c9f3398e1bf2a189554ac60d4db2d4d2cefddc0b342e8a128d4682e20268e0b1f9b168441136ada0b6fadb097a5a35d1023a77528dbf0540de3af') +options=(!debug) +_gitdir=${pkgname%"-git"} + +build() { + cd "$pkgname-$pkgver" + make build +} + +package() { + cd "$pkgname-$pkgver" + make DESTDIR="$pkgdir" install +} diff --git a/pkgbuilds/stable/tobi-try/PKGBUILD b/pkgbuilds/stable/tobi-try/PKGBUILD new file mode 100644 index 0000000..8e9d65c --- /dev/null +++ b/pkgbuilds/stable/tobi-try/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: dhh + +pkgname='tobi-try' +pkgver=0.1.0 +_subver=c3693e31e59357ea687a4b3ef0ac937ff653cc93 +pkgrel=1 +pkgdesc='Fresh directories for every vibe.' +url='https://github.com/tobi/try' +arch=('aarch64' 'x86_64') +license=('MIT') +depends=('ruby') +provides=('try') +conflicts=('try') +options=('!debug') + +source=("try-${pkgver}.rb::https://raw.githubusercontent.com/tobi/try/${_subver}/try.rb") +sha256sums=('41ad73efb031fbd197af2f5bff74a2f6865d4764816ed070cb4b918820d246b6') + +build() { + cd "${srcdir}" + + # Ensure shebang points to system Ruby (so no mise conflicts) + sed -i '1c#!/usr/bin/ruby' "try-${pkgver}.rb" +} + +package() { + install -Dm755 "${srcdir}/try-${pkgver}.rb" "${pkgdir}/usr/bin/try" +} diff --git a/pkgbuilds/stable/ttf-ia-writer/.SRCINFO b/pkgbuilds/stable/ttf-ia-writer/.SRCINFO new file mode 100644 index 0000000..f563259 --- /dev/null +++ b/pkgbuilds/stable/ttf-ia-writer/.SRCINFO @@ -0,0 +1,44 @@ +pkgbase = ttf-ia-writer + pkgdesc = Subset of the fonts provided by iA Writer + pkgver = 20181225 + pkgrel = 1 + url = https://github.com/iaolo/iA-Fonts + arch = any + license = custom:OFL + provides = ttf-ia-writer-duospace + conflicts = ttf-ia-writer-duospace + source = https://github.com/iaolo/iA-Fonts/raw/b337fe1a4c93026268f70e4b2678371f3e89e2ce//iA%20Writer%20Mono/Static/iAWriterMonoS-Bold.ttf + source = https://github.com/iaolo/iA-Fonts/raw/b337fe1a4c93026268f70e4b2678371f3e89e2ce//iA%20Writer%20Mono/Static/iAWriterMonoS-BoldItalic.ttf + source = https://github.com/iaolo/iA-Fonts/raw/b337fe1a4c93026268f70e4b2678371f3e89e2ce//iA%20Writer%20Mono/Static/iAWriterMonoS-Italic.ttf + source = https://github.com/iaolo/iA-Fonts/raw/b337fe1a4c93026268f70e4b2678371f3e89e2ce//iA%20Writer%20Mono/Static/iAWriterMonoS-Regular.ttf + source = https://github.com/iaolo/iA-Fonts/raw/b337fe1a4c93026268f70e4b2678371f3e89e2ce//iA%20Writer%20Quattro/Static/iAWriterQuattroS-Bold.ttf + source = https://github.com/iaolo/iA-Fonts/raw/b337fe1a4c93026268f70e4b2678371f3e89e2ce//iA%20Writer%20Quattro/Static/iAWriterQuattroS-BoldItalic.ttf + source = https://github.com/iaolo/iA-Fonts/raw/b337fe1a4c93026268f70e4b2678371f3e89e2ce//iA%20Writer%20Quattro/Static/iAWriterQuattroS-Italic.ttf + source = https://github.com/iaolo/iA-Fonts/raw/b337fe1a4c93026268f70e4b2678371f3e89e2ce//iA%20Writer%20Quattro/Static/iAWriterQuattroS-Regular.ttf + source = https://github.com/iaolo/iA-Fonts/raw/b337fe1a4c93026268f70e4b2678371f3e89e2ce//iA%20Writer%20Duo/Static/iAWriterDuoS-Bold.ttf + source = https://github.com/iaolo/iA-Fonts/raw/b337fe1a4c93026268f70e4b2678371f3e89e2ce//iA%20Writer%20Duo/Static/iAWriterDuoS-BoldItalic.ttf + source = https://github.com/iaolo/iA-Fonts/raw/b337fe1a4c93026268f70e4b2678371f3e89e2ce//iA%20Writer%20Duo/Static/iAWriterDuoS-Italic.ttf + source = https://github.com/iaolo/iA-Fonts/raw/b337fe1a4c93026268f70e4b2678371f3e89e2ce//iA%20Writer%20Duo/Static/iAWriterDuoS-Regular.ttf + source = https://github.com/iaolo/iA-Fonts/raw/b337fe1a4c93026268f70e4b2678371f3e89e2ce//iA%20Writer%20Duospace/TTF%20(PC)/iAWriterDuospace-Bold.ttf + source = https://github.com/iaolo/iA-Fonts/raw/b337fe1a4c93026268f70e4b2678371f3e89e2ce//iA%20Writer%20Duospace/TTF%20(PC)/iAWriterDuospace-BoldItalic.ttf + source = https://github.com/iaolo/iA-Fonts/raw/b337fe1a4c93026268f70e4b2678371f3e89e2ce//iA%20Writer%20Duospace/TTF%20(PC)/iAWriterDuospace-Italic.ttf + source = https://github.com/iaolo/iA-Fonts/raw/b337fe1a4c93026268f70e4b2678371f3e89e2ce//iA%20Writer%20Duospace/TTF%20(PC)/iAWriterDuospace-Regular.ttf + sha512sums = 3334653927758b8bf1336a7954191df71bb5d660196c6a61a31aeb0a50480bf48c0fb39ec2e17d211c754f16433a8051c300c21dc2fd1b46f117c837d4d89f02 + sha512sums = 994cb5a8e9bc2d7cd79ae08816ed5f631aafcc293559195b26105eaa44f1c8843265e80064e324b2cbf141f125d0dafdf3dcd99de7da5dc954f4e08243c68df4 + sha512sums = e0d189ea1ca7feb04d9ade3232266e944a4ec7747754c01e3fb8d4d10afdafa739037d76d67e7636a7b1e45da3b9a935d8fa644813d97b07e75c1eb049e9eb1e + sha512sums = 837defdaef7fb5252b33c5a770e78ef655666c86a5891aa6b92e6b540167a834d1b79b444fb58bdd33c83b93bcce0e68ea60c99875c73cd2964b79b12b5e104e + sha512sums = 386eb2ad45c8b1126cbe15d8ace870f409f6ebb8393fa9e788e75ac5cee9de2bfd67d6cf55647abb52361daa7c0a4b2d2a63cfe651bfda99f6c1b9731ac586c7 + sha512sums = 9e2322ad3df70572b826f79d43877bd66ef80870125de930756e17b53fc98799cb4336428e1fd3e0333a43d7f814e9eae30a944a5ac6d6440770994f2ba438e1 + sha512sums = ff08a80847770e14a0d6593f43a31812d2bf609a7dbe8f343a69aa35f687b5ee8ebd3102d8bf9d4b474788e67ad6c7298c1c99ec1d15923845436d1184c16273 + sha512sums = 1b0b9c6ad93a98443be677ea447358f23949276ef220795749d4b47f2f7c49b893fef354a1ce3fe533e045860ac351948227da6064d20b0748b7569e0ca254c4 + sha512sums = 5f73b50535b2c187cfa70c9d0cfb9d39a5fc1cdca8c85300ada66fc5cb9ce393ad8db3563ef7ba14010328d533e1c1f7d924116d3ac6d619e1b07ba850a9f66c + sha512sums = 120906c5cdf21f32160f595b757b0534fedf605ed7bc441b570b372801e004b5c6adcf07a6b45e086ce2ab3241c31b05baff220b94db192d9933a2668710e653 + sha512sums = 7b7ea880b6cc7e73c9401ffd2989cc8c51eb868a696de721771899b89f2a808a609d7cba6750bbc301de92a6fb15f9b0454757d5e80726723154a24571c3b04e + sha512sums = d6a5f340ec45bbe9f19247370b4be1d885f5ace6fab1ed9f2ed0966de655c5ae1de08dd774854898ac50129f50e5a2c0f352231930c33d6cbce40ed08521a76c + sha512sums = 45e34601f4eeb57bec8babbc5d82c8a7189db6259d39bd28935cd95bc979b6fb70981047eee7ff34eb203b1f19a9bbf20ba9a5934c832a04dc5a978eeca863f1 + sha512sums = 67405a5e5114ef5f1d0981d55a8cd9ebb0b612fa7f180c98d6bf0022c68bc14c3d742c690282900a9f6b745159f675ac03b49cd748147085c1e3e2dba532196b + sha512sums = f6e278e790128f9a6061f4e18e37a823a3a562a1fdb3f6d39dcd99eaa046bf0dda5a48fadf3bc6b72a613a4ff67cf0900aecc0eea8f7d673e03471ccbe2d2452 + sha512sums = f3d5f41f7b293f15f33d5e84dc01e9ca0252bececb7c29d6e862b6421bb2fbb677c520bcf9e20be488a50705d87f26c6abda190ee32c576fac1820df3a6f66b1 + +pkgname = ttf-ia-writer + diff --git a/pkgbuilds/stable/ttf-ia-writer/.gitignore b/pkgbuilds/stable/ttf-ia-writer/.gitignore new file mode 100644 index 0000000..218620e --- /dev/null +++ b/pkgbuilds/stable/ttf-ia-writer/.gitignore @@ -0,0 +1,4 @@ +* +!/PKGBUILD +!/.SRCINFO +!/.gitignore diff --git a/pkgbuilds/stable/ttf-ia-writer/PKGBUILD b/pkgbuilds/stable/ttf-ia-writer/PKGBUILD new file mode 100644 index 0000000..fc23d45 --- /dev/null +++ b/pkgbuilds/stable/ttf-ia-writer/PKGBUILD @@ -0,0 +1,48 @@ +# Maintainer: Adrián Pérez de Castro +pkgname=ttf-ia-writer +pkgdesc='Subset of the fonts provided by iA Writer' +pkgver=20181225 +pkgrel=1 +url=https://github.com/iaolo/iA-Fonts +conflicts=(ttf-ia-writer-duospace) +provides=(${conflicts[@]}) +license=(custom:OFL) +arch=(any) + +_baseurl="${url}/raw/b337fe1a4c93026268f70e4b2678371f3e89e2ce/" +source=("${_baseurl}/iA%20Writer%20Mono/Static/iAWriterMonoS-Bold.ttf" + "${_baseurl}/iA%20Writer%20Mono/Static/iAWriterMonoS-BoldItalic.ttf" + "${_baseurl}/iA%20Writer%20Mono/Static/iAWriterMonoS-Italic.ttf" + "${_baseurl}/iA%20Writer%20Mono/Static/iAWriterMonoS-Regular.ttf" + "${_baseurl}/iA%20Writer%20Quattro/Static/iAWriterQuattroS-Bold.ttf" + "${_baseurl}/iA%20Writer%20Quattro/Static/iAWriterQuattroS-BoldItalic.ttf" + "${_baseurl}/iA%20Writer%20Quattro/Static/iAWriterQuattroS-Italic.ttf" + "${_baseurl}/iA%20Writer%20Quattro/Static/iAWriterQuattroS-Regular.ttf" + "${_baseurl}/iA%20Writer%20Duo/Static/iAWriterDuoS-Bold.ttf" + "${_baseurl}/iA%20Writer%20Duo/Static/iAWriterDuoS-BoldItalic.ttf" + "${_baseurl}/iA%20Writer%20Duo/Static/iAWriterDuoS-Italic.ttf" + "${_baseurl}/iA%20Writer%20Duo/Static/iAWriterDuoS-Regular.ttf" + "${_baseurl}/iA%20Writer%20Duospace/TTF%20(PC)/iAWriterDuospace-Bold.ttf" + "${_baseurl}/iA%20Writer%20Duospace/TTF%20(PC)/iAWriterDuospace-BoldItalic.ttf" + "${_baseurl}/iA%20Writer%20Duospace/TTF%20(PC)/iAWriterDuospace-Italic.ttf" + "${_baseurl}/iA%20Writer%20Duospace/TTF%20(PC)/iAWriterDuospace-Regular.ttf") + +package () { + install -m644 -D -t "${pkgdir}/usr/share/fonts/${pkgname}" *.ttf +} +sha512sums=('3334653927758b8bf1336a7954191df71bb5d660196c6a61a31aeb0a50480bf48c0fb39ec2e17d211c754f16433a8051c300c21dc2fd1b46f117c837d4d89f02' + '994cb5a8e9bc2d7cd79ae08816ed5f631aafcc293559195b26105eaa44f1c8843265e80064e324b2cbf141f125d0dafdf3dcd99de7da5dc954f4e08243c68df4' + 'e0d189ea1ca7feb04d9ade3232266e944a4ec7747754c01e3fb8d4d10afdafa739037d76d67e7636a7b1e45da3b9a935d8fa644813d97b07e75c1eb049e9eb1e' + '837defdaef7fb5252b33c5a770e78ef655666c86a5891aa6b92e6b540167a834d1b79b444fb58bdd33c83b93bcce0e68ea60c99875c73cd2964b79b12b5e104e' + '386eb2ad45c8b1126cbe15d8ace870f409f6ebb8393fa9e788e75ac5cee9de2bfd67d6cf55647abb52361daa7c0a4b2d2a63cfe651bfda99f6c1b9731ac586c7' + '9e2322ad3df70572b826f79d43877bd66ef80870125de930756e17b53fc98799cb4336428e1fd3e0333a43d7f814e9eae30a944a5ac6d6440770994f2ba438e1' + 'ff08a80847770e14a0d6593f43a31812d2bf609a7dbe8f343a69aa35f687b5ee8ebd3102d8bf9d4b474788e67ad6c7298c1c99ec1d15923845436d1184c16273' + '1b0b9c6ad93a98443be677ea447358f23949276ef220795749d4b47f2f7c49b893fef354a1ce3fe533e045860ac351948227da6064d20b0748b7569e0ca254c4' + '5f73b50535b2c187cfa70c9d0cfb9d39a5fc1cdca8c85300ada66fc5cb9ce393ad8db3563ef7ba14010328d533e1c1f7d924116d3ac6d619e1b07ba850a9f66c' + '120906c5cdf21f32160f595b757b0534fedf605ed7bc441b570b372801e004b5c6adcf07a6b45e086ce2ab3241c31b05baff220b94db192d9933a2668710e653' + '7b7ea880b6cc7e73c9401ffd2989cc8c51eb868a696de721771899b89f2a808a609d7cba6750bbc301de92a6fb15f9b0454757d5e80726723154a24571c3b04e' + 'd6a5f340ec45bbe9f19247370b4be1d885f5ace6fab1ed9f2ed0966de655c5ae1de08dd774854898ac50129f50e5a2c0f352231930c33d6cbce40ed08521a76c' + '45e34601f4eeb57bec8babbc5d82c8a7189db6259d39bd28935cd95bc979b6fb70981047eee7ff34eb203b1f19a9bbf20ba9a5934c832a04dc5a978eeca863f1' + '67405a5e5114ef5f1d0981d55a8cd9ebb0b612fa7f180c98d6bf0022c68bc14c3d742c690282900a9f6b745159f675ac03b49cd748147085c1e3e2dba532196b' + 'f6e278e790128f9a6061f4e18e37a823a3a562a1fdb3f6d39dcd99eaa046bf0dda5a48fadf3bc6b72a613a4ff67cf0900aecc0eea8f7d673e03471ccbe2d2452' + 'f3d5f41f7b293f15f33d5e84dc01e9ca0252bececb7c29d6e862b6421bb2fbb677c520bcf9e20be488a50705d87f26c6abda190ee32c576fac1820df3a6f66b1') diff --git a/pkgbuilds/stable/typora/.SRCINFO b/pkgbuilds/stable/typora/.SRCINFO new file mode 100644 index 0000000..c030f2e --- /dev/null +++ b/pkgbuilds/stable/typora/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = typora + pkgdesc = A minimal markdown editor and reader. + pkgver = 1.12.4 + pkgrel = 1 + url = https://typora.io/ + arch = x86_64 + arch = aarch64 + license = custom:"Copyright (c) 2015 Abner Lee All Rights Reserved." + depends = gtk3 + depends = nss + depends = alsa-lib + optdepends = noto-fonts-emoji: Or some other emoji font to see emojis + optdepends = pandoc: Import/export for extra file formats + source = typora.sh + sha512sums = de9c883c63f3ea35bd551c8761e605f8e1a3468943e000abcbf94bb0c5cbb5f0f6c7fa4d49ab39c177f167e0e3d0b061c861bf828627b4a34f7f1589119c3d04 + source_x86_64 = https://download.typora.io/linux/typora_1.12.4_amd64.deb + sha512sums_x86_64 = f2504c5ab4c80a1b4927b5498a7d8cb15509b1485111a886add75db35984daf49485db49e0fce9ec251be76b08ddf0dc7fd1150de4b7ffd284f67db60905c47a + source_aarch64 = https://download.typora.io/linux/typora_1.12.4_arm64.deb + sha512sums_aarch64 = 1bc6808b574f0073856daf2471a592cbee374384a60c6cc8f11fed4a6a80eab7512343e86083f60b995c439b323dc1c82582576d611dcd07072e7cf6507aa7eb + +pkgname = typora diff --git a/pkgbuilds/stable/typora/.gitignore b/pkgbuilds/stable/typora/.gitignore new file mode 100644 index 0000000..84e9664 --- /dev/null +++ b/pkgbuilds/stable/typora/.gitignore @@ -0,0 +1,4 @@ +pkg/ +src/ +typora-*.pkg.* +typora_*.deb diff --git a/pkgbuilds/stable/typora/Makefile b/pkgbuilds/stable/typora/Makefile new file mode 100644 index 0000000..abc48a9 --- /dev/null +++ b/pkgbuilds/stable/typora/Makefile @@ -0,0 +1,36 @@ + +# This will update the checksums and build the package +all: updateinfo + makepkg -sr +# Check if any files are world writable + find pkg/typora -type f -perm -o+w -printf "WARNING: '%p' has o+w set\n" + +# This will do the same as all, but will install it to the local system as well +install: updateinfo + makepkg -sri +# Check if any files are world writable + find pkg/typora -type f -perm -o+w -printf "WARNING: '%p' has o+w set\n" + +# This will update the checksums and .SRCINFO +updateinfo: + updpkgsums + makepkg --printsrcinfo > .SRCINFO + +# This will update PKGBUILD with the latest version and build the package +update: + sed 's/^pkgver=.*$$/pkgver=$(shell curl -s https://downloads.typora.io/linux/Packages | grep Version | cut -f 2 -d ' ' | sort -V | cut -f 1 -d '-' | uniq | tail -n 1)/' -i PKGBUILD + sed 's/^pkgrel=.*$$/pkgrel=1/' -i PKGBUILD + $(MAKE) + +# This will list the versions available in the Ubuntu repository +versions: + curl -s https://downloads.typora.io/linux/Packages | grep Version | cut -f 2 -d ' ' | sort -V | cut -f 1 -d '-' | uniq + +# This will remove the files downloaded and created in the build process +clean: + rm -rf pkg src typora_*.deb typora-*.pkg.* + +publish: + git add . + git commit -m "Update to version $(shell sed -n 's/^pkgver=\(.*\)$$/\1/p' PKGBUILD)" +# git push diff --git a/pkgbuilds/stable/typora/PKGBUILD b/pkgbuilds/stable/typora/PKGBUILD new file mode 100644 index 0000000..f99ac3c --- /dev/null +++ b/pkgbuilds/stable/typora/PKGBUILD @@ -0,0 +1,50 @@ +# Maintainer: Jonas Bögle +# Contributor: Jonathan Duck + +pkgname=typora +pkgver=1.12.4 +_pkgver_x86_64="$pkgver" +_pkgver_aarch64="$pkgver" +pkgrel=1 +pkgdesc="A minimal markdown editor and reader." +arch=('x86_64' 'aarch64') +license=('custom:"Copyright (c) 2015 Abner Lee All Rights Reserved."') +url="https://typora.io/" +depends=('gtk3' 'nss' 'alsa-lib') +optdepends=( + 'noto-fonts-emoji: Or some other emoji font to see emojis' + 'pandoc: Import/export for extra file formats') +source=("$pkgname.sh") +_urlbase="https://download.typora.io/linux/typora_" +source_x86_64=("${_urlbase}${_pkgver_x86_64}_amd64.deb") +source_aarch64=("${_urlbase}${_pkgver_aarch64}_arm64.deb") +sha512sums=('de9c883c63f3ea35bd551c8761e605f8e1a3468943e000abcbf94bb0c5cbb5f0f6c7fa4d49ab39c177f167e0e3d0b061c861bf828627b4a34f7f1589119c3d04') +sha512sums_x86_64=('f2504c5ab4c80a1b4927b5498a7d8cb15509b1485111a886add75db35984daf49485db49e0fce9ec251be76b08ddf0dc7fd1150de4b7ffd284f67db60905c47a') +sha512sums_aarch64=('1bc6808b574f0073856daf2471a592cbee374384a60c6cc8f11fed4a6a80eab7512343e86083f60b995c439b323dc1c82582576d611dcd07072e7cf6507aa7eb') + +package() { + # unpack archive + if [[ "$CARCH" == "x86_64" ]]; then + bsdtar -xf data.tar.zst -C "$pkgdir/" + elif [[ "$CARCH" == "aarch64" ]]; then + bsdtar -xf data.tar.xz -C "$pkgdir/" + fi + # remove lintian overrides + rm -rf "$pkgdir/usr/share/lintian/" + # replace bin link with custom launch script + rm -rf "$pkgdir/usr/bin/$pkgname" + install -m755 "$srcdir/$pkgname.sh" "$pkgdir/usr/bin/$pkgname" + # move license to correct path + install -Dm644 "$pkgdir/usr/share/doc/$pkgname/copyright" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + # delete previous copyright path + rm "$pkgdir/usr/share/doc/$pkgname/copyright" + # delete doc dir if empty + rmdir --ignore-fail-on-non-empty "$pkgdir/usr/share/doc/$pkgname" "$pkgdir/usr/share/doc" + # remove change log from application comment + sed -i '/Change Log/d' "$pkgdir/usr/share/applications/typora.desktop" + # fix permissions + chmod 644 "$pkgdir/usr/share/applications/typora.desktop" + chmod 644 "$pkgdir/usr/share/typora/resources/packages/node-spellchecker/vendor/hunspell_dictionaries/en_US.dic" + chmod 644 "$pkgdir/usr/share/typora/resources/packages/node-spellchecker/vendor/hunspell_dictionaries/en_US.aff" + find "$pkgdir" -type d -exec chmod 755 {} \; +} diff --git a/pkgbuilds/stable/typora/typora.sh b/pkgbuilds/stable/typora/typora.sh new file mode 100644 index 0000000..9eba597 --- /dev/null +++ b/pkgbuilds/stable/typora/typora.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +XDG_CONFIG_HOME=${XDG_CONFIG_HOME:-~/.config} + +# Allow users to override command-line options +if [[ -f $XDG_CONFIG_HOME/typora-flags.conf ]]; then + TYPORA_USER_FLAGS="$(sed 's/#.*//' $XDG_CONFIG_HOME/typora-flags.conf | tr '\n' ' ')" +fi + +# Launch +exec /usr/share/typora/Typora "$@" $TYPORA_USER_FLAGS diff --git a/pkgbuilds/stable/tzupdate/.SRCINFO b/pkgbuilds/stable/tzupdate/.SRCINFO new file mode 100644 index 0000000..93cca94 --- /dev/null +++ b/pkgbuilds/stable/tzupdate/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = tzupdate + pkgdesc = Set the system timezone based on IP geolocation + pkgver = 3.1.0 + pkgrel = 1 + url = https://github.com/cdown/tzupdate + arch = x86_64 + license = MIT + makedepends = cargo + options = !lto + source = https://github.com/cdown/tzupdate/archive/refs/tags/3.1.0.tar.gz + sha256sums = aebf678afd261852bd3ebf4689a9a7382c3e4e43a92864b77cbee2d26ec62e22 + +pkgname = tzupdate diff --git a/pkgbuilds/stable/tzupdate/PKGBUILD b/pkgbuilds/stable/tzupdate/PKGBUILD new file mode 100644 index 0000000..a8d05c7 --- /dev/null +++ b/pkgbuilds/stable/tzupdate/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Chris Down + +pkgname=tzupdate +pkgver=3.1.0 +pkgrel=1 +pkgdesc='Set the system timezone based on IP geolocation' +url=https://github.com/cdown/tzupdate +arch=('x86_64') +options=(!lto) +license=('MIT') +makedepends=('cargo') +source=("$url/archive/refs/tags/$pkgver.tar.gz") +sha256sums=('aebf678afd261852bd3ebf4689a9a7382c3e4e43a92864b77cbee2d26ec62e22') + +build() { + cd "$srcdir/$pkgname-$pkgver" + cargo build --release --locked +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + cargo install --no-track --locked --root "$pkgdir/usr" --path . +} diff --git a/pkgbuilds/stable/ufw-docker/.SRCINFO b/pkgbuilds/stable/ufw-docker/.SRCINFO new file mode 100644 index 0000000..2aaa759 --- /dev/null +++ b/pkgbuilds/stable/ufw-docker/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = ufw-docker + pkgdesc = To fix the Docker and UFW security flaw without disabling iptables. + pkgver = 251123 + pkgrel = 1 + url = https://github.com/chaifeng/ufw-docker + install = ufw-docker.install + arch = any + license = GPL License Version 3.0 + depends = ufw + depends = docker + source = ufw-docker-251123.tar.gz::https://github.com/chaifeng/ufw-docker/archive/refs/tags/251123.tar.gz + source = ufw-docker.install + b2sums = d4ac771a83a5f7bd328c8d30094a45752dd1b38de7f2d7f5269e369289d9e8ef189b020b97e4d93025d9d7ad61757cda31f80e548e8611b77653f75e731400b7 + b2sums = 6f7c41d047dc2fd657708cbb9b35f52e06fbe03fed060e00696fb14ffd291ea4dae759b5d73780799ab0c773a015f16f4d5633b311de9130b3bd78da7d1aa9e3 + +pkgname = ufw-docker diff --git a/pkgbuilds/stable/ufw-docker/.gitignore b/pkgbuilds/stable/ufw-docker/.gitignore new file mode 100644 index 0000000..abdc5c0 --- /dev/null +++ b/pkgbuilds/stable/ufw-docker/.gitignore @@ -0,0 +1,4 @@ +*.zst +*.tar.gz +pkg/* +src/* diff --git a/pkgbuilds/stable/ufw-docker/PKGBUILD b/pkgbuilds/stable/ufw-docker/PKGBUILD new file mode 100644 index 0000000..9a42738 --- /dev/null +++ b/pkgbuilds/stable/ufw-docker/PKGBUILD @@ -0,0 +1,21 @@ +# Maintainer: ifurther <> +# Contributor: Aaronjamt +pkgname=ufw-docker +pkgver=251123 +pkgrel=1 +pkgdesc='To fix the Docker and UFW security flaw without disabling iptables.' +arch=('any') +url="https://github.com/chaifeng/${pkgname}" +license=('GPL License Version 3.0') +depends=('ufw' 'docker') +install=ufw-docker.install +source=("$pkgname-$pkgver.tar.gz::https://github.com/chaifeng/$pkgname/archive/refs/tags/$pkgver.tar.gz" + 'ufw-docker.install') +b2sums=('d4ac771a83a5f7bd328c8d30094a45752dd1b38de7f2d7f5269e369289d9e8ef189b020b97e4d93025d9d7ad61757cda31f80e548e8611b77653f75e731400b7' + '6f7c41d047dc2fd657708cbb9b35f52e06fbe03fed060e00696fb14ffd291ea4dae759b5d73780799ab0c773a015f16f4d5633b311de9130b3bd78da7d1aa9e3') + +package() { + pushd "$srcdir/$pkgname-$pkgver" + install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/ufw-docker/LICENSE" + install -Dm755 ufw-docker "$pkgdir/usr/bin/ufw-docker" +} diff --git a/pkgbuilds/stable/ufw-docker/ufw-docker.install b/pkgbuilds/stable/ufw-docker/ufw-docker.install new file mode 100644 index 0000000..c1aab77 --- /dev/null +++ b/pkgbuilds/stable/ufw-docker/ufw-docker.install @@ -0,0 +1,4 @@ +post_install() { + echo 'Run `ufw-docker install` to update ufw rules and automatically back up existing rules.' + echo 'To restore backed up ufw rules, run `ufw-docker uninstall`.' +} diff --git a/pkgbuilds/stable/walker/.SRCINFO b/pkgbuilds/stable/walker/.SRCINFO new file mode 100644 index 0000000..2b60bcb --- /dev/null +++ b/pkgbuilds/stable/walker/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = walker + pkgdesc = wayland application runner + pkgver = 2.14.1 + pkgrel = 1 + url = https://github.com/abenz1267/walker + arch = x86_64 + arch = aarch64 + license = GPL + makedepends = cargo + makedepends = gobject-introspection + makedepends = glibc + makedepends = protobuf + depends = gtk4-layer-shell + depends = poppler-glib + depends = cairo + provides = walker + conflicts = walker + source = https://github.com/abenz1267/walker/archive/refs/tags/v2.14.1.tar.gz + sha256sums = bb0a4ac3d8ca7e88ca3cf12918426ec8cee98537710151a49f0fd81934374c03 + +pkgname = walker diff --git a/pkgbuilds/stable/walker/PKGBUILD b/pkgbuilds/stable/walker/PKGBUILD new file mode 100644 index 0000000..a47da4c --- /dev/null +++ b/pkgbuilds/stable/walker/PKGBUILD @@ -0,0 +1,51 @@ +# Maintainer: Andrej Benz + +pkgname=walker +pkgver=2.14.1 +pkgrel=1 +pkgdesc='wayland application runner' +url='https://github.com/abenz1267/walker' +arch=('x86_64' 'aarch64') +license=('GPL') +makedepends=('cargo' 'gobject-introspection' 'glibc' 'protobuf') +depends=('gtk4-layer-shell' 'poppler-glib' 'cairo') +conflicts=('walker') +provides=('walker') +source=("${url}/archive/refs/tags/v${pkgver}.tar.gz") +sha256sums=("bb0a4ac3d8ca7e88ca3cf12918426ec8cee98537710151a49f0fd81934374c03") + +build() { + cd ${pkgname}-${pkgver} + export RUSTUP_TOOLCHAIN=stable + export CARGO_TARGET_DIR=target + cargo build --release +} + +package() { + cd ${pkgname}-${pkgver}/target/release + install -Dm 755 walker -t "${pkgdir}/usr/bin" + + cd ../../ + install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" + + cd resources + install -Dm 644 config.toml -t "${pkgdir}/etc/xdg/walker" + + cd themes/default + install -Dm 644 item.xml -t "${pkgdir}/etc/xdg/walker/themes/default" + install -Dm 644 item_calc.xml -t "${pkgdir}/etc/xdg/walker/themes/default" + install -Dm 644 item_clipboard.xml -t "${pkgdir}/etc/xdg/walker/themes/default" + install -Dm 644 item_dmenu.xml -t "${pkgdir}/etc/xdg/walker/themes/default" + install -Dm 644 item_files.xml -t "${pkgdir}/etc/xdg/walker/themes/default" + install -Dm 644 item_providerlist.xml -t "${pkgdir}/etc/xdg/walker/themes/default" + install -Dm 644 item_symbols.xml -t "${pkgdir}/etc/xdg/walker/themes/default" + install -Dm 644 item_symbols_grid.xml -t "${pkgdir}/etc/xdg/walker/themes/default" + install -Dm 644 item_archlinuxpkgs.xml -t "${pkgdir}/etc/xdg/walker/themes/default" + install -Dm 644 item_dnfpackages.xml -t "${pkgdir}/etc/xdg/walker/themes/default" + install -Dm 644 item_todo.xml -t "${pkgdir}/etc/xdg/walker/themes/default" + install -Dm 644 item_unicode.xml -t "${pkgdir}/etc/xdg/walker/themes/default" + install -Dm 644 layout.xml -t "${pkgdir}/etc/xdg/walker/themes/default" + install -Dm 644 keybind.xml -t "${pkgdir}/etc/xdg/walker/themes/default" + install -Dm 644 preview.xml -t "${pkgdir}/etc/xdg/walker/themes/default" + install -Dm 644 style.css -t "${pkgdir}/etc/xdg/walker/themes/default" +} diff --git a/pkgbuilds/stable/wayfreeze/.gitignore b/pkgbuilds/stable/wayfreeze/.gitignore new file mode 100644 index 0000000..eaf60b1 --- /dev/null +++ b/pkgbuilds/stable/wayfreeze/.gitignore @@ -0,0 +1,5 @@ +*.tar.gz +*.pkg.tar.zst +*.pkg.tar.zst.sig +pkg/ +src/ diff --git a/pkgbuilds/stable/wayfreeze/PKGBUILD b/pkgbuilds/stable/wayfreeze/PKGBUILD new file mode 100644 index 0000000..e46bc6c --- /dev/null +++ b/pkgbuilds/stable/wayfreeze/PKGBUILD @@ -0,0 +1,24 @@ +pkgname=wayfreeze +pkgver=0.2.0 +pkgrel=1 +pkgdesc="Tool to freeze the screen of a Wayland compositor" +arch=('x86_64' 'aarch64') +url="https://github.com/Jappie3/wayfreeze" +license=('AGPL-3.0') +conflicts=('wayfreeze-git') +depends=('wayland' 'libxkbcommon') +makedepends=('cargo') +options=(!debug) +source=("$pkgname-$pkgver.tar.gz::https://github.com/Jappie3/wayfreeze/archive/refs/tags/$pkgver.tar.gz") +sha256sums=('9ab941cbd242f82a7ff807c573e23f5f0576c2815a8a493581a9037a0d754bb6') + +build() { + cd "$pkgname-$pkgver" + cargo build --release +} + +package() { + cd "$pkgname-$pkgver" + install -Dm755 "target/release/$pkgname" "$pkgdir/usr/bin/$pkgname" + install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} diff --git a/pkgbuilds/stable/xdg-terminal-exec/.SRCINFO b/pkgbuilds/stable/xdg-terminal-exec/.SRCINFO new file mode 100644 index 0000000..b178117 --- /dev/null +++ b/pkgbuilds/stable/xdg-terminal-exec/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = xdg-terminal-exec + pkgdesc = Proposed standard to launching desktop apps with Terminal=true + pkgver = 0.14.0 + pkgrel = 1 + url = https://gitlab.freedesktop.org/Vladimir-csp/xdg-terminal-exec + arch = any + license = GPL-3.0-or-later + checkdepends = bats + makedepends = scdoc + source = xdg-terminal-exec-0.14.0::https://gitlab.freedesktop.org/Vladimir-csp/xdg-terminal-exec/-/archive/v0.14.0/xdg-terminal-exec-v0.14.0.tar.gz + sha256sums = c37ff16292f7d3e79c97099c4cf1ca5c1f47fb2f1d3e8754126659b045ccbbac + b2sums = 806acdfb1ffa83c339e07a802d8496ea162a943114dbc39c44df9ef04a6383067a5a5fdcf8a2ad472fef91c735d44f16676c000f0a105fefb469311626131744 + +pkgname = xdg-terminal-exec diff --git a/pkgbuilds/stable/xdg-terminal-exec/PKGBUILD b/pkgbuilds/stable/xdg-terminal-exec/PKGBUILD new file mode 100644 index 0000000..f772d40 --- /dev/null +++ b/pkgbuilds/stable/xdg-terminal-exec/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Max Gautier +pkgname=xdg-terminal-exec +pkgver=0.14.0 +pkgrel=1 +pkgdesc="Proposed standard to launching desktop apps with Terminal=true" +arch=(any) +url="https://gitlab.freedesktop.org/Vladimir-csp/$pkgname" +makedepends=('scdoc') +checkdepends=('bats') +license=('GPL-3.0-or-later') +source=("${pkgname}-${pkgver}::$url/-/archive/v${pkgver}/${pkgname}-v${pkgver}.tar.gz") +sha256sums=('c37ff16292f7d3e79c97099c4cf1ca5c1f47fb2f1d3e8754126659b045ccbbac') +b2sums=('806acdfb1ffa83c339e07a802d8496ea162a943114dbc39c44df9ef04a6383067a5a5fdcf8a2ad472fef91c735d44f16676c000f0a105fefb469311626131744') + +check() { + cd "$pkgname-v$pkgver" + bats "test/" +} + +build() { + make -C "$pkgname-v$pkgver" +} + +package() { + make -C "$pkgname-v$pkgver" prefix="$pkgdir/usr" install +} diff --git a/pkgbuilds/stable/yaru-icon-theme/PKGBUILD b/pkgbuilds/stable/yaru-icon-theme/PKGBUILD new file mode 100644 index 0000000..dedcd15 --- /dev/null +++ b/pkgbuilds/stable/yaru-icon-theme/PKGBUILD @@ -0,0 +1,132 @@ +# Maintainer: drakkan +# Maintainer: Chris Billington +pkgbase=yaru +pkgname=('yaru-sound-theme' + 'yaru-gtk-theme' + 'yaru-gtksourceview-theme' + 'yaru-gnome-shell-theme' + 'yaru-xfwm4-theme' + 'yaru-unity-theme' + 'yaru-metacity-theme' + 'yaru-icon-theme' + 'yaru-session') +pkgver=25.10.2 +pkgrel=1 +pkgdesc="Yaru default ubuntu theme" +arch=(any) +url="https://github.com/ubuntu/yaru" +license=('GPL3') + +makedepends=('meson' 'sassc' 'git') + +source=("https://github.com/ubuntu/yaru/archive/${pkgver}.tar.gz") +sha256sums=('43556fbd33e22c7b0deab066cda62aae93e176cc6eadc9e84e82249d390b50e9') + +build() { + arch-meson $pkgbase-$pkgver build + meson configure build -Dubuntu-unity=true -Dxfwm4=true + ninja -C build +} + +_delete_all_from_pkgdir_except() { + if [[ "$1" != "sound-theme" ]]; then + rm -r "${pkgdir}"/usr/share/sounds + fi + if [[ "$1" != "gtk-theme" ]]; then + rm -r "${pkgdir}"/usr/share/themes/Yaru{,-*}/{gtk-*,index.theme} + fi + if [[ "$1" != "gtksourceview-theme" ]]; then + rm -r "${pkgdir}"/usr/share/gtksourceview-* + rm -r "${pkgdir}"/usr/share/*-gtksourceview-* + fi + if [[ "$1" != "gnome-shell-theme" ]]; then + rm "${pkgdir}"/usr/share/themes/Yaru{,-*}/gnome-shell + rm -r "${pkgdir}"/usr/share/gnome-shell/theme/Yaru{,-*} + fi + if [[ "$1" != "xfwm4-theme" ]]; then + rm -r "${pkgdir}"/usr/share/themes/Yaru{,-*}/xfwm4 + fi + if [[ "$1" != "unity-theme" ]]; then + rm -r "${pkgdir}"/usr/share/themes/Yaru{,-*}/unity + fi + if [[ "$1" != "metacity-theme" ]]; then + rm -r "${pkgdir}"/usr/share/themes/Yaru{,-*}/metacity-1 + fi + if [[ "$1" != "icon-theme" ]]; then + rm -r "${pkgdir}"/usr/share/icons + fi + if [[ "$1" != "session" ]]; then + rm -r "${pkgdir}"/usr/share/{glib-2.0,xsessions,wayland-sessions} + rm -r "${pkgdir}"/usr/share/gnome-shell/{extensions,modes} + fi + # Delete remaining empty directories: + find "${pkgdir}" -type d -empty -delete +} + +package_yaru-sound-theme() { + pkgdesc="Yaru default ubuntu sound theme" + + DESTDIR="$pkgdir" ninja -C build install 2>&1 >> install.log + _delete_all_from_pkgdir_except "sound-theme" +} + +package_yaru-gtk-theme() { + pkgdesc="Yaru default ubuntu gtk theme" + depends=("gtk3" "gdk-pixbuf2" "gtk-engine-murrine" "gnome-themes-extra") + + DESTDIR="$pkgdir" ninja -C build install 2>&1 >> install.log + _delete_all_from_pkgdir_except "gtk-theme" +} + +package_yaru-gtksourceview-theme() { + pkgdesc="Yaru default ubuntu gtksourceview theme" + + DESTDIR="$pkgdir" ninja -C build install 2>&1 >> install.log + _delete_all_from_pkgdir_except "gtksourceview-theme" +} + +package_yaru-gnome-shell-theme() { + pkgdesc="Yaru default ubuntu gnome shell theme" + depends=("gnome-shell") + + DESTDIR="$pkgdir" ninja -C build install 2>&1 >> install.log + _delete_all_from_pkgdir_except "gnome-shell-theme" +} + +package_yaru-xfwm4-theme() { + pkgdesc="Yaru default ubuntu xfwm4 theme" + + DESTDIR="$pkgdir" ninja -C build install 2>&1 >> install.log + _delete_all_from_pkgdir_except "xfwm4-theme" +} + +package_yaru-unity-theme() { + pkgdesc="Yaru default ubuntu unity theme" + + DESTDIR="$pkgdir" ninja -C build install 2>&1 >> install.log + _delete_all_from_pkgdir_except "unity-theme" +} + +package_yaru-metacity-theme() { + pkgdesc="Yaru default ubuntu metacity theme" + depends=(metacity) + + DESTDIR="$pkgdir" ninja -C build install 2>&1 >> install.log + _delete_all_from_pkgdir_except "metacity-theme" +} + +package_yaru-icon-theme() { + pkgdesc="Yaru default ubuntu icon theme" + depends=("hicolor-icon-theme" "gtk-update-icon-cache" "librsvg") + + DESTDIR="$pkgdir" ninja -C build install 2>&1 >> install.log + _delete_all_from_pkgdir_except "icon-theme" +} + +package_yaru-session() { + pkgdesc="Yaru session" + depends=("gnome-shell" "yaru-gnome-shell-theme") + + DESTDIR="$pkgdir" ninja -C build install 2>&1 >> install.log + _delete_all_from_pkgdir_except "session" +} diff --git a/pkgbuilds/stable/yay/.SRCINFO b/pkgbuilds/stable/yay/.SRCINFO new file mode 100644 index 0000000..5698489 --- /dev/null +++ b/pkgbuilds/stable/yay/.SRCINFO @@ -0,0 +1,24 @@ +pkgbase = yay + pkgdesc = Yet another yogurt. Pacman wrapper and AUR helper written in go. + pkgver = 12.5.7 + pkgrel = 2 + url = https://github.com/Jguer/yay + arch = i686 + arch = pentium4 + arch = x86_64 + arch = arm + arch = armv7h + arch = armv6h + arch = aarch64 + arch = riscv64 + license = GPL-3.0-or-later + makedepends = go>=1.24 + depends = pacman>6.1 + depends = git + optdepends = sudo: privilege elevation + optdepends = doas: privilege elevation + options = !lto + source = yay-12.5.7.tar.gz::https://github.com/Jguer/yay/archive/v12.5.7.tar.gz + sha256sums = b483a6b99cba19250e874414a7d55f0d0c518b9c735b7d64dd354b51151bd465 + +pkgname = yay diff --git a/pkgbuilds/stable/yay/.gitignore b/pkgbuilds/stable/yay/.gitignore new file mode 100644 index 0000000..6b087fc --- /dev/null +++ b/pkgbuilds/stable/yay/.gitignore @@ -0,0 +1,6 @@ +/*.tar.xz +/*.tar.gz +/*.tar.zst +/pkg +/src +/yay diff --git a/pkgbuilds/stable/yay/PKGBUILD b/pkgbuilds/stable/yay/PKGBUILD new file mode 100644 index 0000000..a11b031 --- /dev/null +++ b/pkgbuilds/stable/yay/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Jguer +pkgname=yay +pkgver=12.5.7 +pkgrel=2 +pkgdesc="Yet another yogurt. Pacman wrapper and AUR helper written in go." +arch=('i686' 'pentium4' 'x86_64' 'arm' 'armv7h' 'armv6h' 'aarch64' 'riscv64') +url="https://github.com/Jguer/yay" +options=(!lto) +license=('GPL-3.0-or-later') +depends=( + 'pacman>6.1' + 'git' +) +optdepends=( + 'sudo: privilege elevation' + 'doas: privilege elevation' +) +makedepends=('go>=1.24') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Jguer/yay/archive/v${pkgver}.tar.gz") +sha256sums=('b483a6b99cba19250e874414a7d55f0d0c518b9c735b7d64dd354b51151bd465') + +build() { + export GOPATH="$srcdir"/gopath + export CGO_CPPFLAGS="${CPPFLAGS}" + export CGO_CFLAGS="${CFLAGS}" + export CGO_CXXFLAGS="${CXXFLAGS}" + export CGO_LDFLAGS="${LDFLAGS}" + export CGO_ENABLED=1 + + cd "$srcdir/$pkgname-$pkgver" + make VERSION=$pkgver DESTDIR="$pkgdir" PREFIX="/usr" build +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make VERSION=$pkgver DESTDIR="$pkgdir" PREFIX="/usr" install +} diff --git a/pkgbuilds/stable/yay/patches/pkg-bump.patch b/pkgbuilds/stable/yay/patches/pkg-bump.patch new file mode 100644 index 0000000..0b8d72b --- /dev/null +++ b/pkgbuilds/stable/yay/patches/pkg-bump.patch @@ -0,0 +1,26 @@ +diff --git a/.SRCINFO b/.SRCINFO +index a8a0df1..5698489 100644 +--- a/.SRCINFO ++++ b/.SRCINFO +@@ -1,7 +1,7 @@ + pkgbase = yay + pkgdesc = Yet another yogurt. Pacman wrapper and AUR helper written in go. + pkgver = 12.5.7 +- pkgrel = 1 ++ pkgrel = 2 + url = https://github.com/Jguer/yay + arch = i686 + arch = pentium4 +diff --git a/PKGBUILD b/PKGBUILD +index 8262007..a11b031 100644 +--- a/PKGBUILD ++++ b/PKGBUILD +@@ -1,7 +1,7 @@ + # Maintainer: Jguer + pkgname=yay + pkgver=12.5.7 +-pkgrel=1 ++pkgrel=2 + pkgdesc="Yet another yogurt. Pacman wrapper and AUR helper written in go." + arch=('i686' 'pentium4' 'x86_64' 'arm' 'armv7h' 'armv6h' 'aarch64' 'riscv64') + url="https://github.com/Jguer/yay" diff --git a/pkgbuilds/stable/yt6801-dkms/.SRCINFO b/pkgbuilds/stable/yt6801-dkms/.SRCINFO new file mode 100644 index 0000000..fe42035 --- /dev/null +++ b/pkgbuilds/stable/yt6801-dkms/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = yt6801-dkms + pkgdesc = Kernel module for Motorcomm YT6801 ethernet controller (DKMS) + pkgver = 1.0.31 + pkgrel = 1 + url = https://www.motor-comm.com/product/ethernet-control-chip + arch = x86_64 + license = GPL-2.0-or-later + depends = dkms + source = yt6801-1.0.31.zip::https://www.motor-comm.com/Cn/Skippower/downloadFile.html?id=1817 + source = fix.patch + source = drop-flags.patch + sha256sums = 9ea62182bd520483df5fd3ec320262cbdddcc763f3128ae37abd26905a97e14c + sha256sums = 3e850f2d35fd3da6d10035b5ea04e995a0d7962b1c02599b42f1f7a296822e78 + sha256sums = 814c6a121b392f512ec4c8898dd9f6c50ae3ff9d946bc1d115135fa6f5c6a897 + +pkgname = yt6801-dkms diff --git a/pkgbuilds/stable/yt6801-dkms/.gitignore b/pkgbuilds/stable/yt6801-dkms/.gitignore new file mode 100644 index 0000000..a83d8e7 --- /dev/null +++ b/pkgbuilds/stable/yt6801-dkms/.gitignore @@ -0,0 +1,5 @@ +*.tar.* +*.zip + +pkg/ +src/ diff --git a/pkgbuilds/stable/yt6801-dkms/PKGBUILD b/pkgbuilds/stable/yt6801-dkms/PKGBUILD new file mode 100644 index 0000000..efc0605 --- /dev/null +++ b/pkgbuilds/stable/yt6801-dkms/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Shiina Rikka + +_pkgbase=yt6801 +pkgname=yt6801-dkms +pkgver=1.0.31 +pkgrel=1 +pkgdesc="Kernel module for Motorcomm YT6801 ethernet controller (DKMS)" +arch=('x86_64') +url="https://www.motor-comm.com/product/ethernet-control-chip" +license=('GPL-2.0-or-later') +depends=('dkms') +source=(${_pkgbase}-${pkgver}.zip::'https://www.motor-comm.com/Cn/Skippower/downloadFile.html?id=1817' + 'fix.patch' + 'drop-flags.patch') +sha256sums=('9ea62182bd520483df5fd3ec320262cbdddcc763f3128ae37abd26905a97e14c' + '3e850f2d35fd3da6d10035b5ea04e995a0d7962b1c02599b42f1f7a296822e78' + '814c6a121b392f512ec4c8898dd9f6c50ae3ff9d946bc1d115135fa6f5c6a897') + +prepare() { + cd ${srcdir} + mkdir src + tar -zxf ${_pkgbase}-${pkgver}.tar.gz -C src + patch -p1 < drop-flags.patch + patch -p1 < fix.patch +} + +package() { + mkdir -p ${pkgdir}/usr/src/${_pkgbase}-${pkgver} + + install -Dm644 ${srcdir}/src/*.c ${pkgdir}/usr/src/${_pkgbase}-${pkgver}/ + install -Dm644 ${srcdir}/src/*.h ${pkgdir}/usr/src/${_pkgbase}-${pkgver}/ + install -Dm644 ${srcdir}/src/Makefile ${pkgdir}/usr/src/${_pkgbase}-${pkgver}/ + install -Dm644 ${srcdir}/src/dkms.conf ${pkgdir}/usr/src/${_pkgbase}-${pkgver}/ + install -Dm644 ${srcdir}/src/motorcomm ${pkgdir}/usr/src/${_pkgbase}-${pkgver}/ +} diff --git a/pkgbuilds/stable/yt6801-dkms/drop-flags.patch b/pkgbuilds/stable/yt6801-dkms/drop-flags.patch new file mode 100644 index 0000000..1cabf73 --- /dev/null +++ b/pkgbuilds/stable/yt6801-dkms/drop-flags.patch @@ -0,0 +1,11 @@ +--- a/src/dkms.conf ++++ b/src/dkms.conf +@@ -1,8 +1,5 @@ + PACKAGE_NAME="yt6801" + PACKAGE_VERSION="1.0.30" +-CLEAN="make clean" +-MAKE[0]="make" + BUILT_MODULE_NAME[0]="yt6801" + DEST_MODULE_LOCATION[0]="/kernel/drivers/net/ethernet/motorcomm" + AUTOINSTALL="yes" +-REMAKE_INITRD="yes" diff --git a/pkgbuilds/stable/yt6801-dkms/fix.patch b/pkgbuilds/stable/yt6801-dkms/fix.patch new file mode 100644 index 0000000..a94d08d --- /dev/null +++ b/pkgbuilds/stable/yt6801-dkms/fix.patch @@ -0,0 +1,59 @@ +--- a/src/fuxi-gmac-net.c ++++ b/src/fuxi-gmac-net.c +@@ -772,7 +772,9 @@ + static void fxgmac_tx_hang_timer_handler(unsigned long data) + #endif + { +-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,14,0)) ++#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6,16,0)) ++ struct fxgmac_channel *channel = timer_container_of(channel, t, expansion.tx_hang_timer); ++#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(4,14,0)) + struct fxgmac_channel *channel = from_timer(channel, t, expansion.tx_hang_timer); + #else + struct fxgmac_channel *channel = (struct fxgmac_channel *)data; +--- a/src/fuxi-gmac-phy.c ++++ b/src/fuxi-gmac-phy.c +@@ -322,7 +322,9 @@ + static void fxgmac_phy_link_poll(unsigned long data) + #endif + { +-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,15,0)) ++#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6,16,0)) ++ struct fxgmac_pdata *pdata = timer_container_of(pdata, t, expansion.phy_poll_tm); ++#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(4,15,0)) + struct fxgmac_pdata *pdata = from_timer(pdata, t, expansion.phy_poll_tm); + #else + struct fxgmac_pdata *pdata = (struct fxgmac_pdata*)data; +@@ -350,7 +352,9 @@ + + int fxgmac_phy_timer_init(struct fxgmac_pdata *pdata) + { +-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,15,0)) ++#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6,16,0)) ++ timer_init_key(&pdata->expansion.phy_poll_tm, NULL, 0, "fuxi_phy_link_update_timer", NULL); ++#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(4,15,0)) + init_timer_key(&pdata->expansion.phy_poll_tm, NULL, 0, "fuxi_phy_link_update_timer", NULL); + #else + init_timer_key(&pdata->expansion.phy_poll_tm, 0, "fuxi_phy_link_update_timer", NULL); +@@ -368,6 +372,10 @@ + + void fxgmac_phy_timer_destroy(struct fxgmac_pdata *pdata) + { ++#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6,15,0)) ++ timer_shutdown_sync(&pdata->expansion.phy_poll_tm); ++#else + del_timer_sync(&pdata->expansion.phy_poll_tm); ++#endif + DPRINTK("fxgmac_phy_timer removed\n"); + } +--- a/src/fuxi-gmac.h ++++ b/src//fuxi-gmac.h +@@ -50,6 +50,8 @@ + #define FXGMAC_NS_IFA_LOCAL_LINK 1 + #define FXGMAC_NS_IFA_GLOBAL_UNICAST 2 + ++#define FXGMAC_INT_MODERATION_ENABLED 1 ++ + #define FXGMAX_ASPM_WAR_EN + /* Descriptor related parameters */ + #if FXGMAC_TX_HANG_TIMER_ENABLED