gnome-shell-extension-weather: update for gnome-3.6.
This commit is contained in:
parent
95a3fe729b
commit
be0ea6409c
1 changed files with 14 additions and 21 deletions
|
@ -1,14 +1,9 @@
|
||||||
# Template file for 'gnome-shell-extension-weather'
|
# Template file for 'gnome-shell-extension-weather'
|
||||||
pkgname=gnome-shell-extension-weather
|
pkgname=gnome-shell-extension-weather
|
||||||
version="$(date -u +%Y%m%d)"
|
version="$(date -u +%Y%m%d)"
|
||||||
build_style=gnu-configure
|
|
||||||
noarch=yes
|
|
||||||
nofetch=yes
|
|
||||||
noextract=yes
|
|
||||||
depends="gnome-shell>=3.4"
|
|
||||||
makedepends="which gnome-common>=3.4.0.1 pkg-config intltool gettext-devel glib-devel git"
|
|
||||||
revision=1
|
revision=1
|
||||||
short_desc="Simple extension for displaying weather notifications in GNOME Shell."
|
build_style=gnu-configure
|
||||||
|
short_desc="GNOME Shell extension for displaying weather notifications"
|
||||||
maintainer="davehome <davehome@redthumb.info.tm>"
|
maintainer="davehome <davehome@redthumb.info.tm>"
|
||||||
homepage="https://github.com/simon04/gnome-shell-extension-weather"
|
homepage="https://github.com/simon04/gnome-shell-extension-weather"
|
||||||
license="GPL-3"
|
license="GPL-3"
|
||||||
|
@ -19,23 +14,21 @@ long_desc="
|
||||||
Currently, the weather report including forecast for today and tomorrow is
|
Currently, the weather report including forecast for today and tomorrow is
|
||||||
fetched from Yahoo! Weather."
|
fetched from Yahoo! Weather."
|
||||||
|
|
||||||
|
noarch=yes
|
||||||
|
nofetch=yes
|
||||||
|
noextract=yes
|
||||||
|
|
||||||
|
depends="gnome-shell>=3.6<3.8"
|
||||||
|
|
||||||
|
makedepends="which gnome-common>=3.6.0 pkg-config intltool
|
||||||
|
gettext-devel glib-devel git"
|
||||||
|
|
||||||
do_fetch() {
|
do_fetch() {
|
||||||
local url="git://github.com/simon04/${pkgname}.git"
|
local url="git://github.com/canek-pelaez/${pkgname}.git"
|
||||||
msg_normal " Fetching source from $url ...\n"
|
msg_normal "Fetching source from $url ...\n"
|
||||||
git clone -b gnome3.4 $url ${pkgname}-${version}
|
git clone ${url} ${pkgname}-${version}
|
||||||
}
|
}
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
|
||||||
local _ext_dir=weather\@gnome-shell-extensions.gnome.org
|
|
||||||
|
|
||||||
cp weather-extension-configurator.py \
|
|
||||||
${DESTDIR}/usr/share/gnome-shell/extensions/${_ext_dir}/
|
|
||||||
|
|
||||||
mkdir -p ${DESTDIR}/usr/bin && cd ${DESTDIR}/usr/bin && \
|
|
||||||
ln -s ../share/gnome-shell/extensions/${_ext_dir}/weather-extension-configurator.py \
|
|
||||||
weather-extension-configurator
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue