summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9f756a187dd7ea2b239ba5107bbfdd5a9ce34d03 (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
# Maintainer: Maxim Andersson <thesilentboatman@gmail.com>

pkgname=gnome-shell-extension-pixel-saver-git
_gitname=pixel-saver
pkgver=1.4.r2.gb1e852a
pkgrel=1
pkgdesc="Saves pixels by fusing activity bar and title bar in a natural way"
arch=('any')
url="https://github.com/deadalnix/pixel-saver"
license=('unknown')
depends=('gnome-shell' 'xorg-xprop')
makedepends=('git')
provides=('gnome-shell-extension-pixel-saver')
conflicts=('gnome-shell-extension-pixel-saver')
install=${pkgname}.install
source=('git://github.com/deadalnix/pixel-saver.git')
sha256sums=('SKIP')

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

package() {
  install -d "${pkgdir}/usr/share/gnome-shell/extensions"
  cp -af "${srcdir}/${_gitname}/pixel-saver@deadalnix.me" "${pkgdir}/usr/share/gnome-shell/extensions/"
}

# vim:set ts=2 sw=2 et: