1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
- # Contributor: Lukas Fleischer <lfleischer@archlinux.org>
- # Contributor: Jan de Groot <jgc@archlinux.org>
- pkgbase=adwaita-icon-theme
- pkgname=(adwaita-icon-theme adwaita-cursors)
- pkgver=43
- pkgrel=2
- pkgdesc="GNOME standard icons"
- url="https://gitlab.gnome.org/GNOME/adwaita-icon-theme"
- arch=(any)
- license=(LGPL3 CCPL:by-sa)
- depends=(hicolor-icon-theme gtk-update-icon-cache librsvg)
- makedepends=(git gtk3)
- _commit=3ea65342a846b2b29fe6feedcd13e2ecc5b5c2b2 # tags/43^0
- source=("git+https://gitlab.gnome.org/GNOME/adwaita-icon-theme.git#commit=$_commit")
- sha256sums=('SKIP')
- pkgver() {
- cd $pkgname
- git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
- }
- prepare() {
- cd $pkgname
- autoreconf -fvi
- }
-
- build() {
- cd $pkgname
- ./configure --prefix=/usr
- make
- }
- check() {
- cd $pkgname
- make check
- }
- package_adwaita-icon-theme() {
- depends+=(adwaita-cursors)
- make -C $pkgname DESTDIR="$pkgdir" install
- mkdir -p cursors/usr/share/icons/Adwaita
- mv {"$pkgdir",cursors}/usr/share/icons/Adwaita/cursors
- }
- package_adwaita-cursors() {
- pkgdesc="GNOME standard cursors"
- depends=()
- mv cursors/* "$pkgdir"
- }
- # vim:set sw=2 sts=-1 et:
|