mirror of
https://github.com/arcan1s/pkgbuild.git
synced 2025-04-24 15:37:18 +00:00
netctl-gui
This commit is contained in:
parent
b6ad4f88e5
commit
0bf4f51518
Binary file not shown.
39
netctl-gui/PKGBUILD-qt4
Normal file
39
netctl-gui/PKGBUILD-qt4
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
# Maintainer: Evgeniy "arcanis" Alexeev <arcanis.arch at gmail dot com>
|
||||||
|
|
||||||
|
pkgname=netctl-gui-qt4
|
||||||
|
_pkgname=netctl-gui
|
||||||
|
pkgver=1.0.5
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Qt4 graphical front-end for netctl. A part of netctl-gui"
|
||||||
|
arch=('i686' 'x86_64')
|
||||||
|
url="http://arcanis.name/projects/netctl-gui"
|
||||||
|
license=('GPLv3')
|
||||||
|
depends=('netctl' 'qt4')
|
||||||
|
makedepends=('automoc4' 'cmake' 'desktop-file-utils')
|
||||||
|
optdepends=('kdebase-runtime: sudo support'
|
||||||
|
'kdeplasma-applets-netctl-gui: KDE widget'
|
||||||
|
'sudo: sudo support'
|
||||||
|
'wpa_supplicant: wifi support')
|
||||||
|
provides=('netctl-gui')
|
||||||
|
conflicts=('netctl-gui')
|
||||||
|
source=("https://github.com/arcan1s/netctl-gui/releases/download/V.${pkgver}/${_pkgname}-${pkgver}-src.tar.xz")
|
||||||
|
install="${_pkgname}.install"
|
||||||
|
md5sums=('1ed6e64f06865f129710101ca83624f7')
|
||||||
|
|
||||||
|
_cmakekeys="-DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DUSE_QT5:BOOL=0 -DBUILD_DATAENGINE:BOOL=0 -DBUILD_PLASMOID:BOOL=0"
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
rm -rf "${srcdir}/build"
|
||||||
|
mkdir "${srcdir}/build"
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "${srcdir}/build"
|
||||||
|
cmake ${_cmakekeys} "../${_pkgname}"
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "${srcdir}/build"
|
||||||
|
make DESTDIR="${pkgdir}" install
|
||||||
|
}
|
@ -1,35 +1,23 @@
|
|||||||
# Maintainer: Evgeniy "arcanis" Alexeev <arcanis.arch at gmail dot com>
|
# Maintainer: Evgeniy "arcanis" Alexeev <arcanis.arch at gmail dot com>
|
||||||
|
|
||||||
# comment out needed line if you dont need this component
|
|
||||||
#_use_qt5=0
|
|
||||||
#_build_gui=0
|
|
||||||
#_build_plasmoid=0
|
|
||||||
|
|
||||||
pkgname=netctl-gui
|
pkgname=netctl-gui
|
||||||
pkgver=1.0.4
|
pkgver=1.0.5
|
||||||
pkgrel=3
|
pkgrel=4
|
||||||
pkgdesc="Qt4/Qt5 GUI for netctl. Provides a plasmoid for KDE4"
|
pkgdesc="Qt5 graphical front-end for netctl. A part of netctl-gui"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
url="http://arcanis.name/projects/netctl-gui"
|
url="http://arcanis.name/projects/netctl-gui"
|
||||||
license=('GPLv3')
|
license=('GPLv3')
|
||||||
depends=('netctl' 'qt5-base')
|
depends=('netctl' 'qt5-base' 'xdg-utils')
|
||||||
makedepends=('automoc4' 'cmake' 'qt5-tools')
|
makedepends=('automoc4' 'cmake' 'qt5-tools')
|
||||||
optdepends=('kdebase-runtime: sudo support'
|
optdepends=('kdebase-runtime: sudo support'
|
||||||
|
'kdeplasma-applets-netctl-gui: KDE widget'
|
||||||
'sudo: sudo support'
|
'sudo: sudo support'
|
||||||
'wpa_supplicant: wifi support')
|
'wpa_supplicant: wifi support')
|
||||||
source=("https://github.com/arcan1s/netctl-gui/releases/download/V.${pkgver}/${pkgname}-${pkgver}-src.tar.xz")
|
source=("https://github.com/arcan1s/netctl-gui/releases/download/V.${pkgver}/${pkgname}-${pkgver}-src.tar.xz")
|
||||||
install="${pkgname}.install"
|
install="${pkgname}.install"
|
||||||
md5sums=('110dc309d0b35df8a9801ac3f4ffd931')
|
md5sums=('1ed6e64f06865f129710101ca83624f7')
|
||||||
|
|
||||||
# flags
|
_cmakekeys="-DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DBUILD_DATAENGINE:BOOL=0 -DBUILD_PLASMOID:BOOL=0"
|
||||||
_cmakekeys="-DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release"
|
|
||||||
if [[ ${_use_qt5} == 0 ]]; then
|
|
||||||
_cmakekeys=${_cmakekeys}" -DUSE_QT5:BOOL=0"
|
|
||||||
depends=('netctl' 'qt4')
|
|
||||||
makedepends=('automoc4' 'cmake' 'desktop-file-utils' 'xdg-utils')
|
|
||||||
fi
|
|
||||||
[[ ${_build_gui} == 0 ]] && _cmakekeys=${_cmakekeys}" -DBUILD_GUI:BOOL=0"
|
|
||||||
[[ ${_build_plasmoid} == 0 ]] && _cmakekeys=${_cmakekeys}" -DBUILD_DATAENGINE:BOOL=0 -DBUILD_PLASMOID:BOOL=0" || depends+=('kdebase-workspace')
|
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
rm -rf "${srcdir}/build"
|
rm -rf "${srcdir}/build"
|
37
netctl-gui/PKGBUILD-widget
Normal file
37
netctl-gui/PKGBUILD-widget
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
# Maintainer: Evgeniy "arcanis" Alexeev <arcanis.arch at gmail dot com>
|
||||||
|
|
||||||
|
pkgname=kdeplasma-applets-netctl-gui
|
||||||
|
_pkgname=netctl-gui
|
||||||
|
pkgver=1.0.5
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="A plasmoid, which interacts with netctl. A part of netctl-gui"
|
||||||
|
arch=('i686' 'x86_64')
|
||||||
|
url="http://arcanis.name/projects/netctl-gui"
|
||||||
|
license=('GPLv3')
|
||||||
|
depends=('netctl' 'kdebase-workspace')
|
||||||
|
makedepends=('automoc4' 'cmake')
|
||||||
|
optdepends=('kdebase-runtime: sudo support'
|
||||||
|
'netctl-gui: graphical front-end'
|
||||||
|
'netctl-gui-qt4: graphical front-end'
|
||||||
|
'sudo: sudo support')
|
||||||
|
source=("https://github.com/arcan1s/netctl-gui/releases/download/V.${pkgver}/${_pkgname}-${pkgver}-src.tar.xz")
|
||||||
|
install="${_pkgname}.install"
|
||||||
|
md5sums=('1ed6e64f06865f129710101ca83624f7')
|
||||||
|
|
||||||
|
_cmakekeys="-DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DBUILD_GUI:BOOL=0"
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
rm -rf "${srcdir}/build"
|
||||||
|
mkdir "${srcdir}/build"
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "${srcdir}/build"
|
||||||
|
cmake ${_cmakekeys} "../${_pkgname}"
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "${srcdir}/build"
|
||||||
|
make DESTDIR="${pkgdir}" install
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user