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

Balló György bgyorgy at archlinux.org
Tue Jul 12 22:10:22 UTC 2016


    Date: Tuesday, July 12, 2016 @ 22:10:21
  Author: bgyorgy
Revision: 182786

upgpkg: nautilus-actions 3.2.4-2

Hooks rebuild

Modified:
  nautilus-actions/trunk/PKGBUILD
Deleted:
  nautilus-actions/trunk/nautilus-actions.install

--------------------------+
 PKGBUILD                 |   15 ++++++++-------
 nautilus-actions.install |   24 ------------------------
 2 files changed, 8 insertions(+), 31 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-07-12 22:03:39 UTC (rev 182785)
+++ PKGBUILD	2016-07-12 22:10:21 UTC (rev 182786)
@@ -6,29 +6,30 @@
 
 pkgname=nautilus-actions
 pkgver=3.2.4
-pkgrel=1
+pkgrel=2
 pkgdesc="Configures programs to be launched when files are selected in Nautilus"
 arch=('i686' 'x86_64')
 url="http://git.gnome.org/browse/nautilus-actions"
 license=('GPL')
 depends=('nautilus' 'libunique3' 'libgtop' 'libsm' 'gconf')
-makedepends=('intltool' 'gnome-doc-utils')
-install=nautilus-actions.install
+makedepends=('intltool' 'gnome-doc-utils' 'python')
 source=(http://www.nautilus-actions.org/downloads/$pkgname-$pkgver.tar.gz)
 sha1sums=('bfa90e86ff0624d345962a9add71d3b2e8bb2047')
 
 build() {
-  cd "$srcdir/$pkgname-$pkgver"
-
+  cd $pkgname-$pkgver
   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib \
               --disable-schemas-install \
               --with-gconf-schema-file-dir=/usr/share/gconf/schemas
+
+  #https://bugzilla.gnome.org/show_bug.cgi?id=656231
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
   make
 }
 
 package(){
-  cd "$srcdir/$pkgname-$pkgver"
-
+  cd $pkgname-$pkgver
   make DESTDIR="$pkgdir" install
 
   # Install GConf schemas

Deleted: nautilus-actions.install
===================================================================
--- nautilus-actions.install	2016-07-12 22:03:39 UTC (rev 182785)
+++ nautilus-actions.install	2016-07-12 22:10:21 UTC (rev 182786)
@@ -1,24 +0,0 @@
-pkgname=nautilus-actions
-
-post_install() {
-  usr/sbin/gconfpkg --install ${pkgname}
-  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
-  update-desktop-database -q
-}
-
-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/hicolor
-  update-desktop-database -q
-}



More information about the arch-commits mailing list