diff options
Diffstat (limited to 'abs/core/func/PKGBUILD')
-rw-r--r-- | abs/core/func/PKGBUILD | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/abs/core/func/PKGBUILD b/abs/core/func/PKGBUILD index 7e38d5d..08aee30 100644 --- a/abs/core/func/PKGBUILD +++ b/abs/core/func/PKGBUILD @@ -1,6 +1,6 @@ pkgname=func pkgver=0.25 -pkgrel=7 +pkgrel=8 pkgdesc="fedora unifed network controller" url="" license="gpl" @@ -9,15 +9,16 @@ makedepends=() conflicts=() replaces=() backup=('etc/func/minion.conf') -moddir="pkg/usr/lib/python2.6/site-packages/func/minion/modules/" +moddir="pkg/usr/lib/python2.7/site-packages/func/minion/modules/" install=func.install -source=($pkgname-$pkgver.tar.gz minion.conf power.py pacman.py failed_func fe_restart.py msg.py msg.cfg) +source=($pkgname-$pkgver.tar.gz minion.conf power.py pacman.py failed_func fe_restart.py msg.py msg.cfg func_ssl_patch) arch=('i686' 'x86_64') build() { cd $startdir/src/$pkgname-${pkgver} - python setup.py build - python setup.py install --prefix=$startdir/pkg/usr + patch -Np1 < $startdir/src/func_ssl_patch + python2 setup.py build + python2 setup.py install --prefix=$startdir/pkg/usr cd $startdir/src install -m755 -D minion.conf $startdir/pkg/etc/func/minion.conf install -m755 -D $startdir/src/$pkgname-$pkgver/etc/async_methods.conf $startdir/pkg/etc/func/async_methods.conf @@ -32,13 +33,15 @@ build() { mkdir -p $startdir/pkg/var/log/func cd $startdir/pkg + find ./usr/bin/* -exec sed -i 's|#!/usr/bin/python|#!/usr/bin/python2|' {} \; find ./ -name "*.pyc" -print | xargs rm -f } md5sums=('892252004f122c61bb58bb4607553ffe' '1e2905074203d5c0557f143a6c50c497' '1393088fa64823606e0b1c02296041f4' - '21f79d7395edc64b72db5576f9a7f384' + '32cc4d15a3083b518d9f645b656cc273' '5c62fad46fb95a14bc7093b506098e07' 'b02a733b7a74569e57521bc3708724a5' - '572bb6737cb03dee7e9d11ed40481bd2' - '28e141f04ccbdde1199b41888e102dc9') + '1bf9594c41817d4f70d4465b84cbe8b6' + '28e141f04ccbdde1199b41888e102dc9' + 'b816bdb222e646a7801b218c3a626b0e') |