diff options
author | chrisjbillington | 2019-10-30 11:38:17 -0400 |
---|---|---|
committer | chrisjbillington | 2019-10-30 11:38:17 -0400 |
commit | 424c8e09a375da55f6a926a25c3394c04fe164cb (patch) | |
tree | fb30295342e4af5e9c846a41f97fef10cc0668aa | |
parent | 56297d7f58e5cddf86b856010089032680a3b57b (diff) | |
download | aur-424c8e09a375da55f6a926a25c3394c04fe164cb.tar.gz |
Include session files in session package instead of shell theme package.
Delete empty directories from packages
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 9 insertions, 7 deletions
@@ -1,7 +1,7 @@ pkgbase = yaru-git pkgdesc = Yaru default ubuntu theme - pkgver = 19.10.4.r25.g00aaee95 - pkgrel = 1 + pkgver = 19.10.4.r34.g2d2cf90a + pkgrel = 2 url = https://github.com/ubuntu/yaru arch = any license = GPL3 @@ -8,8 +8,8 @@ pkgname=(yaru-sound-theme-git yaru-gnome-shell-theme-git yaru-icon-theme-git yaru-session-git) -pkgver=19.10.4.r25.g00aaee95 -pkgrel=1 +pkgver=19.10.4.r34.g2d2cf90a +pkgrel=2 pkgdesc="Yaru default ubuntu theme" arch=(any) url="https://github.com/ubuntu/yaru" @@ -37,14 +37,16 @@ _delete_all_from_pkgdir_except() { rm -r "${pkgdir}"/usr/share/themes/Yaru{-light,{,-dark}/{gtk-*,index.theme}} fi if [[ "$1" != "gnome-shell-theme" ]]; then - rm -r "${pkgdir}"/usr/share/{gnome-shell,themes/Yaru{,-dark}/gnome-shell} + rm -r "${pkgdir}"/usr/share/themes/Yaru{,-dark}/gnome-shell fi if [[ "$1" != "icon-theme" ]]; then rm -r "${pkgdir}"/usr/share/icons fi if [[ "$1" != "session" ]]; then - rm -r "${pkgdir}"/usr/share/{glib-2.0,xsessions,wayland-sessions} + rm -r "${pkgdir}"/usr/share/{gnome-shell,glib-2.0,xsessions,wayland-sessions} fi + # Delete remaining empty directories: + find "${pkgdir}" -type d -empty -delete } package_yaru-sound-theme-git() { @@ -94,4 +96,4 @@ package_yaru-session-git() { DESTDIR="$pkgdir" ninja -C build install 2>&1 >> install.log _delete_all_from_pkgdir_except "session" -}
\ No newline at end of file +} |