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

Balló György bgyorgy at archlinux.org
Tue Jul 12 20:44:11 UTC 2016


    Date: Tuesday, July 12, 2016 @ 20:44:11
  Author: bgyorgy
Revision: 182750

upgpkg: xarchiver 0.5.4.6-2

Hooks rebuild

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

-------------------+
 PKGBUILD          |   13 ++++++-------
 xarchiver.install |   12 ------------
 2 files changed, 6 insertions(+), 19 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-07-12 20:36:52 UTC (rev 182749)
+++ PKGBUILD	2016-07-12 20:44:11 UTC (rev 182750)
@@ -6,12 +6,12 @@
 pkgbase=xarchiver
 pkgname=(xarchiver xarchiver-gtk2)
 pkgver=0.5.4.6
-pkgrel=1
+pkgrel=2
 pkgdesc="GTK+ frontend to various command line archivers"
 arch=('i686' 'x86_64')
 url="https://github.com/ib/xarchiver"
 license=('GPL')
-depends=('gtk2' 'gtk3' 'desktop-file-utils')
+depends=('gtk2' 'gtk3')
 makedepends=('docbook-xsl' 'intltool' 'xmlto')
 optdepends=('zip: ZIP support'
             'unzip: ZIP support'
@@ -19,7 +19,6 @@
             'lzop: LZOP support'
             'cpio: RPM support'
             'unrar: RAR support')
-install=xarchiver.install
 source=(https://github.com/ib/xarchiver/archive/$pkgbase-$pkgver.tar.gz
         0001-Add-support-for-GTK-3.patch
         0001-Fix-docbook-file.patch)
@@ -44,7 +43,7 @@
   [ -d gtk3 ] || cp -r $pkgbase-$pkgbase-$pkgver gtk3
   cd gtk3
   ./configure --prefix=/usr --libexecdir=/usr/lib/xfce4
-  make
+  make -j1
 
   cd "$srcdir"
   # GTK+ 2 version
@@ -51,11 +50,11 @@
   [ -d gtk2 ] || cp -r $pkgbase-$pkgbase-$pkgver gtk2
   cd gtk2
   ./configure --prefix=/usr --libexecdir=/usr/lib/xfce4 --disable-gtk3
-  make
+  make -j1
 }
 
 package_xarchiver() {
-  depends=('gtk3' 'desktop-file-utils')
+  depends=('gtk3')
 
   cd gtk3
   make DESTDIR="$pkgdir" install
@@ -63,7 +62,7 @@
 
 package_xarchiver-gtk2() {
   pkgdesc+=' (GTK+ 2 version)'
-  depends=('gtk2' 'desktop-file-utils')
+  depends=('gtk2')
   conflicts=('xarchiver')
 
   cd gtk2

Deleted: xarchiver.install
===================================================================
--- xarchiver.install	2016-07-12 20:36:52 UTC (rev 182749)
+++ xarchiver.install	2016-07-12 20:44:11 UTC (rev 182750)
@@ -1,12 +0,0 @@
-post_install() {
-  update-desktop-database -q
-  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
-}
-
-post_upgrade() {
-  post_install
-}
-
-post_remove() {
-  post_install
-}



More information about the arch-commits mailing list