diff options
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 38 | ||||
-rw-r--r-- | libgweather.install | 22 |
3 files changed, 24 insertions, 49 deletions
@@ -1,9 +1,10 @@ +# Generated by mksrcinfo v8 +# Fri Apr 28 19:08:16 UTC 2017 pkgbase = libgweather2 pkgdesc = Provides access to weather information from the net (legacy version) - pkgver = 2.30.3 - pkgrel = 2 + pkgver = 2.91.6 + pkgrel = 1 url = http://www.gnome.org/ - install = libgweather.install arch = i686 arch = x86_64 license = GPL @@ -13,14 +14,14 @@ pkgbase = libgweather2 makedepends = gobject-introspection makedepends = gnome-common depends = gconf - depends = libsoup-gnome + depends = libsoup depends = gtk2 provides = libgweather conflicts = libgweather options = !libtool options = !emptydirs - source = http://ftp.gnome.org/pub/GNOME/sources/libgweather/2.30/libgweather-2.30.3.tar.bz2 - md5sums = bf6a0a05051341ecb250f332e3edfb88 + source = http://ftp.gnome.org/pub/GNOME/sources/libgweather/2.91/libgweather-2.91.6.tar.bz2 + sha256sums = 186b7ed8f8fbeb50ddd39e9f4518163a0dcfde17be72a5e85af2d271b3a337bf pkgname = libgweather2 @@ -1,49 +1,45 @@ # Maintainer: Piotr Rogoża <rogoza dot piotr at gmail dot com> # Contributor: Piotr Rogoża <rogoza dot piotr at gmail dot com> -# vim:set ts=2 sw=2 et ft=sh tw=100: expandtab pkgname=libgweather2 _pkgname=libgweather -pkgver=2.30.3 +pkgver=2.91.6 _pkgver=${pkgver%.*} -pkgrel=2 +pkgrel=1 pkgdesc="Provides access to weather information from the net (legacy version)" arch=('i686' 'x86_64') url="http://www.gnome.org/" license=('GPL') -groups=() -depends=(gconf libsoup-gnome gtk2) +depends=(gconf libsoup gtk2) makedepends=('pkgconfig' 'intltool' 'gtk-doc' 'gobject-introspection' 'gnome-common') -optdepends=() provides=(libgweather) conflicts=(libgweather) -replaces=() -backup=() options=('!libtool' '!emptydirs') -install='libgweather.install' +# install='libgweather.install' source=(http://ftp.gnome.org/pub/GNOME/sources/${_pkgname}/${_pkgver}/${_pkgname}-${pkgver}.tar.bz2) -noextract=() +sha256sums=('186b7ed8f8fbeb50ddd39e9f4518163a0dcfde17be72a5e85af2d271b3a337bf') build(){ cd "$srcdir/$_pkgname-$pkgver" gtkdocize # autoreconf -fi - - ./configure --prefix=/usr --sysconfdir=/etc \ - --localstatedir=/var --disable-static \ - --enable-locations-compression - + _configure=( + --prefix=/usr + --sysconfdir=/etc + --localstatedir=/var + --disable-static + --enable-locations-compression + ) + ./configure ${_configure[@]} make } package(){ cd "$srcdir/$_pkgname-$pkgver" - make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install + make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install - install -m755 -d "${pkgdir}/usr/share/gconf/schemas" - gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain libgweather ${pkgdir}/etc/gconf/schemas/*.schemas - rm -f ${pkgdir}/etc/gconf/schemas/*.schemas + install -m755 -d "${pkgdir}/usr/share/gconf/schemas" + gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain libgweather ${pkgdir}/etc/gconf/schemas/*.schemas + rm -f ${pkgdir}/etc/gconf/schemas/*.schemas } - -md5sums=('bf6a0a05051341ecb250f332e3edfb88') diff --git a/libgweather.install b/libgweather.install deleted file mode 100644 index 9945b2dfabba..000000000000 --- a/libgweather.install +++ /dev/null @@ -1,22 +0,0 @@ -pkgname=libgweather2 - -post_install() { - usr/sbin/gconfpkg --install ${pkgname} - gtk-update-icon-cache -q -t -f usr/share/icons/gnome -} - -pre_upgrade() { - pre_remove $1 -} - -post_upgrade() { - post_install $1 -} - -pre_remove() { - usr/sbin/gconfpkg --uninstall ${pkgname} -} - -post_remove() { - gtk-update-icon-cache -q -t -f usr/share/icons/gnome -} |