summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6a83b84a3091a98caf158d58fc9bae4ba542df67 (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: Térence Clastres <t.clastres@gmail.com>

pkgname=gnome-shell-extension-gtktitlebar-git
pkgver=2.0.r4.gda75129
pkgrel=2
pkgdesc="A GNOME Shell extension that GTK Title Bar - Remove Title Bar for non-GTK Software"
arch=('any')
url="https://github.com/velitasali/GTKTitleBar"
license=('GPL2')
depends=('gnome-shell>=3.28' 'xorg-xprop')
makedepends=('git')
provides=("${pkgname/-git}")
source=("$pkgname::git+$url")
md5sums=('SKIP')

pkgver() {
    cd "$pkgname"
    git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

package() {
    cd "$pkgname"
    mkdir -p "$pkgdir/usr/share/gnome-shell/extensions/"
    cp -R "gtktitlebar@velitasali.github.io" "$pkgdir/usr/share/gnome-shell/extensions"
}