blob: ae0a456f2d50f4a6e1cace3508ee25bf54d738d2 (
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>
name='wifi-menu'
pkgname="$name-git"
pkgver=1
pkgrel=1
pkgdesc="Gtk3 layer shell window for managing wifi connections."
arch=('x86_64')
url="https://github.com/bozidarsk/$name"
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 "$srcdir/$name"
}
build()
{
cd "$srcdir/$name"
mcs '-recurse:*.cs' -pkg:gtk-sharp-3.0 -out:"$name"
}
package()
{
install -vDm755 "$srcdir/$name/$name" -t "$pkgdir/usr/bin/"
}
|