mirror of
https://github.com/arcan1s/netctl-gui.git
synced 2025-04-25 07:57:20 +00:00
update pkgbuilds
This commit is contained in:
parent
cce4ef4811
commit
2bf1d0f78e
81
PKGBUILD
Normal file
81
PKGBUILD
Normal file
@ -0,0 +1,81 @@
|
|||||||
|
# Maintainer: Evgeniy "arcanis" Alexeev <arcanis.arch at gmail dot com>
|
||||||
|
|
||||||
|
pkgbase=netctl-gui
|
||||||
|
pkgname=('netctl-gui' 'netctl-gui-qt4' 'kdeplasma-applets-netctl-gui')
|
||||||
|
pkgver=1.1.0
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Qt4/Qt5 GUI for netctl. Also provides a widget for KDE"
|
||||||
|
arch=('i686' 'x86_64')
|
||||||
|
url="http://arcanis.name/projects/netctl-gui"
|
||||||
|
license=('GPL3')
|
||||||
|
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")
|
||||||
|
install="${pkgbase}.install"
|
||||||
|
md5sums=('229e11efda0a94bed44ea79b3deabf7c')
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
rm -rf "${srcdir}/"{build-plasmoid,build-qt4,build-qt5}
|
||||||
|
mkdir "${srcdir}/"{build-plasmoid,build-qt4,build-qt5}
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "${srcdir}/build-plasmoid"
|
||||||
|
cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
|
-DBUILD_GUI:BOOL=0 \
|
||||||
|
"../${pkgbase}"
|
||||||
|
make
|
||||||
|
|
||||||
|
cd "${srcdir}/build-qt4"
|
||||||
|
cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
|
-DBUILD_DATAENGINE:BOOL=0 \
|
||||||
|
-DBUILD_PLASMOID:BOOL=0 \
|
||||||
|
-DUSE_QT5:BOOL=0 \
|
||||||
|
"../${pkgbase}"
|
||||||
|
make
|
||||||
|
|
||||||
|
cd "${srcdir}/build-qt5"
|
||||||
|
cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
|
-DBUILD_DATAENGINE:BOOL=0 \
|
||||||
|
-DBUILD_PLASMOID:BOOL=0 \
|
||||||
|
"../${pkgbase}"
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package_kdeplasma-applets-netctl-gui() {
|
||||||
|
pkgdesc="A plasmoid, which interacts with netctl. A part of netctl-gui"
|
||||||
|
depends=('netctl' 'kdebase-workspace')
|
||||||
|
optdepends=('kdebase-runtime: sudo support'
|
||||||
|
'netctl-gui: graphical front-end'
|
||||||
|
'netctl-gui-qt4: graphical front-end'
|
||||||
|
'sudo: sudo support')
|
||||||
|
|
||||||
|
cd "${srcdir}/build-plasmoid"
|
||||||
|
make DESTDIR="${pkgdir}" install
|
||||||
|
}
|
||||||
|
|
||||||
|
package_netctl-gui() {
|
||||||
|
pkgdesc="Qt5 graphical front-end for netctl. A part of netctl-gui"
|
||||||
|
depends=('netctl' 'qt5-base' 'xdg-utils')
|
||||||
|
provides=('netctl-gui-qt4')
|
||||||
|
conflicts=('netctl-gui-qt4')
|
||||||
|
|
||||||
|
cd "${srcdir}/build-qt5"
|
||||||
|
make DESTDIR="${pkgdir}" install
|
||||||
|
}
|
||||||
|
|
||||||
|
package_netctl-gui-qt4() {
|
||||||
|
pkgdesc="Qt4 graphical front-end for netctl. A part of netctl-gui"
|
||||||
|
depends=('netctl' 'qt4')
|
||||||
|
provides=('netctl-gui')
|
||||||
|
conflicts=('netctl-gui')
|
||||||
|
|
||||||
|
cd "${srcdir}/build-qt4"
|
||||||
|
make DESTDIR="${pkgdir}" install
|
||||||
|
}
|
39
PKGBUILD-qt4
39
PKGBUILD-qt4
@ -1,39 +0,0 @@
|
|||||||
# Maintainer: Evgeniy "arcanis" Alexeev <arcanis.arch at gmail dot com>
|
|
||||||
|
|
||||||
pkgname=netctl-gui-qt4
|
|
||||||
_pkgname=netctl-gui
|
|
||||||
pkgver=1.1.0
|
|
||||||
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=('229e11efda0a94bed44ea79b3deabf7c')
|
|
||||||
|
|
||||||
_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
|
|
||||||
}
|
|
36
PKGBUILD-qt5
36
PKGBUILD-qt5
@ -1,36 +0,0 @@
|
|||||||
# Maintainer: Evgeniy "arcanis" Alexeev <arcanis.arch at gmail dot com>
|
|
||||||
|
|
||||||
pkgname=netctl-gui
|
|
||||||
pkgver=1.1.0
|
|
||||||
pkgrel=1
|
|
||||||
pkgdesc="Qt5 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' 'qt5-base' 'xdg-utils')
|
|
||||||
makedepends=('automoc4' 'cmake' '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}/${pkgname}-${pkgver}-src.tar.xz")
|
|
||||||
install="${pkgname}.install"
|
|
||||||
md5sums=('229e11efda0a94bed44ea79b3deabf7c')
|
|
||||||
|
|
||||||
_cmakekeys="-DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -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,37 +0,0 @@
|
|||||||
# Maintainer: Evgeniy "arcanis" Alexeev <arcanis.arch at gmail dot com>
|
|
||||||
|
|
||||||
pkgname=kdeplasma-applets-netctl-gui
|
|
||||||
_pkgname=netctl-gui
|
|
||||||
pkgver=1.1.0
|
|
||||||
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=('229e11efda0a94bed44ea79b3deabf7c')
|
|
||||||
|
|
||||||
_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
|
|
||||||
}
|
|
@ -69,4 +69,4 @@ Links
|
|||||||
-----
|
-----
|
||||||
* [Homepage](http://arcanis.name/projects/netctl-gui)
|
* [Homepage](http://arcanis.name/projects/netctl-gui)
|
||||||
* Page on [kde-apps](http://kde-apps.org/content/show.php?content=164490)
|
* Page on [kde-apps](http://kde-apps.org/content/show.php?content=164490)
|
||||||
* Archlinux [AUR](https://aur.archlinux.org/packages/netctl-gui) package
|
* Archlinux [AUR](https://aur.archlinux.org/pkgbase/netctl-gui/) package
|
||||||
|
Loading…
Reference in New Issue
Block a user