diff options
author | Mark Wagie | 2023-02-20 11:32:34 -0700 |
---|---|---|
committer | Mark Wagie | 2023-02-20 11:32:34 -0700 |
commit | 023385915ccb52c1be16a54459f48ded90fab645 (patch) | |
tree | 0bde4e05f4853f3f4b10fedcbcb97f4a279721a3 /PKGBUILD | |
parent | 59bb87914b7286475371a13f793cf379000d34ac (diff) | |
download | aur-023385915ccb52c1be16a54459f48ded90fab645.tar.gz |
use hacky workaround to fix build
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -2,14 +2,14 @@ # Co-Maintainer: Mark Wagie <mark dot wagie at tutanota dot com> pkgname=gnome-shell-extension-gtile-git -pkgver=50.r5.gc59e79d +pkgver=51.r17.ga252d2b pkgrel=1 pkgdesc="A window tiling extension for GNOME" arch=('any') url="https://github.com/gTile/gTile" license=('GPL2') depends=('gnome-shell') -makedepends=('git' 'bazel' 'python' 'yarn') +makedepends=('bazel' 'git' 'pnpm') provides=("${pkgname%-git}") conflicts=("${pkgname%-git}") source=("${pkgname%-git}::git+https://github.com/gTile/gTile.git") @@ -22,17 +22,19 @@ pkgver() { build() { cd "$srcdir/${pkgname%-git}" - export YARN_CACHE_FOLDER="$srcdir/yarn-cache" bazel --output_user_root="$srcdir/bazel-cache" build :install-extension } package() { cd "$srcdir/${pkgname%-git}" install -d "$pkgdir/usr/share/gnome-shell/extensions/gTile@vibou" - bsdtar -xvf bazel-bin/install-extension.runfiles/gtile/dist.tar.gz -C \ +# bsdtar -xvf bazel-bin/install-extension.runfiles/gtile/dist.tar.gz -C \ + + # Temporary workaround for tarball not being copied properly from cache + bsdtar -xvf "$srcdir/bazel-cache/0b5fc7d4bbd34f8962010e75d3c172c0/execroot/_main/bazel-out/k8-fastbuild/bin/dist.tar.gz" -C \ "$pkgdir/usr/share/gnome-shell/extensions/gTile@vibou/" - install -d "$pkgdir/usr/share/glib-2.0/schemas" - ln -s /usr/share/gnome-shell/extensions/gTile@vibou/schemas/org.gnome.shell.extensions.gtile.gschema.xml \ + install -Dm644 schemas/org.gnome.shell.extensions.gtile.gschema.xml -t \ "$pkgdir/usr/share/glib-2.0/schemas/" + rm -rf "$pkgdir/usr/share/gnome-shell/extensions/gTile@vibou/schemas" } |