summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 00226b8e869e2c2c85c4efa1e000ec7eb823ac6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Maintainer: Philip Goto <philip.goto@gmail.com>

pkgname=adwaita-icon-theme-git
pkgver=3.36.1.r3.g7672464c
pkgrel=1
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)
provides=(adwaita-icon-theme)
conflicts=(adwaita-icon-theme)
source=("git+https://gitlab.gnome.org/GNOME/adwaita-icon-theme.git")
sha256sums=(SKIP)

pkgver() {
    cd adwaita-icon-theme
    git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

prepare() {
    cd adwaita-icon-theme
    autoreconf -fvi
}
  
build() {
    cd adwaita-icon-theme
    ./configure --prefix=/usr
    make
}

check() {
    cd adwaita-icon-theme
    make check
}

package() {
    cd adwaita-icon-theme
    make DESTDIR="$pkgdir" install
}