# Maintainer: Sebastian Wiesner pkgname=gnome-shell-extension-utc-clock pkgver=4 pkgrel=1 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') depends=('gnome-shell') source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/ego-${pkgver}.tar.gz") sha256sums=('9d5a20337ac6c300793b5b684c13b98b63d3382006420ea5f15820a138b1549e') build() { cd "${pkgname}-ego-${pkgver}" || exit 1 npm ci make compile } package() { cd "${pkgname}-ego-${pkgver}" || exit 1 make PREFIX=/usr DESTDIR="${pkgdir}" install-system install -Dm 644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md" }