PKGBUILD 952 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
  2. # Contributor: Lukas Fleischer <lfleischer@archlinux.org>
  3. # Contributor: Jan de Groot <jgc@archlinux.org>
  4. pkgname=adwaita-icon-theme
  5. pkgver=3.34.2
  6. pkgrel=1
  7. pkgdesc="GNOME standard icons"
  8. url="https://gitlab.gnome.org/GNOME/adwaita-icon-theme"
  9. arch=(any)
  10. license=(LGPL3 CCPL:by-sa)
  11. depends=(hicolor-icon-theme gtk-update-icon-cache librsvg)
  12. makedepends=(git gtk3)
  13. _commit=5f415a930d6f830565d187242e6641b2c343b362 # master
  14. source=("git+https://gitlab.gnome.org/GNOME/adwaita-icon-theme.git#commit=$_commit")
  15. sha256sums=('SKIP')
  16. pkgver() {
  17. cd $pkgname
  18. git describe --tags | sed 's/-/+/g'
  19. }
  20. prepare() {
  21. cd $pkgname
  22. git tag -f 3.34.2 5f415a930d6f830565d187242e6641b2c343b362 # Fixup tag
  23. autoreconf -fvi
  24. }
  25. build() {
  26. cd $pkgname
  27. ./configure --prefix=/usr
  28. make
  29. }
  30. check() {
  31. cd $pkgname
  32. make check
  33. }
  34. package() {
  35. cd $pkgname
  36. make DESTDIR="$pkgdir" install
  37. }