Advertisement
Guest User

Untitled

a guest
May 29th, 2021
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.10 KB | None | 0 0
  1. # Maintainer: Caltlgin Stsodaat <contact@fossdaily.xyz>
  2. # Contributor: Nahuel Gomez Castro <nahual_gomca@outlook.com.ar>
  3. # Contributor: Luna Jernberg <droidbittin@gmail.com>
  4.  
  5. _metaname='org.gnome.design.Palette'
  6. pkgname='palette'
  7. pkgver=2.0.0
  8. pkgrel=1
  9. pkgdesc='Tool for viewing the GNOME color palette as defined by the design guidelines'
  10. arch=('x86_64')
  11. url='https://gitlab.gnome.org/World/design/palette'
  12. license=('GPL3')
  13. depends=('gtk3')
  14. makedepends=('git' 'meson' 'vala')
  15. source=("git+${url}.git#tag=${pkgver}"
  16. "git+https://gitlab.gnome.org/Teams/Design/HIG-app-icons.git")
  17. sha256sums=('SKIP'
  18. 'SKIP')
  19.  
  20. prepare() {
  21. cd "${pkgname}"
  22. # Submodule list: https://gitlab.gnome.org/World/design/palette/-/blob/master/.gitmodules
  23. git submodule init
  24. git config 'submodule.hig.url' "${srcdir}/HIG-app-icons"
  25. git submodule update
  26. }
  27.  
  28. build() {
  29. arch-meson "${pkgname}" 'build'
  30. meson compile -C 'build'
  31. }
  32.  
  33. package() {
  34. DESTDIR="${pkgdir}" meson install -C 'build'
  35. install -Dvm644 "${pkgname}/README.md" -t "${pkgdir}/usr/share/doc/${pkgname}"
  36. }
  37.  
  38. # vim: ts=2 sw=2 et:
  39.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement