summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD14
2 files changed, 12 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 395541101172..7dc7ed90a94b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Sat Jun 18 19:28:45 UTC 2016
+# Mon Apr 24 22:01:49 UTC 2017
pkgbase = fusion-icon-git
pkgdesc = Simple tray icon for Compiz 0.8
- pkgver = 0.2.2.r10.gb6fb51a
+ pkgver = 0.2.3.r4.g84e27a8
pkgrel = 1
epoch = 1
url = http://www.compiz.org/
diff --git a/PKGBUILD b/PKGBUILD
index 275b8795ef65..1906f97b05d1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@ _upstream=fusion-icon
pkgname=fusion-icon-git
epoch=1
-pkgver=0.2.2.r10.gb6fb51a
+pkgver=0.2.3.r4.g84e27a8
pkgrel=1
pkgdesc="Simple tray icon for Compiz 0.8"
arch=('any')
@@ -22,6 +22,7 @@ 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'
@@ -36,11 +37,16 @@ pkgver() {
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}"
- # Workaround until upstream autofills out main.py for each interface
- make PREFIX=/usr
- make PREFIX=/usr DESTDIR="$pkgdir" install
+ # Change to python2 if using Compiz 0.9.x
+ python ./setup.py install --root="$pkgdir" --optimize=1
}
sha256sums=('SKIP')