summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 53f20ff44a55edac31178fe650781bbed1048842 (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
32
# Maintainer: Alex S. shantanna_at_hotmail_dot_com>

pkgname=gnome-shell-extension-no-title-bar
_gitname=no-title-bar
pkgver=v6.r6.gb2724e9
pkgrel=0
pkgdesc="No Title Bar removes the title bar, moves the window title and buttons to the top panel."
arch=('any')
url="https://github.com/franglais125/no-title-bar"
license=('GPL2')
depends=('gnome-shell' 'xorg-xprop')
makedepends=('git')
provides=('gnome-shell-extension-no-title-bar')
conflicts=('gnome-shell-extension-no-title-bar' 'gnome-shell-extension-pixel-saver' 'gnome-shell-extension-pixel-saver-git')
install=${pkgname}.install
source=('git://github.com/franglais125/no-title-bar.git')
sha256sums=('SKIP')

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

package() {
  cd "$srcdir/${_gitname}"
  make _build
  mv _build no-title-bar@franglais125.gmail.com
  
  install -Dm644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname%-*}"
  install -d "${pkgdir}/usr/share/gnome-shell/extensions"
  cp -af "no-title-bar@franglais125.gmail.com" "${pkgdir}/usr/share/gnome-shell/extensions/"
}