summaryrefslogtreecommitdiffstats
path: root/abs/mv-core/func/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-02-26 20:46:38 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-02-26 20:46:38 (GMT)
commit8564f284b1b20b75f9c81e819116dd292f547389 (patch)
treebdd837ffafd370da3bb7f78efe23ba87348b4b34 /abs/mv-core/func/PKGBUILD
parent0d29973b73419a2baa101234e0f19d3d19bb6de2 (diff)
downloadlinhes_pkgbuild-8564f284b1b20b75f9c81e819116dd292f547389.zip
linhes_pkgbuild-8564f284b1b20b75f9c81e819116dd292f547389.tar.gz
linhes_pkgbuild-8564f284b1b20b75f9c81e819116dd292f547389.tar.bz2
Restoring the func to mythvantage.
Still need to rework the pacman module.
Diffstat (limited to 'abs/mv-core/func/PKGBUILD')
-rw-r--r--abs/mv-core/func/PKGBUILD14
1 files changed, 8 insertions, 6 deletions
diff --git a/abs/mv-core/func/PKGBUILD b/abs/mv-core/func/PKGBUILD
index af1c5b5..3cd4bad 100644
--- a/abs/mv-core/func/PKGBUILD
+++ b/abs/mv-core/func/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=func
-pkgver=0.13
-pkgrel=18
+pkgver=0.24
+pkgrel=7
pkgdesc="fedora unifed network controller"
url=""
license="gpl"
@@ -9,10 +9,9 @@ makedepends=()
conflicts=()
replaces=()
backup=()
-moddir="pkg/usr/lib/python2.5/site-packages/func/minion/modules/"
+moddir="pkg/usr/lib/python2.6/site-packages/func/minion/modules/"
install=func.install
-#source=(https://hosted.fedoraproject.org/projects/func/attachment/wiki/FuncReleases/$pkgname-$pkgver.tar.gz)
-source=($pkgname-$pkgver.tar.gz certmaster.conf minion.conf power.py pacman.py failed_func.sh)
+source=($pkgname-$pkgver.tar.gz minion.conf power.py pacman.py failed_func.sh)
md5sums=()
arch=('i686')
@@ -23,10 +22,13 @@ build() {
python setup.py install --prefix=$startdir/pkg/usr
cd $startdir/src
install -m755 -D minion.conf $startdir/pkg/etc/func/minion.conf
- install -m755 -D certmaster.conf $startdir/pkg/etc/func/certmaster.conf
+ install -m755 -D async_methods.conf $startdir/pkg/etc/func/async_methods.conf
install -m755 -D $startdir/src/$pkgname-${pkgver}/etc/sample.acl $startdir/pkg/etc/func/minion-acl.d/sample.acl
+ install -m755 -D $startdir/src/$pkgname-${pkgver}/etc/Test.conf $startdir/pkg/etc/func/modules/Test.conf
install -m755 -D $startdir/src/power.py ${startdir}/${moddir}/power.py
install -m755 -D $startdir/src/pacman.py ${startdir}/${moddir}/pacman.py
install -m755 -D $startdir/src/failed_func.sh $startdir/pkg/usr/bin/failed_func.sh
mkdir -p $startdir/pkg/var/log/func
+ cd $startdir/pkg
+ find ./ -name "*.pyc" -print | xargs rm -f
}