diff options
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 20 | ||||
-rw-r--r-- | gnome-shell-extension.install | 4 |
3 files changed, 15 insertions, 16 deletions
@@ -1,18 +1,17 @@ pkgbase = gnome-shell-extension-proxy-switcher-git pkgdesc = Extension for GNOME shell to switch between the system proxy settings. - pkgver = 1.2.r6.g549d1aa - pkgrel = 2 + pkgver = 1.4.r1.gec79104 + pkgrel = 1 url = https://github.com/tomflannaghan/proxy-switcher install = gnome-shell-extension.install arch = any license = GPL2 makedepends = git makedepends = python - depends = gnome-shell>=3.18 + depends = gnome-shell>=3.40 provides = gnome-shell-extension-proxy-switcher conflicts = gnome-shell-extension-proxy-switcher source = git+https://github.com/tomflannaghan/proxy-switcher.git sha256sums = SKIP pkgname = gnome-shell-extension-proxy-switcher-git - @@ -1,15 +1,14 @@ -# Maintainer: M A < morealaz at gmail dot com > - +# Maintainer: Mohammadreza Abdollahzadeh < morealaz at gmail dot com > pkgname=gnome-shell-extension-proxy-switcher-git -pkgver=1.2.r6.g549d1aa -pkgrel=2 +pkgver=1.4.r1.gec79104 +pkgrel=1 pkgdesc='Extension for GNOME shell to switch between the system proxy settings.' arch=(any) _githubname=proxy-switcher _githubowner=tomflannaghan url="https://github.com/${_githubowner}/${_githubname}" license=(GPL2) -depends=('gnome-shell>=3.18') +depends=('gnome-shell>=3.40') makedepends=('git' 'python') provides=("${pkgname%-git}") conflicts=("${pkgname%-git}") @@ -18,7 +17,7 @@ source=("git+${url}.git") sha256sums=('SKIP') pkgver() { - cd "${srcdir}/${_githubname}" + cd "${_githubname}" git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } @@ -27,14 +26,15 @@ prepare() { sed -i 's|INSTALL_LOC=.*|INSTALL_LOC=$(DESTDIR)/usr/share/gnome-shell/extensions|g' \ Makefile } + build() { - cd "${srcdir}/${_githubname}" + cd "${_githubname}" make build } package() { - cd "${srcdir}/${_githubname}" - install -d "$pkgdir/usr/share/gnome-shell/extensions" - make DESTDIR="$pkgdir" install + cd "${_githubname}" + install -d "${pkgdir}/usr/share/gnome-shell/extensions" + make DESTDIR="${pkgdir}" install } # vim:set ts=4 sw=4 et: diff --git a/gnome-shell-extension.install b/gnome-shell-extension.install index 484bc1b03f77..0bdba153ae31 100644 --- a/gnome-shell-extension.install +++ b/gnome-shell-extension.install @@ -1,7 +1,7 @@ post_install() { echo "==> ****************************************************" - echo "==> Don't forget to Restart GNOME Shell ([Alt]+[F2], r)." - echo "==> ****************************************************" + echo "==> Don't forget to Restart GNOME Shell ([Alt]+[F2], r)." + echo "==> ****************************************************" } post_upgrade() { |