summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e511975aeba161f20a5b6509d685c683d2959efd (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
31
32
33
# Maintainer: orumin <dev@orum.in>

pkgname=gnome-shell-extension-refresh-wifi-git
_gitname=gse-refresh-wifi
pkgver=3.18.0.r5.g4ae5dad
pkgrel=1
pkgdesc="This extension adds a refresh button to the Wifi connection selection dialog to request for a network scan manually."
arch=('any')
url="https://github.com/kgshank/${_gitname}"
license=('GPL3')
depends=('gnome-shell')
makedependes=('git')
provides=("gnome-shell-extension-refresh-wifi")
conflicts=('gnome-shell-extensions-git')
install=${pkgname}.install
source=("git+${url}")
sha512sums=('SKIP')

pkgver() {
  cd "${srcdir}/${_gitname}"
  git describe --long --tags | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'
}

package() {
  _uuid='refresh-wifi@kgshank.net'
  _install_dir="${pkgdir}/usr/share/gnome-shell/extensions/${_uuid}"

  install -dm655 "${_install_dir}"
  cd "${srcdir}/${_gitname}/${_uuid}"
  cp -af * "${_install_dir}"
}

# vim:set ts=2 sw=2 et: