PKGBUILD 1.2 KB

12345678910111213141516171819202122232425262728
  1. # Maintainer: UwU <260361707+WallpaperEngineLover@users.noreply.github.com>
  2. # pkgver and the checksum are set by the aur job of .github/workflows/build.yml on every release
  3. pkgname=we-manager-bin
  4. _pkgname=we-manager
  5. pkgver=0.8.1
  6. pkgrel=1
  7. pkgdesc="Wallpaper Engine workshop manager for linux-wallpaperengine"
  8. arch=('x86_64')
  9. url="https://github.com/WallpaperEngineLover/we_manager"
  10. license=('MIT')
  11. # Electron's runtime, as the .deb lists it
  12. depends=('gtk3' 'libnotify' 'nss' 'libxss' 'libxtst' 'xdg-utils' 'at-spi2-core' 'util-linux-libs' 'libsecret')
  13. optdepends=('linux-wallpaperengine-kde-bin: the wallpaper engine, prebuilt'
  14. 'linux-wallpaperengine-kde-git: the wallpaper engine, built from git')
  15. provides=('we-manager')
  16. conflicts=('we-manager')
  17. options=('!strip' '!debug')
  18. source=("${_pkgname}_${pkgver}_amd64.deb::$url/releases/download/v$pkgver/${_pkgname}_${pkgver}_amd64.deb")
  19. sha256sums=('SKIP')
  20. package() {
  21. bsdtar -xf data.tar.* -C "$pkgdir"
  22. # the .deb's postinst does these
  23. chmod 4755 "$pkgdir/opt/WE Manager/chrome-sandbox"
  24. install -d "$pkgdir/usr/bin"
  25. ln -s "/opt/WE Manager/we-manager" "$pkgdir/usr/bin/we-manager"
  26. rm -rf "$pkgdir/usr/share/doc"
  27. }