PKGBUILD 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
  2. # Contributor: Lukas Fleischer <lfleischer@archlinux.org>
  3. # Contributor: Jan de Groot <jgc@archlinux.org>
  4. pkgbase=adwaita-icon-theme
  5. pkgname=(adwaita-icon-theme adwaita-cursors)
  6. pkgver=44.0
  7. pkgrel=1
  8. pkgdesc="GNOME standard icons"
  9. url="https://gitlab.gnome.org/GNOME/adwaita-icon-theme"
  10. arch=(any)
  11. license=(
  12. CCPL:by-sa
  13. LGPL3
  14. )
  15. depends=(
  16. hicolor-icon-theme
  17. gtk-update-icon-cache
  18. librsvg
  19. )
  20. makedepends=(
  21. git
  22. gtk3
  23. )
  24. _commit=a5a52e09d26ccbb28e60a253e5b6e7eb18247e16 # tags/44.0^0
  25. source=("git+https://gitlab.gnome.org/GNOME/adwaita-icon-theme.git#commit=$_commit")
  26. b2sums=('SKIP')
  27. pkgver() {
  28. cd $pkgname
  29. git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
  30. }
  31. prepare() {
  32. cd $pkgname
  33. autoreconf -fvi
  34. }
  35. build() {
  36. cd $pkgname
  37. ./configure --prefix=/usr
  38. make
  39. }
  40. check() {
  41. cd $pkgname
  42. make check
  43. }
  44. package_adwaita-icon-theme() {
  45. depends+=(adwaita-cursors)
  46. make -C $pkgname DESTDIR="$pkgdir" install
  47. mkdir -p cursors/usr/share/icons/Adwaita
  48. mv {"$pkgdir",cursors}/usr/share/icons/Adwaita/cursors
  49. }
  50. package_adwaita-cursors() {
  51. pkgdesc="GNOME standard cursors"
  52. depends=()
  53. mv cursors/* "$pkgdir"
  54. }
  55. # vim:set sw=2 sts=-1 et: