* update adwaita-icon-theme to 45.0-1
This commit is contained in:
parent
2275a60265
commit
9b2ec4e5bc
@ -1,11 +1,15 @@
|
||||
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
|
||||
# Maintainer: Fabian Bornschein <fabiscafe-at-mailbox-dot-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=44.0
|
||||
pkgname=(
|
||||
adwaita-icon-theme
|
||||
adwaita-cursors
|
||||
)
|
||||
pkgver=45.0
|
||||
pkgrel=1
|
||||
pkgdesc="GNOME standard icons"
|
||||
url="https://gitlab.gnome.org/GNOME/adwaita-icon-theme"
|
||||
@ -22,36 +26,37 @@ depends=(
|
||||
makedepends=(
|
||||
git
|
||||
gtk3
|
||||
meson
|
||||
)
|
||||
_commit=a5a52e09d26ccbb28e60a253e5b6e7eb18247e16 # tags/44.0^0
|
||||
_commit=709725baa9e17e8d0ca62eab7920162bfeda37b9 # tags/45.0^0
|
||||
source=("git+https://gitlab.gnome.org/GNOME/adwaita-icon-theme.git#commit=$_commit")
|
||||
b2sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd $pkgname
|
||||
cd $pkgbase
|
||||
git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
|
||||
}
|
||||
|
||||
prepare() {
|
||||
cd $pkgname
|
||||
autoreconf -fvi
|
||||
cd $pkgbase
|
||||
|
||||
# rm unused and problematic .icon-theme.cache.
|
||||
git cherry-pick -n 32affe610606b3a550c2953993a72063eb2b7381
|
||||
}
|
||||
|
||||
|
||||
build() {
|
||||
cd $pkgname
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
arch-meson $pkgbase build
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
check() {
|
||||
cd $pkgname
|
||||
make check
|
||||
meson test -C build --print-errorlogs
|
||||
}
|
||||
|
||||
package_adwaita-icon-theme() {
|
||||
depends+=(adwaita-cursors)
|
||||
|
||||
make -C $pkgname DESTDIR="$pkgdir" install
|
||||
meson install -C build --destdir "$pkgdir"
|
||||
|
||||
mkdir -p cursors/usr/share/icons/Adwaita
|
||||
mv {"$pkgdir",cursors}/usr/share/icons/Adwaita/cursors
|
||||
@ -62,6 +67,9 @@ package_adwaita-cursors() {
|
||||
depends=()
|
||||
|
||||
mv cursors/* "$pkgdir"
|
||||
|
||||
# deduplicate cursors
|
||||
hardlink -c "$pkgdir/usr"
|
||||
}
|
||||
|
||||
# vim:set sw=2 sts=-1 et:
|
||||
|
Loading…
x
Reference in New Issue
Block a user