mirror of
https://github.com/arcan1s/netctl-gui.git
synced 2025-04-24 15:37:23 +00:00
update pkgbuild to the current changes
This commit is contained in:
parent
c75f5ec135
commit
0989a6584b
92
PKGBUILD
92
PKGBUILD
@ -1,21 +1,19 @@
|
|||||||
# Maintainer: Evgeniy "arcanis" Alexeev <arcanis.arch at gmail dot com>
|
# Maintainer: Evgeniy "arcanis" Alexeev <arcanis.arch at gmail dot com>
|
||||||
|
|
||||||
pkgbase=netctl-gui
|
pkgbase=netctl-gui
|
||||||
pkgname=('libnetctlgui' 'netctl-gui' 'netctl-gui-qt4' 'kdeplasma-applets-netctl-gui')
|
pkgname=('libnetctlgui' 'netctlgui-helper' 'netctl-gui'
|
||||||
pkgver=1.2.0
|
'libnetctlgui-qt4' 'netctlgui-helper-qt4' 'netctl-gui-qt4'
|
||||||
|
'kdeplasma-applets-netctl-gui')
|
||||||
|
pkgver=1.3.0
|
||||||
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')
|
||||||
url="http://arcanis.name/projects/netctl-gui"
|
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')
|
||||||
optdepends=('kdebase-runtime: sudo support'
|
|
||||||
'kdeplasma-applets-netctl-gui: KDE widget'
|
|
||||||
'sudo: sudo support'
|
|
||||||
'wpa_supplicant: wifi support')
|
|
||||||
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")
|
||||||
install="${pkgbase}.install"
|
install="${pkgbase}.install"
|
||||||
md5sums=('9e9a55bb085179af17e93a2dff4bc75b')
|
md5sums=('0cd01301241d3b6c809f98b5d8e88b35')
|
||||||
|
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
@ -31,6 +29,7 @@ build() {
|
|||||||
-DBUILD_DOCS:BOOL=0 \
|
-DBUILD_DOCS:BOOL=0 \
|
||||||
-DBUILD_GUI:BOOL=0 \
|
-DBUILD_GUI:BOOL=0 \
|
||||||
-DBUILD_LIBRARY:BOOL=0 \
|
-DBUILD_LIBRARY:BOOL=0 \
|
||||||
|
-DBUILD_HELPER:BOOL=0 \
|
||||||
"../${pkgbase}"
|
"../${pkgbase}"
|
||||||
make
|
make
|
||||||
|
|
||||||
@ -55,19 +54,12 @@ build() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
package_libnetctlgui() {
|
|
||||||
pkgdesc="Qt5 library which interacts with netctl. A part of netctl-gui"
|
|
||||||
depends=('netctl' 'qt5-base')
|
|
||||||
|
|
||||||
cd "${srcdir}/build-qt5/netctlgui"
|
|
||||||
make DESTDIR="${pkgdir}" install
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
package_kdeplasma-applets-netctl-gui() {
|
package_kdeplasma-applets-netctl-gui() {
|
||||||
pkgdesc="A plasmoid, which interacts with netctl. A part of netctl-gui"
|
pkgdesc="A plasmoid, which interacts with netctl. A part of netctl-gui"
|
||||||
depends=('netctl' 'kdebase-workspace')
|
depends=('netctl' 'kdebase-workspace')
|
||||||
optdepends=('kdebase-runtime: sudo support'
|
optdepends=('kdebase-runtime: sudo support'
|
||||||
|
'netctlgui-helper: DBus helper daemon'
|
||||||
|
'netctlgui-helper-qt4: DBus helper daemon'
|
||||||
'netctl-gui: graphical front-end'
|
'netctl-gui: graphical front-end'
|
||||||
'netctl-gui-qt4: graphical front-end'
|
'netctl-gui-qt4: graphical front-end'
|
||||||
'sudo: sudo support')
|
'sudo: sudo support')
|
||||||
@ -78,9 +70,36 @@ package_kdeplasma-applets-netctl-gui() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
package_libnetctlgui() {
|
||||||
|
pkgdesc="Qt5 library which interacts with netctl. A part of netctl-gui"
|
||||||
|
depends=('netctl' 'qt5-base')
|
||||||
|
optdepends=('netctlgui-helper: DBus helper daemon'
|
||||||
|
'sudo: sudo support'
|
||||||
|
'wpa_supplicant: wifi support')
|
||||||
|
provides=('libnetctlgui-qt4')
|
||||||
|
conflicts=('libnetctlgui-qt4')
|
||||||
|
|
||||||
|
cd "${srcdir}/build-qt5/netctlgui"
|
||||||
|
make DESTDIR="${pkgdir}" install
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
package_netctlgui-helper() {
|
||||||
|
pkgdesc="Helper daemon for netctl-gui. A part of netctl-gui"
|
||||||
|
depends=('libnetctlgui')
|
||||||
|
provides=('netctlgui-helper-qt4')
|
||||||
|
conflicts=('netctlgui-helper-qt4')
|
||||||
|
|
||||||
|
cd "${srcdir}/build-qt5/helper"
|
||||||
|
make DESTDIR="${pkgdir}" install
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
package_netctl-gui() {
|
package_netctl-gui() {
|
||||||
pkgdesc="Qt5 graphical front-end for netctl. A part of netctl-gui"
|
pkgdesc="Qt5 graphical front-end for netctl. A part of netctl-gui"
|
||||||
depends=('libnetctlgui')
|
depends=('libnetctlgui' 'xdg-utils')
|
||||||
|
optdepends=('kdeplasma-applets-netctl-gui: KDE widget'
|
||||||
|
'netctlgui-helper: DBus helper daemon')
|
||||||
provides=('netctl-gui-qt4')
|
provides=('netctl-gui-qt4')
|
||||||
conflicts=('netctl-gui-qt4')
|
conflicts=('netctl-gui-qt4')
|
||||||
install="${pkgbase}.install"
|
install="${pkgbase}.install"
|
||||||
@ -90,13 +109,40 @@ package_netctl-gui() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
package_netctl-gui-qt4() {
|
package_libnetctlgui-qt4() {
|
||||||
pkgdesc="Qt4 graphical front-end for netctl. A part of netctl-gui"
|
pkgdesc="Qt4 library which interacts with netctl. A part of netctl-gui"
|
||||||
depends=('netctl' 'qt4')
|
depends=('netctl' 'qt4')
|
||||||
provides=('libnetctlgui' 'netctl-gui')
|
optdepends=('netctlgui-helper-qt4: DBus helper daemon'
|
||||||
conflicts=('libnetctlgui' 'netctl-gui')
|
'sudo: sudo support'
|
||||||
install="${pkgbase}.install"
|
'wpa_supplicant: wifi support')
|
||||||
|
provides=('libnetctlgui')
|
||||||
|
conflicts=('libnetctlgui')
|
||||||
|
|
||||||
cd "${srcdir}/build-qt4"
|
cd "${srcdir}/build-qt4/netctlgui"
|
||||||
|
make DESTDIR="${pkgdir}" install
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
package_netctlgui-helper-qt4() {
|
||||||
|
pkgdesc="Helper daemon for netctl-gui. A part of netctl-gui"
|
||||||
|
depends=('libnetctlgui-qt4')
|
||||||
|
provides=('netctlgui-helper')
|
||||||
|
conflicts=('netctlgui-helper')
|
||||||
|
|
||||||
|
cd "${srcdir}/build-qt4/helper"
|
||||||
|
make DESTDIR="${pkgdir}" install
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
package_netctl-gui-qt4() {
|
||||||
|
pkgdesc="Qt4 graphical front-end for netctl. A part of netctl-gui"
|
||||||
|
depends=('libnetctlgui-qt4')
|
||||||
|
optdepends=('kdeplasma-applets-netctl-gui: KDE widget'
|
||||||
|
'netctlgui-helper-qt4: DBus helper daemon')
|
||||||
|
provides=('netctl-gui')
|
||||||
|
conflicts=('netctl-gui')
|
||||||
|
install="${pkgbase}.install"
|
||||||
|
|
||||||
|
cd "${srcdir}/build-qt4/gui"
|
||||||
make DESTDIR="${pkgdir}" install
|
make DESTDIR="${pkgdir}" install
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user