36 lines
895 B
Bash
36 lines
895 B
Bash
#!/usr/bin/env bash
|
|
name='adwaita-icon-theme'
|
|
release='4'
|
|
version='47.0'
|
|
url='https://gitlab.gnome.org/GNOME/adwaita-icon-theme'
|
|
description='GNOME standard icons'
|
|
email='brkt8khn@gmail.com'
|
|
maintainer='brkt8khn'
|
|
license=('GPLv3')
|
|
source=("https://gitlab.gnome.org/GNOME/adwaita-icon-theme/-/archive/$version/adwaita-icon-theme-$version.tar.gz")
|
|
depends=(hicolor-icon-theme librsvg)
|
|
makedepends=(meson)
|
|
sha256sums=('e0845b6a398b67e048a3b1a2700b4da16f90b95c19d0ea1ff0ba65d78609dd2f')
|
|
group=(x11.themes)
|
|
uses=()
|
|
arch=('x86_64')
|
|
|
|
cd $name-$version
|
|
|
|
setup(){
|
|
meson setup build --prefix=/usr \
|
|
--libdir=/usr/lib64/
|
|
}
|
|
|
|
build(){
|
|
ninja -C build $jobs
|
|
}
|
|
|
|
package(){
|
|
ninja -C build install $jobs
|
|
# remove generic icon
|
|
find $DESTDIR -type f -iname '*application-x-generic.*' -exec rm -fv {} \;
|
|
sed -i "s/Inherits=/&gnome,/g" $DESTDIR/usr/share/icons/Adwaita/index.theme
|
|
}
|
|
|