summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1906f97b05d16bcb1070345f415100976b7a28fd (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Maintainer: Sapphira Armageddos <shadowkyogre.public@gmail.com>
# Contributor: Charles Bos <charlesbos1 AT gmail>
# Contributor: Pantelis Panayiotou <p.panayiotou@gmail.com>
# Contributor: Ronald van Haren <ronald.archlinux.org>
# Contributor: nesl247 <nesl247@gmail.com>
# Contributor: JJDaNiMoTh <jjdanimoth@gmail.com>

_upstream=fusion-icon

pkgname=fusion-icon-git
epoch=1
pkgver=0.2.3.r4.g84e27a8
pkgrel=1
pkgdesc="Simple tray icon for Compiz 0.8"
arch=('any')
url="http://www.compiz.org/"
license=('GPL')
conflicts=('fusion-icon0.9' 'fusion-icon')
provides=('fusion-icon')
depends=('compizconfig-python' 'hicolor-icon-theme' 'xorg-utils' 'mesa-demos')

# Note to anyone who builds this: Make sure you install the appropriate
# dependencies for the user interfaces you want to use! Otherwise, it'll appear
# like it's not working!
# Change to python2 if using Compiz 0.9.x
optdepends=(
	'python-pyqt5: For the Qt Interface'
	'python-gobject: For the GTK+ Interface'
	'libappindicator-gtk3: For the GTK+ Interface'
)

install="$pkgname.install"
source=("git+https://github.com/compiz-reloaded/${_upstream}")

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

build() {
  cd "${srcdir}/${_upstream}"
  # Change to python2 if using Compiz 0.9.x
  python ./setup.py build
}

package() {
  cd "${srcdir}/${_upstream}"
  # Change to python2 if using Compiz 0.9.x
  python ./setup.py install --root="$pkgdir" --optimize=1
}

sha256sums=('SKIP')