updte netctlguo

This commit is contained in:
arcan1s 2014-09-06 15:05:00 +04:00
parent 59bc11af31
commit 82485bca4c
3 changed files with 11 additions and 5 deletions

View File

@ -4,7 +4,7 @@ pkgbase=netctl-gui
pkgname=('libnetctlgui' 'netctlgui-helper' 'netctl-gui' pkgname=('libnetctlgui' 'netctlgui-helper' 'netctl-gui'
'libnetctlgui-qt4' 'netctlgui-helper-qt4' 'netctl-gui-qt4' 'libnetctlgui-qt4' 'netctlgui-helper-qt4' 'netctl-gui-qt4'
'kdeplasma-applets-netctl-gui') 'kdeplasma-applets-netctl-gui')
pkgver=1.3.0 pkgver=1.3.1
pkgrel=1 pkgrel=1
pkgdesc="Qt4/Qt5 GUI for netctl. Also provides a widget for KDE" pkgdesc="Qt4/Qt5 GUI for netctl. Also provides a widget for KDE"
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
@ -12,7 +12,7 @@ url="http://arcanis.name/projects/netctl-gui"
license=('GPL3') license=('GPL3')
makedepends=('automoc4' 'cmake' 'kdelibs' 'qt5-base' 'qt5-tools') makedepends=('automoc4' 'cmake' 'kdelibs' 'qt5-base' 'qt5-tools')
source=("https://github.com/arcan1s/netctl-gui/releases/download/V.${pkgver}/${pkgbase}-${pkgver}-src.tar.xz") source=("https://github.com/arcan1s/netctl-gui/releases/download/V.${pkgver}/${pkgbase}-${pkgver}-src.tar.xz")
md5sums=('9b56b04258855258ed30549f1039b8f8') md5sums=('d57bf3773f6cd9ead91c2669a02360fb')
prepare() { prepare() {
@ -84,7 +84,8 @@ package_netctlgui-helper() {
depends=('libnetctlgui') depends=('libnetctlgui')
provides=('netctlgui-helper-qt4') provides=('netctlgui-helper-qt4')
conflicts=('netctlgui-helper-qt4') conflicts=('netctlgui-helper-qt4')
backup=('etc/netctlgui-helper.conf') backup=('etc/netctlgui-helper.conf'
'etc/dbus-1/system.d/org.netctlgui.helper.conf')
install="netctlgui-helper.install" install="netctlgui-helper.install"
cd "${srcdir}/build-qt5/helper" cd "${srcdir}/build-qt5/helper"
@ -126,7 +127,8 @@ package_netctlgui-helper-qt4() {
depends=('libnetctlgui-qt4') depends=('libnetctlgui-qt4')
provides=('netctlgui-helper') provides=('netctlgui-helper')
conflicts=('netctlgui-helper') conflicts=('netctlgui-helper')
backup=('etc/netctlgui-helper.conf') backup=('etc/netctlgui-helper.conf'
'etc/dbus-1/system.d/org.netctlgui.helper.conf')
install="netctlgui-helper.install" install="netctlgui-helper.install"
cd "${srcdir}/build-qt4/helper" cd "${srcdir}/build-qt4/helper"

View File

@ -1,5 +1,5 @@
post_install() { post_install() {
xdg-icon-resource forceupdate --theme hicolor 2> /dev/null true
} }
post_upgrade() { post_upgrade() {

View File

@ -1,5 +1,9 @@
post_install() { post_install() {
setcap cap_setuid=ep usr/bin/netctlgui-helper 2>/dev/null || chmod +s usr/bin/ping setcap cap_setuid=ep usr/bin/netctlgui-helper 2>/dev/null || chmod +s usr/bin/ping
cat << EOF
Note: users should be in network group if you want to get them access to the system bus
See http://arcanis.name/devs/netctl-gui-security-notes.html#helper
EOF
} }
post_upgrade() { post_upgrade() {