Advertisement
Guest User

Untitled

a guest
May 23rd, 2024
13
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.20 KB | None | 0 0
  1. # Maintainer: Librewish <librewish@gmail.com>
  2.  
  3. pkgname=wayfire-plugins-extra-git
  4. pkgver=r71.a3412ee
  5. pkgrel=1
  6. pkgdesc="3D wayland compositor extra plugins"
  7. arch=('any')
  8. url="https://github.com/WayfireWM/wayfire-plugins-extra"
  9. license=('MIT')
  10. depends=('wayfire-git' 'glibmm' 'iio-sensor-proxy' 'wayland-protocols' 'glm')
  11. makedepends=('git' 'meson' 'ninja' 'libdisplay-info' 'nlohmann-json' 'glm')
  12. optdepends=('wcm: GTK3-based configuration tool for the Wayfire compositor')
  13. provides=("${pkgname}" "wayfire-plugins-extra")
  14. conflicts=("wayfire-plugins-extra")
  15. replaces=()
  16. options=()
  17. source=('git+https://github.com/WayfireWM/wayfire-plugins-extra')
  18. sha256sums=('SKIP')
  19. install=wayfire-plugins-extra.install
  20. prepare() {
  21. cd "$srcdir/wayfire-plugins-extra"
  22. git submodule update --init --recursive
  23. }
  24. pkgver() {
  25. cd "$srcdir/wayfire-plugins-extra"
  26.  
  27. # Git, no tags available
  28. printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
  29.  
  30. }
  31.  
  32. build() {
  33. cd "$srcdir/wayfire-plugins-extra/"
  34. rm -rf build
  35. arch-meson build
  36. ninja -C build
  37. }
  38.  
  39.  
  40. package() {
  41. cd "$srcdir/wayfire-plugins-extra"
  42. DESTDIR="$pkgdir/" ninja -C build install
  43. }
  44.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement