67 lines
1.5 KiB
Bash
67 lines
1.5 KiB
Bash
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
|
|
# Maintainer: Fabian Bornschein <fabiscafe@archlinux.org>
|
|
# 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=47.0
|
|
pkgrel=1.1
|
|
pkgdesc="GNOME standard icons"
|
|
url="https://gitlab.gnome.org/GNOME/adwaita-icon-theme"
|
|
arch=(any)
|
|
license=("CC-BY-SA-3.0 OR LGPL-3.0-only")
|
|
depends=(
|
|
adwaita-icon-theme-legacy
|
|
hicolor-icon-theme
|
|
)
|
|
makedepends=(
|
|
git
|
|
gtk-update-icon-cache
|
|
meson
|
|
)
|
|
source=("git+https://gitlab.gnome.org/GNOME/adwaita-icon-theme.git#tag=${pkgver/[a-z]/.&}")
|
|
b2sums=('2dd7b268eaab5835c0d2c7ee81cb388638b9037dfb6748669a4dcbf155338f1bbc9fb8e5d8e5d2acafa4e9f88f1d2c137de922c3d19c65dcb384933982c21ffa')
|
|
|
|
prepare() {
|
|
cd $pkgbase
|
|
}
|
|
|
|
build() {
|
|
arch-meson $pkgbase build
|
|
meson compile -C build
|
|
}
|
|
|
|
check() {
|
|
meson test -C build --print-errorlogs
|
|
}
|
|
|
|
package_adwaita-icon-theme() {
|
|
depends+=(adwaita-cursors)
|
|
|
|
meson install -C build --destdir "$pkgdir"
|
|
|
|
# Split cursors
|
|
mkdir -p cursors/usr/share/icons/Adwaita
|
|
mv {"$pkgdir",cursors}/usr/share/icons/Adwaita/cursors
|
|
|
|
# Covered by common licenses
|
|
rm -r "$pkgdir/usr/share/licenses"
|
|
}
|
|
|
|
package_adwaita-cursors() {
|
|
pkgdesc="GNOME standard cursors"
|
|
depends=()
|
|
|
|
mv cursors/* "$pkgdir"
|
|
|
|
# deduplicate cursors
|
|
hardlink -c "$pkgdir/usr"
|
|
}
|
|
|
|
# vim:set sw=2 sts=-1 et:
|