summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3066029507ed8a344d2dbaf1a69819d25849bafd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Maintainer: bozidarsk <aaaa@gmail.com>
pkgname=wifi-menu-git
pkgver=1
pkgrel=1
pkgdesc="Gtk3 layer shell window for managing wifi connections."
arch=('x86_64')
url="https://github.com/bozidarsk/wifi-menu"
license=('unknown')
depends=('mono' 'gtk-sharp-3' 'gtk-layer-shell')
makedepends=('git' 'mono' 'gtk-sharp-3')

# to update version
# makepkg --printsrcinfo > .SRCINFO

prepare() {
	git clone "$url.git" --recurse-submodules
}

build() {
	cd "wifi-menu"
	mcs '-recurse:*.cs' -pkg:gtk-sharp-3.0 -out:wifi-menu
}

package()
{
	cd "wifi-menu"
	chmod 755 ./wifi-menu
	sudo chown root:root ./wifi-menu
	sudo mv ./wifi-menu /usr/local/bin
}