blob: b27c4831d97a726d86b2d6dedc587480bef4344b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# Maintainer: Sebastian Wiesner <sebastian@swsnr.de>
pkgname=gnome-shell-extension-utc-clock
pkgver=45.1
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/v${pkgver}.tar.gz")
sha256sums=('6ef89d80676684f93f9bbd644297e934bf86bac41eb9fad16ddffa7c1d1ca4c5')
build() {
cd "${pkgname}-${pkgver}" || exit 1
npm ci
make compile
}
package() {
cd "${pkgname}-${pkgver}" || exit 1
make PREFIX=/usr DESTDIR="${pkgdir}" install-system
install -Dm 644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
}
|