summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b3c0be3c97832a298fa19eafebb8c8220dc9f09d (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
26
27
28
29
30
# Maintainer: Jorge Alejandro Jimenez Luna <jorgeajimenezl17@gmail.com>

_pkgname=gnome-extension-shell-nauta-connect
pkgname=$_pkgname-git
_uuid=nauta-connect@jorgeajimenezl.com
pkgver=1
pkgrel=1
pkgdesc="Utility to authenticate in ETECSA network"
arch=('any')
url='https://github.com/jorgeajimenezl/nauta-connect-gnome-extension'
license=('GPL2')
depends=('gnome-shell' 'gxml' 'libsoup3' 'libsecret')
makedepends=('git' 'jq')
provides=("$pkgname")

source=("$pkgname::git+https://github.com/jorgeajimenezl/nauta-connect-gnome-extension.git")
sha256sums=('SKIP')

pkgver() {
    cd $pkgname/src
    cat metadata.json | jq .version 
}

package() {
    cd "$srcdir/$pkgname"
    mkdir -p ~/.local/share/gnome-shell/extensions/$_uuid
    cp -r src/* ~/.local/share/gnome-shell/extensions/$_uuid
    glib-compile-schemas ~/.local/share/gnome-shell/extensions/$_uuid/schemas/ 
}