summaryrefslogtreecommitdiff
path: root/libre/xarchiver-libre
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-07-19 23:13:08 +0000
committerroot <root@rshg047.dnsready.net>2011-07-19 23:13:08 +0000
commit94e3eb45cd3402cbc5efd70ae725e8d48ed696af (patch)
tree5f43e51e770fce190ea2732d7784460e4a34b351 /libre/xarchiver-libre
parent040215f1ca1d14472525c2562bc33e84f9728d4a (diff)
Tue Jul 19 23:13:07 UTC 2011
Diffstat (limited to 'libre/xarchiver-libre')
-rw-r--r--libre/xarchiver-libre/PKGBUILD44
-rw-r--r--libre/xarchiver-libre/rePKGBUILD26
-rw-r--r--libre/xarchiver-libre/xarchiver.install13
3 files changed, 83 insertions, 0 deletions
diff --git a/libre/xarchiver-libre/PKGBUILD b/libre/xarchiver-libre/PKGBUILD
new file mode 100644
index 000000000..e6d5818db
--- /dev/null
+++ b/libre/xarchiver-libre/PKGBUILD
@@ -0,0 +1,44 @@
+# $Id: PKGBUILD 121261 2011-04-29 22:06:13Z andyrtr $
+# Maintainer: Alexander Fehr <pizzapunk gmail com>
+# Contributor: Andrew Simmons <andrew.simmons@gmail.com>
+
+_pkgname=xarchiver
+pkgname=xarchiver-libre
+pkgver=0.5.2
+pkgrel=2
+pkgdesc="GTK+ frontend to various command line archivers"
+arch=('i686' 'x86_64')
+url="http://xarchiver.sourceforge.net"
+license=('GPL')
+groups=('xfce4-goodies')
+depends=('gtk2' 'desktop-file-utils' 'hicolor-icon-theme')
+makedepends=('intltool')
+provides=("$_pkgname=$pkgver")
+conflicts=("$_pkgname")
+replacesk=("$_pkgname")
+optdepends=('tar: TAR support'
+ 'gzip: GZIP support'
+ 'bzip2: BZIP2 support'
+ 'zip: ZIP support'
+ 'unzip: ZIP 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
+ make
+}
+
+package() {
+ cd "$srcdir/xarchiver-$pkgver"
+ make DESTDIR="$pkgdir" install
+}
+
diff --git a/libre/xarchiver-libre/rePKGBUILD b/libre/xarchiver-libre/rePKGBUILD
new file mode 100644
index 000000000..0e21f1be0
--- /dev/null
+++ b/libre/xarchiver-libre/rePKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Nicolás Reynolds <fauno@kiwwwi.com.ar>
+source PKGBUILD
+CARCH=x86_64
+unset build package md5sums source
+_repo=extra # Put the repo here
+_mirror=http://mirrors.kernel.org/archlinux # Put mirror here
+source=(PKGBUILD
+ "${_mirror}/${_repo}/os/${CARCH}/${pkgname%-libre}-$pkgver-$pkgrel-$CARCH$PKGEXT"
+ # files for pkg modifications below this line
+ )
+options=(!strip)
+
+build() {
+ cd "${srcdir}/"
+ rm -vf ./.{INSTALL,PKGINFO}
+ # put actions for package modifications below this line
+
+}
+
+package() {
+ find ${srcdir} -maxdepth 1 -type l -delete
+ cp -a ${srcdir}/* ${pkgdir}
+}
+
+
+# vim:set ts=2 sw=2 et:
diff --git a/libre/xarchiver-libre/xarchiver.install b/libre/xarchiver-libre/xarchiver.install
new file mode 100644
index 000000000..1a1f4b16b
--- /dev/null
+++ b/libre/xarchiver-libre/xarchiver.install
@@ -0,0 +1,13 @@
+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
+}
+