summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-07-19 14:38:52 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-07-19 14:38:52 -0300
commita2d1bf5af5922b551a139aa837dc52c4c01e6f87 (patch)
treeb5c34d37339463fc548fa7b32e61a3a9852147ae /libre
parent7b2ef8f5563f45343bdee6706c0c6f23cee91600 (diff)
downloadabslibre-a2d1bf5af5922b551a139aa837dc52c4c01e6f87.tar.gz
abslibre-a2d1bf5af5922b551a139aa837dc52c4c01e6f87.tar.bz2
abslibre-a2d1bf5af5922b551a139aa837dc52c4c01e6f87.zip
libre/xarchiver-libre-0.5.2-2
Diffstat (limited to '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..71d619abe
--- /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
+}
+