summaryrefslogtreecommitdiffstats
path: root/abs/core/func/PKGBUILD
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2013-11-27 23:11:51 (GMT)
committerBritney Fransen <brfransen@gmail.com>2013-11-27 23:11:51 (GMT)
commit53cdae83dcdff66811e5a336fda909642b04d4a2 (patch)
treeeee6be38cc03f5c12178e993ff5bc80ba317beb2 /abs/core/func/PKGBUILD
parent5f089a293712100ad1b1ef07248a65baa7449171 (diff)
parent13329fa498c6a12fd1bcd81ec6168a443a705f8d (diff)
downloadlinhes_pkgbuild-53cdae83dcdff66811e5a336fda909642b04d4a2.zip
linhes_pkgbuild-53cdae83dcdff66811e5a336fda909642b04d4a2.tar.gz
linhes_pkgbuild-53cdae83dcdff66811e5a336fda909642b04d4a2.tar.bz2
Merge branch 'testing' of linhes.org:linhes_pkgbuild into testing
Diffstat (limited to 'abs/core/func/PKGBUILD')
-rw-r--r--abs/core/func/PKGBUILD34
1 files changed, 16 insertions, 18 deletions
diff --git a/abs/core/func/PKGBUILD b/abs/core/func/PKGBUILD
index a4844cb..1b7b000 100644
--- a/abs/core/func/PKGBUILD
+++ b/abs/core/func/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=func
pkgver=0.25
-pkgrel=16
+pkgrel=17
pkgdesc="fedora unifed network controller"
url=""
license="gpl"
@@ -10,27 +10,26 @@ conflicts=()
replaces=()
backup=('etc/func/minion.conf')
install=func.install
-source=($pkgname-$pkgver.tar.gz minion.conf power.py pacman.py failed_func fe_restart.py msg.py msg.cfg func_ssl_patch logrotate-func.conf)
+source=($pkgname-$pkgver.tar.gz minion.conf power.py pacman.py failed_func fe_restart.py msg.py func_ssl_patch logrotate-func.conf)
arch=('i686' 'x86_64')
package() {
moddir="$pkgdir/usr/lib/python2.7/site-packages/func/minion/modules/"
- cd $srcdir/$pkgname-${pkgver}
+ cd $srcdir/$pkgname-${pkgver}
patch -Np1 < $srcdir/func_ssl_patch
- python2 setup.py build
- python2 setup.py install --prefix=$pkgdir/usr
- cd $srcdir
- install -m755 -D minion.conf $pkgdir/etc/func/minion.conf
- install -m755 -D $srcdir/$pkgname-$pkgver/etc/async_methods.conf $pkgdir/etc/func/async_methods.conf
- install -m755 -D $srcdir/$pkgname-${pkgver}/etc/sample.acl $pkgdir/etc/func/minion-acl.d/sample.acl
- install -m755 -D $srcdir/$pkgname-${pkgver}/etc/Test.conf $pkgdir/etc/func/modules/Test.conf
- install -m755 -D $srcdir/power.py ${moddir}/power.py
- install -m755 -D $srcdir/pacman.py ${moddir}/pacman.py
- install -m755 -D $srcdir/msg.py ${moddir}/msg.py
- install -m755 -D $srcdir/msg.cfg $pkgdir/usr/MythVantage/etc/msg.cfg
- install -m755 -D $srcdir/fe_restart.py ${moddir}/fe_restart.py
- install -m755 -D $srcdir/failed_func $pkgdir/usr/MythVantage/bin/failed_func
- mkdir -p $pkgdir/var/log/func
+ python2 setup.py build
+ python2 setup.py install --prefix=$pkgdir/usr
+ cd $srcdir
+ install -m755 -D minion.conf $pkgdir/etc/func/minion.conf
+ install -m755 -D $srcdir/$pkgname-$pkgver/etc/async_methods.conf $pkgdir/etc/func/async_methods.conf
+ install -m755 -D $srcdir/$pkgname-${pkgver}/etc/sample.acl $pkgdir/etc/func/minion-acl.d/sample.acl
+ install -m755 -D $srcdir/$pkgname-${pkgver}/etc/Test.conf $pkgdir/etc/func/modules/Test.conf
+ install -m755 -D $srcdir/power.py ${moddir}/power.py
+ install -m755 -D $srcdir/pacman.py ${moddir}/pacman.py
+ install -m755 -D $srcdir/msg.py ${moddir}/msg.py
+ install -m755 -D $srcdir/fe_restart.py ${moddir}/fe_restart.py
+ install -m755 -D $srcdir/failed_func $pkgdir/usr/MythVantage/bin/failed_func
+ mkdir -p $pkgdir/var/log/func
install -m644 -D ../logrotate-func.conf $pkgdir/etc/logrotate.d/func
cd $pkgdir
@@ -44,6 +43,5 @@ md5sums=('892252004f122c61bb58bb4607553ffe'
'c30f420c01628a08061270e8502115c5'
'b02a733b7a74569e57521bc3708724a5'
'7b4266a8031cf7de485bf6b74e57bd74'
- 'bdd37627c9effd745a051fd2d279975b'
'b816bdb222e646a7801b218c3a626b0e'
'7d7c8a334f6b46ae1e5e483854b93924')