diff options
author | Sebastian Wiesner | 2024-01-07 14:37:26 +0100 |
---|---|---|
committer | Sebastian Wiesner | 2024-01-07 14:37:26 +0100 |
commit | 106fa8420f81a4646cbcbc2a12ae6ab4fcc29f2d (patch) | |
tree | 9579745316a33ad7fe51c2a3ccd1c808be05a6c1 | |
parent | c9e55b4b89dd9719f3630868c2ac4b356f56d926 (diff) | |
download | aur-106fa8420f81a4646cbcbc2a12ae6ab4fcc29f2d.tar.gz |
upgpkg: gnome-shell-extension-utc-clock 45.4-2
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 9 insertions, 5 deletions
@@ -1,11 +1,11 @@ pkgbase = gnome-shell-extension-utc-clock pkgdesc = Extension for GNOME shell to add a UTC clock to the top bar pkgver = 45.4 - pkgrel = 1 + pkgrel = 2 url = https://github.com/swsnr/gnome-shell-extension-utc-clock arch = any license = MPL2 - makedepends = npm + makedepends = nodejs depends = gnome-shell source = gnome-shell-extension-utc-clock-45.4.tar.gz::https://github.com/swsnr/gnome-shell-extension-utc-clock/archive/v45.4.tar.gz sha256sums = 69d84fb144ae12d8d0d0dbb4b2d2b3ccf7c7797e684f98389f2af06ce0f18a05 @@ -2,24 +2,28 @@ pkgname=gnome-shell-extension-utc-clock pkgver=45.4 -pkgrel=1 +pkgrel=2 pkgdesc='Extension for GNOME shell to add a UTC clock to the top bar' arch=('any') url="https://github.com/swsnr/${pkgname}" license=('MPL2') -makedepends=('npm') +makedepends=('nodejs') depends=('gnome-shell') source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") sha256sums=('69d84fb144ae12d8d0d0dbb4b2d2b3ccf7c7797e684f98389f2af06ce0f18a05') build() { cd "${pkgname}-${pkgver}" || exit 1 - npm ci + mkdir -p "${srcdir}/bin" + corepack enable --install-directory "${srcdir}/bin" yarn + export PATH="${srcdir}/bin/:${PATH}" + yarn install make compile } package() { cd "${pkgname}-${pkgver}" || exit 1 + export PATH="${srcdir}/bin/:${PATH}" make PREFIX=/usr DESTDIR="${pkgdir}" install-system install -Dm 644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md" } |