summaryrefslogtreecommitdiff
path: root/extra/xarchiver
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/xarchiver
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/xarchiver')
-rw-r--r--extra/xarchiver/ChangeLog9
-rw-r--r--extra/xarchiver/PKGBUILD37
-rw-r--r--extra/xarchiver/xarchiver.install12
3 files changed, 58 insertions, 0 deletions
diff --git a/extra/xarchiver/ChangeLog b/extra/xarchiver/ChangeLog
new file mode 100644
index 000000000..c3abc0d0e
--- /dev/null
+++ b/extra/xarchiver/ChangeLog
@@ -0,0 +1,9 @@
+2008-11-27 Alexander Fehr <pizzapunk gmail com>
+
+ * xarchiver-0.5.2-1:
+ New upstream release.
+ New maintainer.
+ Changed license to GPL.
+ Added dependencies on desktop-file-utils and hicolor-icon-theme.
+ Replaced install message with optdepends.
+ Added ChangeLog.
diff --git a/extra/xarchiver/PKGBUILD b/extra/xarchiver/PKGBUILD
new file mode 100644
index 000000000..4934636fc
--- /dev/null
+++ b/extra/xarchiver/PKGBUILD
@@ -0,0 +1,37 @@
+# $Id: PKGBUILD 20752 2008-12-06 14:28:02Z alexanderf $
+# Maintainer: Alexander Fehr <pizzapunk gmail com>
+# Contributor: Andrew Simmons <andrew.simmons@gmail.com>
+
+pkgname=xarchiver
+pkgver=0.5.2
+pkgrel=1
+pkgdesc="GTK+ frontend to various command line archivers"
+arch=('i686' 'x86_64')
+url="http://xarchiver.xfce.org/"
+license=('GPL')
+groups=('xfce4-goodies')
+depends=('gtk2' 'desktop-file-utils' 'hicolor-icon-theme')
+makedepends=('intltool')
+optdepends=('tar: TAR support'
+ 'gzip: GZIP support'
+ 'bzip2: BZIP2 support'
+ 'zip: ZIP support'
+ 'unzip: ZIP support'
+ 'unrar: RAR support'
+ 'p7zip: 7z support'
+ 'arj: ARJ support'
+ 'lha: LHA support'
+ 'lzma-utils: LZMA support'
+ 'lzop: LZOP support')
+options=('!libtool')
+install=xarchiver.install
+source=(http://downloads.sourceforge.net/xarchiver/xarchiver-$pkgver.tar.bz2)
+md5sums=('2bc7f06403cc6582dd4a8029ec9d038d')
+
+build() {
+ cd "$srcdir/xarchiver-$pkgver"
+
+ ./configure --prefix=/usr --libexecdir=/usr/lib/xfce4 || return 1
+ make || return 1
+ make DESTDIR="$pkgdir" install || return 1
+}
diff --git a/extra/xarchiver/xarchiver.install b/extra/xarchiver/xarchiver.install
new file mode 100644
index 000000000..c317fbaca
--- /dev/null
+++ b/extra/xarchiver/xarchiver.install
@@ -0,0 +1,12 @@
+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
+}