summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0002ae4d70cf9d11302597c30f7ecd5e604ee6a5 (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
31
# Maintainer: Robot <robot@artificial.engineering>
pkgname=gnome-shell-extension-lycheejs
_pkgname=${pkgname%-git}

pkgver=r6.128e6e3
pkgrel=1
pkgdesc="Manage lychee.js Projects and Libraries"
arch=('any')
url="https://github.com/Artificial-Engineering/gnome-shell-extension-lycheejs"
license=('GPL3')
depends=('gnome-shell')
makedepends=('git')
source=("git+https://github.com/Artificial-Engineering/gnome-shell-extension-lycheejs")
md5sums=('SKIP')

_folder="lycheejs@artificial.engineering"

pkgver() {
    cd "$srcdir/$_pkgname"
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
    cd "$srcdir/$_pkgname"
}

package() {
    cd "$srcdir/$_pkgname"
    mkdir -p "$pkgdir/usr/share/gnome-shell/extensions/$_folder"
    cp -r source/* "$pkgdir/usr/share/gnome-shell/extensions/$_folder"
}