diff options
author | Mark Wagie | 2020-04-07 15:50:16 -0600 |
---|---|---|
committer | Mark Wagie | 2020-04-07 15:50:16 -0600 |
commit | 0244560c61e8dd9d97db660cac71e92f7cb26e47 (patch) | |
tree | 26e11e6dc9dfc17e7426350eb7f2b8ea81e446f5 | |
parent | 7cb526114beb5358a205637f3de0745ecfa1c2c4 (diff) | |
download | aur-0244560c61e8dd9d97db660cac71e92f7cb26e47.tar.gz |
upstream changes, fixes, tweaks
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 87 |
2 files changed, 60 insertions, 42 deletions
@@ -1,16 +1,22 @@ pkgbase = starlabstheme-git pkgdesc = Star Labs GNOME Shell and GTK Theme - pkgver = r1.4f2bcc7 + pkgver = 1.1.3.r1345.d00eca8b0d pkgrel = 1 - url = https://github.com/StarLabsLtd/StarLabsTheme + url = https://starlabs.systems arch = any - license = GPL + license = LGPL + license = CC-BY-SA-4.0 makedepends = git makedepends = meson makedepends = sassc provides = starlabstheme conflicts = starlabstheme + options = !strip source = starlabstheme::git+https://github.com/StarLabsLtd/StarLabsTheme.git + source = git+https://github.com/kazysmaster/gnome-shell-extension-lockkeys.git + source = git+https://github.com/ubuntu/yaru.git + sha256sums = SKIP + sha256sums = SKIP sha256sums = SKIP pkgname = starlabstheme-backgrounds-git @@ -23,6 +29,7 @@ pkgname = starlabstheme-extensions-git depends = dconf provides = starlabstheme-extensions conflicts = starlabstheme-extensions + conflicts = gnome-shell-extension-lockkeys pkgname = starlabstheme-font-git pkgdesc = Star Labs Font @@ -74,10 +81,10 @@ pkgname = starlabstheme-session-git depends = starlabstheme-icons depends = starlabstheme-sounds optdepends = starlabstheme-extensions + optdepends = starlabstheme-font optdepends = gnome-shell-extension-appindicator optdepends = gnome-shell-extension-desktop-icons optdepends = gnome-shell-extension-dash-to-dock - optdepends = starlabstheme-font provides = starlabstheme-session conflicts = starlabstheme-session @@ -10,20 +10,27 @@ pkgname=('starlabstheme-backgrounds-git' 'starlabstheme-session-git' 'starlabstheme-sounds-git') pkgbase=starlabstheme-git -pkgver=r1.4f2bcc7 +pkgver=1.1.3.r1345.d00eca8b0d pkgrel=1 pkgdesc="Star Labs GNOME Shell and GTK Theme" arch=('any') -url="https://github.com/StarLabsLtd/StarLabsTheme" -license=('GPL') +url="https://starlabs.systems" +license=('LGPL' 'CC-BY-SA-4.0') makedepends=('git' 'meson' 'sassc') provides=("${pkgbase%-git}") conflicts=("${pkgbase%-git}") -source=("${pkgbase%-git}::git+https://github.com/StarLabsLtd/StarLabsTheme.git") -sha256sums=('SKIP') +options=('!strip') +source=("${pkgbase%-git}::git+https://github.com/StarLabsLtd/StarLabsTheme.git" + 'git+https://github.com/kazysmaster/gnome-shell-extension-lockkeys.git' + 'git+https://github.com/ubuntu/yaru.git') +sha256sums=('SKIP' + 'SKIP' + 'SKIP') pkgver() { - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + cd "$srcdir/${pkgbase%-git}" + printf "%s.r%s.%s" "$(head -n 1 debian/changelog | cut -d'(' -f 2 | cut -d')' -f 1 | \ + sed 's/-/./')" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } prepare() { @@ -32,6 +39,10 @@ prepare() { git config submodule.gnome-shell-extension-lockkeys.url \ "$srcdir/gnome-shell-extension-lockkeys" git submodule update + + git submodule init upstream/yaru + git config submodule.yaru.url "$srcdir/yaru" + git submodule update } build() { @@ -44,6 +55,7 @@ build() { echo ' \____/ \__\__,_|_| \_____/\__,_|_.__/|___/' echo echo '************** Star Labs Theme *************' + echo '' cd "$srcdir/${pkgbase%-git}" arch-meson build @@ -58,22 +70,22 @@ package_starlabstheme-backgrounds-git() { cd "$srcdir/${pkgbase%-git}" DESTDIR="$pkgdir" ninja -C build install 2>&1 >> install.log - rm -r "$pkgdir/"usr/share/{gnome-shell,glib-2.0,fonts,icons,plymouth,sounds,themes,wayland-sessions,xsessions} - rm -r "$pkgdir/"{boot,etc} + rm -r "$pkgdir"/usr/share/{gnome-shell,glib-2.0,fonts,icons,plymouth,sounds,themes,wayland-sessions,xsessions} + rm -r "$pkgdir"/{boot,etc} } package_starlabstheme-extensions-git() { pkgdesc="Star Labs GNOME extensions" depends=('dconf') provides=("${pkgname%-git}") - conflicts=("${pkgname%-git}") + conflicts=("${pkgname%-git}" 'gnome-shell-extension-lockkeys') cd "$srcdir/${pkgbase%-git}" DESTDIR="$pkgdir" ninja -C build install 2>&1 >> install.log - rm -r "$pkgdir/"usr/share/{backgrounds,gnome-background-properties,gnome-shell/extensions/ubuntu-dock@ubuntu.com,gnome-shell/theme,gnome-shell/modes,fonts,icons,plymouth,sounds,themes,wayland-sessions,xsessions} - rm -r "$pkgdir/"{boot,etc} - rm -f "$pkgdir/"usr/share/glib-2.0/schemas/99_StarLabs.gschema.override + rm -r "$pkgdir"/usr/share/{backgrounds,gnome-background-properties,gnome-shell/extensions/ubuntu-dock@ubuntu.com,gnome-shell/theme,gnome-shell/modes,fonts,icons,plymouth,sounds,themes,wayland-sessions,xsessions} + rm -r "$pkgdir"/{boot,etc} + rm -f "$pkgdir"/usr/share/glib-2.0/schemas/99_StarLabs.gschema.override } package_starlabstheme-font-git() { @@ -85,8 +97,8 @@ package_starlabstheme-font-git() { cd "$srcdir/${pkgbase%-git}" DESTDIR="$pkgdir" ninja -C build install 2>&1 >> install.log - rm -r "$pkgdir/"usr/share/{backgrounds,gnome-background-properties,gnome-shell,glib-2.0,icons,plymouth,sounds,themes,wayland-sessions,xsessions} - rm -r "$pkgdir/"{boot,etc} + rm -r "$pkgdir"/usr/share/{backgrounds,gnome-background-properties,gnome-shell,glib-2.0,icons,plymouth,sounds,themes,wayland-sessions,xsessions} + rm -r "$pkgdir"/{boot,etc} } package_starlabstheme-gnome-shell-git() { @@ -98,8 +110,8 @@ package_starlabstheme-gnome-shell-git() { cd "$srcdir/${pkgbase%-git}" DESTDIR="$pkgdir" ninja -C build install 2>&1 >> install.log - rm -r "$pkgdir/"usr/share/{backgrounds,gnome-background-properties,gnome-shell/extensions,gnome-shell/modes,glib-2.0,fonts,icons,plymouth,sounds,themes,wayland-sessions,xsessions} - rm -r "$pkgdir/"{boot,etc} + rm -r "$pkgdir"/usr/share/{backgrounds,gnome-background-properties,gnome-shell/extensions,gnome-shell/modes,glib-2.0,fonts,icons,plymouth,sounds,themes,wayland-sessions,xsessions} + rm -r "$pkgdir"/{boot,etc} } package_starlabstheme-grub-git() { @@ -111,9 +123,7 @@ package_starlabstheme-grub-git() { cd "$srcdir/${pkgbase%-git}" DESTDIR="$pkgdir" ninja -C build install 2>&1 >> install.log - sed -r 's/^ i915.fastboot=1//' "$pkgdir/etc/grub.d/47_starlabs" - - rm -r "$pkgdir/"usr + rm -r "$pkgdir"/usr } package_starlabstheme-gtk-git() { @@ -126,8 +136,8 @@ package_starlabstheme-gtk-git() { cd "$srcdir/${pkgbase%-git}" DESTDIR="$pkgdir" ninja -C build install 2>&1 >> install.log - rm -r "$pkgdir/"usr/share/{backgrounds,gnome-background-properties,gnome-shell,glib-2.0,fonts,icons,plymouth,sounds,wayland-sessions,xsessions} - rm -r "$pkgdir/"{boot,etc} + rm -r "$pkgdir"/usr/share/{backgrounds,gnome-background-properties,gnome-shell,glib-2.0,fonts,icons,plymouth,sounds,wayland-sessions,xsessions} + rm -r "$pkgdir"/{boot,etc} } package_starlabstheme-icons-git() { @@ -139,8 +149,8 @@ package_starlabstheme-icons-git() { cd "$srcdir/${pkgbase%-git}" DESTDIR="$pkgdir" ninja -C build install 2>&1 >> install.log - rm -r "$pkgdir/"usr/share/{backgrounds,gnome-background-properties,gnome-shell,glib-2.0,fonts,plymouth,sounds,themes,wayland-sessions,xsessions} - rm -r "$pkgdir/"{boot,etc} + rm -r "$pkgdir"/usr/share/{backgrounds,gnome-background-properties,gnome-shell,glib-2.0,fonts,plymouth,sounds,themes,wayland-sessions,xsessions} + rm -r "$pkgdir"/{boot,etc} } package_starlabstheme-plymouth-git() { @@ -149,37 +159,38 @@ package_starlabstheme-plymouth-git() { provides=("${pkgname%-git}") conflicts=("${pkgname%-git}") - "$srcdir/${pkgbase%-git}" + cd "$srcdir/${pkgbase%-git}" DESTDIR="$pkgdir" ninja -C build install 2>&1 >> install.log - rm -r "$pkgdir/"usr/share/{backgrounds,gnome-background-properties,gnome-shell,glib-2.0,fonts,icons,sounds,themes,wayland-sessions,xsessions} - rm -r "$pkgdir/"{boot,etc} + rm -r "$pkgdir"/usr/share/{backgrounds,gnome-background-properties,gnome-shell,glib-2.0,fonts,icons,sounds,themes,wayland-sessions,xsessions} + rm -r "$pkgdir"/{boot,etc} } package_starlabstheme-session-git() { pkgdesc="Star Labs Session" depends=('dconf' 'starlabstheme-backgrounds' 'starlabstheme-gnome-shell' 'starlabstheme-gtk' 'starlabstheme-icons' 'starlabstheme-sounds') - optdepends=('starlabstheme-extensions' 'gnome-shell-extension-appindicator' 'gnome-shell-extension-desktop-icons' 'gnome-shell-extension-dash-to-dock' 'starlabstheme-font') + optdepends=('starlabstheme-extensions' 'starlabstheme-font' 'gnome-shell-extension-appindicator' 'gnome-shell-extension-desktop-icons' 'gnome-shell-extension-dash-to-dock') provides=("${pkgname%-git}") conflicts=("${pkgname%-git}") - "$srcdir/${pkgbase%-git}" + cd "$srcdir/${pkgbase%-git}" DESTDIR="$pkgdir" ninja -C build install 2>&1 >> install.log - # Comment out Ubuntu-specific dconf entry - sed -i '26,27 s/^/#/' "$pkgdir/"usr/share/glib-2.0/schemas/99_StarLabs.gschema.override + # Replace Ubuntu-specific dconf entry to GNOME version + sed -i 's/com.ubuntu.sound/org.gnome.desktop.sound/g' "$pkgdir"/usr/share/glib-2.0/schemas/99_StarLabs.gschema.override + sed -i 's/allow-amplified-volume/allow-volume-above-100-percent/g' "$pkgdir"/usr/share/glib-2.0/schemas/99_StarLabs.gschema.override # Replace Ubuntu Dock with Dash to Dock install -d $pkgdir/usr/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com cp $pkgdir/usr/share/gnome-shell/extensions/ubuntu-dock@ubuntu.com/starlabs.css $pkgdir/usr/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/ - sed -i 's/ubuntu-dock@ubuntu.com/dash-to-dock@micxgx.gmail.com/g' "$pkgdir/"usr/share/gnome-shell/modes/starlabs.json + sed -i 's/ubuntu-dock@ubuntu.com/dash-to-dock@micxgx.gmail.com/g' "$pkgdir"/usr/share/gnome-shell/modes/starlabs.json # Replace Ubuntu Appindicators with AppIndicator Support - sed -i 's/ubuntu-appindicators@ubuntu.com/appindicatorsupport@rgcjonas.gmail.com/g' "$pkgdir/"usr/share/gnome-shell/modes/starlabs.json + sed -i 's/ubuntu-appindicators@ubuntu.com/appindicatorsupport@rgcjonas.gmail.com/g' "$pkgdir"/usr/share/gnome-shell/modes/starlabs.json - rm -r "$pkgdir/"usr/share/{backgrounds,gnome-background-properties,gnome-shell/extensions/ubuntu-dock@ubuntu.com,gnome-shell/extensions/lockkeys@vaina.lt,gnome-shell/theme,fonts,icons,plymouth,sounds,themes} - rm -r "$pkgdir/"{boot,etc} - rm -f "$pkgdir/"usr/share/glib-2.0/schemas/org.gnome.shell.extensions.lockkeys.gschema.xml + rm -r "$pkgdir"/usr/share/{backgrounds,gnome-background-properties,gnome-shell/extensions/ubuntu-dock@ubuntu.com,gnome-shell/extensions/lockkeys@vaina.lt,gnome-shell/theme,fonts,icons,plymouth,sounds,themes} + rm -r "$pkgdir"/{boot,etc} + rm -f "$pkgdir"/usr/share/glib-2.0/schemas/org.gnome.shell.extensions.lockkeys.gschema.xml } package_starlabstheme-sounds-git() { @@ -187,9 +198,9 @@ package_starlabstheme-sounds-git() { provides=("${pkgname%-git}") conflicts=("${pkgname%-git}") - "$srcdir/${pkgbase%-git}" + cd "$srcdir/${pkgbase%-git}" DESTDIR="$pkgdir" ninja -C build install 2>&1 >> install.log - rm -r "$pkgdir/"usr/share/{backgrounds,gnome-background-properties,gnome-shell,glib-2.0,fonts,icons,plymouth,themes,wayland-sessions,xsessions} - rm -r "$pkgdir/"{boot,etc} + rm -r "$pkgdir"/usr/share/{backgrounds,gnome-background-properties,gnome-shell,glib-2.0,fonts,icons,plymouth,themes,wayland-sessions,xsessions} + rm -r "$pkgdir"/{boot,etc} } |