summaryrefslogtreecommitdiff
path: root/libre/xarchiver
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2016-07-15 12:58:01 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2016-07-15 12:58:01 -0500
commit6e8bf714cf86bcd4765249b6f6fbb8aeb219886a (patch)
tree07564601f215dcad239dc8fca84b605e591adde1 /libre/xarchiver
parentccf36670e3d0bb5c4ffc41e81a20cb7efa65f4e6 (diff)
downloadabslibre-6e8bf714cf86bcd4765249b6f6fbb8aeb219886a.tar.gz
abslibre-6e8bf714cf86bcd4765249b6f6fbb8aeb219886a.tar.bz2
abslibre-6e8bf714cf86bcd4765249b6f6fbb8aeb219886a.zip
xarchiver-0.5.4.6-2.parabola1: Hooks rebuild
Diffstat (limited to 'libre/xarchiver')
-rw-r--r--libre/xarchiver/PKGBUILD13
-rw-r--r--libre/xarchiver/xarchiver.install12
2 files changed, 6 insertions, 19 deletions
diff --git a/libre/xarchiver/PKGBUILD b/libre/xarchiver/PKGBUILD
index df78babe2..4a6afce7d 100644
--- a/libre/xarchiver/PKGBUILD
+++ b/libre/xarchiver/PKGBUILD
@@ -7,19 +7,18 @@
pkgbase=xarchiver
pkgname=(xarchiver xarchiver-gtk2)
pkgver=0.5.4.6
-pkgrel=1.parabola1
+pkgrel=2.parabola1
pkgdesc="GTK+ frontend to various command line archivers, without nonfree unrar support"
arch=('i686' 'x86_64' 'armv7h')
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'
'p7zip: 7z support'
'lzop: LZOP support'
'cpio: RPM 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
@@ -50,18 +49,18 @@ build() {
[ -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
[ -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')
conflicts=('xarchiver-libre')
replaces=('xarchiver-libre')
@@ -71,7 +70,7 @@ package_xarchiver() {
package_xarchiver-gtk2() {
pkgdesc+=' (GTK+ 2 version)'
- depends=('gtk2' 'desktop-file-utils')
+ depends=('gtk2')
conflicts=('xarchiver')
cd gtk2
diff --git a/libre/xarchiver/xarchiver.install b/libre/xarchiver/xarchiver.install
deleted file mode 100644
index c317fbaca..000000000
--- a/libre/xarchiver/xarchiver.install
+++ /dev/null
@@ -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
-}