PKGBUILD 982 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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.0
  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=4b07f58bf29380bf65c3828122c07c61e53e285a # tags/2.34.0^0
  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. # Fixup tag
  23. git tag -f 3.34.0 4b07f58bf29380bf65c3828122c07c61e53e285a
  24. git tag -d 2.34.0
  25. autoreconf -fvi
  26. }
  27. build() {
  28. cd $pkgname
  29. ./configure --prefix=/usr
  30. make
  31. }
  32. check() {
  33. cd $pkgname
  34. make check
  35. }
  36. package() {
  37. cd $pkgname
  38. make DESTDIR="$pkgdir" install
  39. }