summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8f745942cfcff0226a86130e36a1f6b63af439dd (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
# 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')
# source=("$pkgname-$pkgver::$url.git")

prepare() {
	# cd "$pkgname"
	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
}