gnome-shell-extension-weather: Fixes. Revision bump.

This commit is contained in:
davehome 2011-10-14 04:59:09 -06:00
parent 754e905408
commit 7a5397d3ea

View file

@ -1,8 +1,8 @@
# Template file for 'gnome-shell-extension-weather'
pkgname=gnome-shell-extension-weather
version="$(date +%Y%m%d)"
build_style=custom-install
wrksrc= ${pkgname}-${version}
revision=1
build_style=gnu_configure
short_desc="Simple extension for displaying weather notifications in GNOME Shell."
maintainer="davehome <davehome@redthumb.info.tm>"
homepage="https://github.com/simon04/gnome-shell-extension-weather"
@ -16,34 +16,23 @@ long_desc="
nofetch=yes
noextract=yes
Add_dependency run gnome-shell ">=3.2"
Add_dependency build autoconf
Add_dependency run gnome-shell-extensions
Add_dependency build automake
Add_dependency build pkg-config
Add_dependency build intltool
Add_dependency build gettext-devel
Add_dependency build glib-devel
Add_dependency build gnome-common
Add_dependency build gnome-desktop-devel
Add_dependency build git
do_fetch()
{
local url="git://github.com/simon04/${pkgname}.git"
msg_normal " Fetching source from $url ...\n"
git clone -b gnome3.2 $url ${wrksrc}
git clone -b gnome3.2 $url ${pkgname}-${version}
}
do_configure()
pre_configure()
{
cd ${wrksrc} && ./autogen.sh --prefix=/usr
}
do_build()
{
cd ${wrksrc} && make DESTDIR=${DESTDIR}
}
do_install()
{
cd ${wrksrc} && make DESTDIR=${DESTDIR} install
gnome-autogen.sh
}