summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorShadowKyogre2017-04-24 15:01:57 -0700
committerShadowKyogre2017-04-24 15:01:57 -0700
commit1cd4c7166f7db77dfbf4120752e12386f2e00776 (patch)
treec884597d2f2368a6687d41192bb32f6dba18d988
parentea5a89df564082dd4262cece64e44ac3bb6da93c (diff)
downloadaur-1cd4c7166f7db77dfbf4120752e12386f2e00776.tar.gz
Call the setup.py file directly
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD14
2 files changed, 12 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 39554110117..7dc7ed90a94 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 275b8795ef6..1906f97b05d 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')