/
PKGBUILD
34 lines (31 loc) · 900 Bytes
/
PKGBUILD
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
31
32
33
34
# Maintainer: Cody Dostal <dostalcody@gmail.com>
pkgname=netgui
_gitname=NetGUI
pkgver=0.7.5
pkgrel=1
pkgdesc="GUI for netctl, stable but beta. Replaces WiFiz."
arch=('any')
url="https://github.com/codywd/$_gitname"
license=('custom')
depends=('python' 'python-gobject' 'netctl' 'gtksourceview3' 'notification-daemon' 'libnotify')
optdepends=(
#'notification-daemon: Desktop Notifications'
'notify-osd: Desktop Notifications (others dont work for me personally)'
)
makedepends=('git')
provides=('netgui')
conflicts=('netcfg' 'wicd')
replaces=('wifiz' 'wifiz-git')
options=(!emptydirs)
source=("git+https://github.com/codywd/$_gitname.git")
md5sums=('SKIP')
sha256sums=('SKIP')
pkgver() {
cd $srcdir/netgui
# Use the tag of the last commit
git describe --always --long | sed -E 's/([^-]*-g)/r\1/;s/-/./g'
}
package() {
cd $srcdir/$_gitname
python2 setup.py install --root="$pkgdir/" --optimize=1
}