36 lines
895 B
Bash
36 lines
895 B
Bash
#!/usr/bin/env bash
|
|
name='adwaita-icon-theme'
|
|
release='3'
|
|
version='46.2'
|
|
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=('02960619d98a4420395aa1a18cfefb012748282ccac6fbaa9ccd52b1492e7d16')
|
|
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
|
|
}
|
|
|