mirror of
https://github.com/arcan1s/netctl-gui.git
synced 2025-04-24 15:37:23 +00:00
edited pkgbuild
This commit is contained in:
parent
32fb8ceb54
commit
710941c259
14
PKGBUILD
14
PKGBUILD
@ -4,21 +4,20 @@
|
||||
#_build_gui=0
|
||||
#_build_plasmoid=0
|
||||
|
||||
pkgname=kdeplasma-applets-netctl
|
||||
_pkgname=netctl-plasmoid
|
||||
pkgname=netctl-gui
|
||||
pkgver=1.0.0
|
||||
pkgrel=1
|
||||
pkgdesc="Plasmoid with Qt4 GUI which interacts with netctl"
|
||||
pkgdesc="Qt4 GUI for netctl. Provides a plasmoid for KDE4"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://arcan1s.github.io/projects/netctlplasmoid"
|
||||
license=('GPLv3')
|
||||
depends=('netctl' 'qt4')
|
||||
makedepends=('cmake' 'automoc4')
|
||||
makedepends=('automoc4' 'cmake' 'desktop-file-utils' 'xdg-utils')
|
||||
optdepends=('kdebase-runtime: 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"
|
||||
md5sums=('115f410536dc2c09529853a923e8e34c')
|
||||
md5sums=('772eb08f63d45b4f1505e3dfc59bbb20')
|
||||
|
||||
# flags
|
||||
_cmakekeys="-DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release"
|
||||
@ -26,14 +25,13 @@ _cmakekeys="-DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release"
|
||||
[[ ${_build_plasmoid} == 0 ]] && _cmakekeys=${_cmakekeys}" -DBUILD_DATAENGINE:BOOL=0 -DBUILD_PLASMOID:BOOL=0" || depends[1]='kdebase-workspace'
|
||||
|
||||
prepare() {
|
||||
# build directory
|
||||
rm -rf "${srcdir}/build"
|
||||
mkdir "${srcdir}/build"
|
||||
}
|
||||
|
||||
build () {
|
||||
cd "${srcdir}/build"
|
||||
cmake ${_cmakekeys} ../${_pkgname}
|
||||
cmake ${_cmakekeys} ../${pkgname}
|
||||
make
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
ARCHIVE="netctl-plasmoid"
|
||||
ARCHIVE="netctl-gui"
|
||||
SRCDIR="sources"
|
||||
FILES="LICENSE README.md"
|
||||
IGNORELIST="CMakeLists.txt.user"
|
||||
|
@ -1,5 +1,4 @@
|
||||
post_install() {
|
||||
kbuildsycoca4 > /dev/null 2>&1
|
||||
xdg-icon-resource forceupdate --theme hicolor 2> /dev/null
|
||||
update-desktop-database -q
|
||||
}
|
Loading…
Reference in New Issue
Block a user