PKGBUILD 1.6 KB

123456789101112131415161718192021222324252627282930
  1. # Maintainer: UwU <260361707+WallpaperEngineLover@users.noreply.github.com>
  2. # pkgver and the checksum are set by .github/workflows/aur.yml on every release
  3. pkgname=linux-wallpaperengine-kde-bin
  4. _pkgname=linux-wallpaperengine-kde
  5. pkgver=0.8.0
  6. pkgrel=1
  7. pkgdesc="Wallpaper Engine live wallpapers on Linux, KDE/Wayland fork of linux-wallpaperengine (portable release build)"
  8. arch=('x86_64')
  9. url="https://github.com/WallpaperEngineLover/linux-wallpaperengine-kde"
  10. license=('GPL-3.0-only')
  11. # what the portable build leaves to the system (lib/SYSTEM_LIBS), everything else is bundled, V8 included
  12. depends=('glibc' 'gcc-libs' 'zlib' 'dbus' 'systemd-libs' 'libglvnd' 'mesa' 'libdrm' 'libva' 'vulkan-icd-loader'
  13. 'wayland' 'libx11' 'libxcb' 'libxext' 'libxrender' 'libxfixes' 'libxrandr' 'libxi' 'libxcursor' 'libxinerama'
  14. 'libxdamage' 'libxcomposite' 'libxxf86vm' 'libxkbcommon' 'libxshmfence' 'alsa-lib' 'libpipewire' 'nss' 'nspr'
  15. 'libcups' 'at-spi2-core' 'pango' 'cairo' 'gdk-pixbuf2' 'glib2')
  16. provides=('linux-wallpaperengine')
  17. conflicts=('linux-wallpaperengine' 'linux-wallpaperengine-git' 'linux-wallpaperengine-kde-git')
  18. options=('!strip' '!debug')
  19. source=("$_pkgname-$pkgver.tar.gz::$url/releases/download/v$pkgver/linux-wallpaperengine-kde-portable-x86_64.tar.gz")
  20. sha256sums=('SKIP')
  21. package() {
  22. install -d "$pkgdir/opt"
  23. cp -a linux-wallpaperengine-kde-portable-x86_64 "$pkgdir/opt/$_pkgname"
  24. # without user namespaces Chromium falls back to the setuid sandbox
  25. chmod 4755 "$pkgdir/opt/$_pkgname/chrome-sandbox"
  26. install -d "$pkgdir/usr/bin"
  27. ln -s "/opt/$_pkgname/linux-wallpaperengine" "$pkgdir/usr/bin/linux-wallpaperengine"
  28. }