summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8adf7312f0c6679fd674f656f0136f290278a71d (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
# Maintainer: Philip Goto <philip.goto@gmail.com>

pkgname=gnome-shell-extension-transparent-top-bar-git
pkgver=r16.adcff4f
pkgrel=1
pkgdesc="Bring back the transparent top bar when free-floating in GNOME Shell 3.32+"
arch=(any)
url="https://extensions.gnome.org/extension/1708/transparent-top-bar/"
license=(GPL)
depends=(gnome-shell)
makedepends=(git)
provides=(gnome-shell-extension-transparent-top-bar)
conflicts=(gnome-shell-extension-transparent-top-bar)
source=("git+https://github.com/zhanghai/gnome-shell-extension-transparent-top-bar.git")
sha256sums=(SKIP)

pkgver() {
    cd gnome-shell-extension-transparent-top-bar
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
    cd gnome-shell-extension-transparent-top-bar
    install -d "${pkgdir}/usr/share/gnome-shell/extensions/transparent-top-bar@zhanghai.me"
    install -t "${pkgdir}/usr/share/gnome-shell/extensions/transparent-top-bar@zhanghai.me" src/*
}