summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 61d0e0b01b25d3bfe3b97d04495edaeb16152fa2 (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
# Maintainer: oleerik <elo@tuta.io>
# Contributor: shinnova

pkgname=comptray
pkgver=r25.1e03525
pkgrel=1
pkgdesc="Compton toggle for the tray"
arch=('any')
url="http://github.com/oleerik/comptray"
license=('GPL')
depends=('python2'
	'gtk2'
	'pygtk'
	'compton')
optdepends=('compton-conf: GUI configuration for Compton')
source=("git+$url.git")
md5sums=("SKIP")

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

package() {
  cd $srcdir/$pkgname
  install -Dm 755 $pkgname $pkgdir/usr/bin/$pkgname
}