mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 12:26:52 +02:00
community/yaru-themes: remove
This commit is contained in:
parent
0f5936aaaa
commit
a6e21f99b1
@ -1,83 +0,0 @@
|
||||
# Contributor: Leo <thinkabit.ukim@gmail.com>
|
||||
# Maintainer: Leo <thinkabit.ukim@gmail.com>
|
||||
pkgname=yaru-themes
|
||||
pkgver=19.10.1
|
||||
pkgrel=0
|
||||
pkgdesc="Ubuntu community theme"
|
||||
options="!check" # No testsuite
|
||||
url="https://discourse.ubuntu.com/c/desktop/theme-refresh"
|
||||
arch="" # Fails with std::bad_alloc
|
||||
license="GPL-3.0-or-later AND CC-BY-SA-4.0"
|
||||
makedepends="sassc meson glib-dev"
|
||||
subpackages="
|
||||
yaru-common
|
||||
yaru-icons
|
||||
yaru
|
||||
yaru-dark
|
||||
yaru-gnome-shell
|
||||
"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/ubuntu/yaru/archive/$pkgver.tar.gz"
|
||||
builddir="$srcdir/yaru-$pkgver"
|
||||
|
||||
build() {
|
||||
meson \
|
||||
--prefix=/usr \
|
||||
-Dcommunitheme_compat=false \
|
||||
. output
|
||||
ninja -C output
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" ninja -C output install
|
||||
}
|
||||
|
||||
common() {
|
||||
depends=""
|
||||
pkgdesc="Common resources for yaru"
|
||||
|
||||
mkdir -p "$subpkgdir"/usr/share
|
||||
mv "$pkgdir"/usr/share/sounds "$subpkgdir"/usr/share
|
||||
}
|
||||
|
||||
icons() {
|
||||
depends=""
|
||||
pkgdesc="Yaru theme icons"
|
||||
|
||||
mkdir -p "$subpkgdir"/usr/share
|
||||
mv "$pkgdir"/usr/share/icons "$subpkgdir"/usr/share
|
||||
}
|
||||
|
||||
yaru() {
|
||||
depends="yaru-common"
|
||||
pkgdesc="Yaru, the Ubuntu community theme"
|
||||
|
||||
mkdir -p "$subpkgdir"/usr/share/themes
|
||||
mv "$pkgdir"/usr/share/wayland-sessions \
|
||||
"$pkgdir"/usr/share/xsessions \
|
||||
"$subpkgdir"/usr/share
|
||||
mv "$pkgdir"/usr/share/themes/Yaru \
|
||||
"$subpkgdir"/usr/share/themes
|
||||
}
|
||||
|
||||
dark() {
|
||||
depends="yaru-common"
|
||||
pkgdesc="Yaru dark, the dark variant of the Ubuntu community theme"
|
||||
|
||||
mkdir -p "$subpkgdir"/usr/share/themes
|
||||
mv "$pkgdir"/usr/share/themes/Yaru-dark \
|
||||
"$subpkgdir"/usr/share/themes
|
||||
}
|
||||
|
||||
shell() {
|
||||
depends="yaru-common yaru"
|
||||
pkgdesc="Yaru theme for the GNOME Desktop Environment"
|
||||
|
||||
# Automatically install if we have yaru-common (user has installed
|
||||
# yaru or yaru-dark)
|
||||
install_if="yaru-common=$pkgver-r$pkgrel gnome-shell"
|
||||
|
||||
mkdir -p "$subpkgdir"/usr/share
|
||||
mv "$pkgdir"/usr/share/gnome-shell "$subpkgdir"/usr/share
|
||||
}
|
||||
|
||||
sha512sums="c76a4950f3bb6097e126f0767075b6b618e6c2102822941662086241b6b6631816466971f88f010fd9f0d0d8e19c53b35432fe21f6811236478d46be9e31654c yaru-themes-19.10.1.tar.gz"
|
||||
Loading…
x
Reference in New Issue
Block a user