File PKGBUILD of Package fusion-icon-git

# Maintainer: Josip Ponjavic <josipponjavic at gmail dot com>
# Contributor: Charles Bos <charlesbos1 AT gmail>

pkgname=fusion-icon-git
epoch=1
pkgver=0.2.2
pkgrel=2
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-xvinfo' 'mesa-demos')
makedepends=('intltool')
# 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!
optdepends=('python-pyqt5: For the Qt Interface'
            'python-gobject: For the GTK+ Interface'
            'libappindicator-gtk3: For the GTK+ Interface')
install=fusion-icon.install
source=("${pkgname}-${pkgver}.tar.xz")
md5sums=('SKIP')

package() {
  cd "${pkgname}-${pkgver}"
  # Workaround until upstream autofills out main.py for each interface
  make PREFIX=/usr
  make PREFIX=/usr DESTDIR=$pkgdir install
}
openSUSE Build Service is sponsored by