[arch-commits] Commit in gthumb/trunk (PKGBUILD gthumb.install)

Jan Steffens heftig at archlinux.org
Thu Jul 28 13:58:36 UTC 2016


    Date: Thursday, July 28, 2016 @ 13:58:36
  Author: heftig
Revision: 272604

3.4.3-2

Modified:
  gthumb/trunk/PKGBUILD
Deleted:
  gthumb/trunk/gthumb.install

----------------+
 PKGBUILD       |   18 ++++++++----------
 gthumb.install |   19 -------------------
 2 files changed, 8 insertions(+), 29 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-07-28 13:54:45 UTC (rev 272603)
+++ PKGBUILD	2016-07-28 13:58:36 UTC (rev 272604)
@@ -5,16 +5,15 @@
 
 pkgname=gthumb
 pkgver=3.4.3
-pkgrel=1
+pkgrel=2
 pkgdesc="Image browser and viewer for the GNOME Desktop"
+url="https://wiki.gnome.org/Apps/gthumb"
 arch=(i686 x86_64)
 license=(GPL)
-url="http://live.gnome.org/gthumb"
-depends=(desktop-file-utils hicolor-icon-theme dconf librsvg clutter-gtk
-         gst-plugins-base-libs gsettings-desktop-schemas libwebp libsecret
-         libsoup webkit2gtk json-glib)
-makedepends=(intltool libchamplain exiv2 itstool brasero libraw liboauth
-             docbook-xsl yelp-tools gnome-common flex)
+depends=(dconf librsvg clutter-gtk gst-plugins-base-libs gsettings-desktop-schemas libwebp
+         libsecret libsoup webkit2gtk json-glib)
+makedepends=(intltool libchamplain exiv2 itstool brasero libraw liboauth docbook-xsl
+             yelp-tools flex)
 optdepends=('libraw: read RAW files'
             'exiv2: metadata support'
             'libchamplain: map viewer'
@@ -21,7 +20,6 @@
             'brasero: burn discs'
             'liboauth: web albums')
 options=('!emptydirs')
-install=gthumb.install
 source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
 sha256sums=('c10fd12f3bfea31c390c74e8e08f86f16e2159fbd6c806daa025423e0ded825d')
 
@@ -31,11 +29,11 @@
 
 build() {
   cd $pkgname-$pkgver
-  
+
   ./configure --prefix=/usr --sysconfdir=/etc \
       --localstatedir=/var --disable-static \
       --enable-libchamplain
-  
+
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
 
   make

Deleted: gthumb.install
===================================================================
--- gthumb.install	2016-07-28 13:54:45 UTC (rev 272603)
+++ gthumb.install	2016-07-28 13:58:36 UTC (rev 272604)
@@ -1,19 +0,0 @@
-post_install() {
-  glib-compile-schemas /usr/share/glib-2.0/schemas
-  update-desktop-database -q
-  gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
-}
-
-pre_upgrade() {
-  if (( $(vercmp $2 2.90.1) < 0 )); then
-    gconfpkg --uninstall gthumb
-  fi
-}
-
-post_upgrade() {
-  post_install
-}
-
-post_remove() {
-  post_install
-}



More information about the arch-commits mailing list