mirror of
https://github.com/arcan1s/netctl-gui.git
synced 2025-07-23 18:50:01 +00:00
created file tree
This commit is contained in:
33
PKGBUILD
Normal file
33
PKGBUILD
Normal file
@ -0,0 +1,33 @@
|
||||
# Author: Evgeniy "arcanis" Alexeev <esalexeev@gmail.com>
|
||||
# Maintainer: Evgeniy "arcanis" Alexeev <esalexeev@gmail.com>
|
||||
|
||||
pkgname=kdeplasma-applets-netctl-monitor
|
||||
_pkgname=netctl-monitor
|
||||
pkgver=1.0.0
|
||||
pkgrel=1
|
||||
pkgdesc="Plasmoid written on C++ which interacts with netctl"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://arcan1s.github.io/projects/netctlmonitor"
|
||||
license=('GPLv3')
|
||||
depends=('kdebase-workspace')
|
||||
makedepends=('cmake' 'automoc4')
|
||||
source=(https://github.com/arcan1s/netctlmonitor/releases/download/V.${pkgver}/${_pkgname}-${pkgver}-src.tar.xz)
|
||||
install=${pkgname}.install
|
||||
md5sums=('d3ab03ddea1e4793cfc5f35a0f7a5ff1')
|
||||
|
||||
build () {
|
||||
if [[ -d ${srcdir}/build ]]; then
|
||||
rm -rf "${srcdir}/build"
|
||||
fi
|
||||
mkdir "${srcdir}/build"
|
||||
cd "${srcdir}/build"
|
||||
cmake -DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` \
|
||||
../${_pkgname}
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/build"
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
Reference in New Issue
Block a user