summaryrefslogtreecommitdiff
path: root/repo/x11/adwaita-icon-theme/adwaita-icon-theme.xibuild
blob: c87bd79f9c4f031a563c396e9070b7ab8fbe3f7e (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
#!/bin/sh

NAME="adwaita-icon-theme"
DESC="Adwaita icon theme"

MAKEDEPS="make "
DEPS="hicolor-icon-theme "

PKG_VER=42.0
SOURCE="https://download.gnome.org/sources/adwaita-icon-theme/${PKG_VER%.*}/adwaita-icon-theme-$PKG_VER.tar.xz"

build () {
    ./configure \
        --prefix=/usr \
        --bindir=/usr/bin \
        --sysconfdir=/etc \
        --disable-static
    make
}

package () {
    make DESTDIR=$PKG_DEST install
}

postinstall () {
    gtk-update-icon-cache /usr/share/icons/Adwaita/
}