summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD11
1 files changed, 8 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index d08196d8db7e..50d020ff6160 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@ license=GPL
arch=(i686 x86_64)
provides=(fbpanel fbpanel-svn)
conflicts=(fbpanel fbpanel-svn)
-depends=(gtk2 python)
+depends=(gtk2 python2)
makedepends=(automake autoconf)
url=https://github.com/aanatoly/$gitname
source=("git+$url.git")
@@ -19,10 +19,15 @@ pkgver() {
printf "%s" "${ver//-/.}"
}
-build(){
+prepare() {
cd "${srcdir}/${gitname}"
- ./configure --prefix=/usr
+ sed -i 's|/usr/bin/python$|/usr/bin/python2|' configure
+ ./configure --prefix=/usr --libexecdir=/usr/lib
echo "LDFLAGSX += -lX11 -lm" >>config.mk
+ sed -i 's|/usr/bin/python$|/usr/bin/python2|' repl.py
+}
+build(){
+ cd "${srcdir}/${gitname}"
ionice -c 3 nice -n 19 make
}
package(){