mirror of
https://github.com/arcan1s/netctl-gui.git
synced 2025-04-24 23:47:21 +00:00
edited pkgbuild
This commit is contained in:
parent
9b3902e971
commit
32fb8ceb54
8
PKGBUILD
8
PKGBUILD
@ -1,7 +1,7 @@
|
|||||||
# 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
|
# comment out needed line if you dont need this component
|
||||||
_build_gui=0
|
#_build_gui=0
|
||||||
#_build_plasmoid=0
|
#_build_plasmoid=0
|
||||||
|
|
||||||
pkgname=kdeplasma-applets-netctl
|
pkgname=kdeplasma-applets-netctl
|
||||||
@ -18,16 +18,16 @@ optdepends=('kdebase-runtime: sudo support'
|
|||||||
'sudo: sudo support')
|
'sudo: sudo support')
|
||||||
source=("https://github.com/arcan1s/netctlplasmoid/releases/download/V.${pkgver}/${_pkgname}-${pkgver}-src.tar.xz")
|
source=("https://github.com/arcan1s/netctlplasmoid/releases/download/V.${pkgver}/${_pkgname}-${pkgver}-src.tar.xz")
|
||||||
install="${pkgname}.install"
|
install="${pkgname}.install"
|
||||||
md5sums=('1faefe9a5491837863b08fcce79accfe')
|
md5sums=('115f410536dc2c09529853a923e8e34c')
|
||||||
|
|
||||||
# flags
|
# flags
|
||||||
_cmakekeys="-DCMAKE_INSTALL_PREFIX=$(kde4-config --prefix) -DCMAKE_BUILD_TYPE=Release"
|
_cmakekeys="-DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release"
|
||||||
[[ ${_build_gui} == 0 ]] && _cmakekeys=${_cmakekeys}" -DBUILD_GUI:BOOL=0"
|
[[ ${_build_gui} == 0 ]] && _cmakekeys=${_cmakekeys}" -DBUILD_GUI:BOOL=0"
|
||||||
[[ ${_build_plasmoid} == 0 ]] && _cmakekeys=${_cmakekeys}" -DBUILD_DATAENGINE:BOOL=0 -DBUILD_PLASMOID:BOOL=0" || depends[1]='kdebase-workspace'
|
[[ ${_build_plasmoid} == 0 ]] && _cmakekeys=${_cmakekeys}" -DBUILD_DATAENGINE:BOOL=0 -DBUILD_PLASMOID:BOOL=0" || depends[1]='kdebase-workspace'
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
# build directory
|
# build directory
|
||||||
[[ -d ${srcdir}/build ]] && rm -rf "${srcdir}/build"
|
rm -rf "${srcdir}/build"
|
||||||
mkdir "${srcdir}/build"
|
mkdir "${srcdir}/build"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user