From 94e3eb45cd3402cbc5efd70ae725e8d48ed696af Mon Sep 17 00:00:00 2001 From: root Date: Tue, 19 Jul 2011 23:13:08 +0000 Subject: Tue Jul 19 23:13:07 UTC 2011 --- libre/xarchiver-libre/PKGBUILD | 44 +++++++++++++++++++++++++++++++++ libre/xarchiver-libre/rePKGBUILD | 26 +++++++++++++++++++ libre/xarchiver-libre/xarchiver.install | 13 ++++++++++ 3 files changed, 83 insertions(+) create mode 100644 libre/xarchiver-libre/PKGBUILD create mode 100644 libre/xarchiver-libre/rePKGBUILD create mode 100644 libre/xarchiver-libre/xarchiver.install (limited to 'libre/xarchiver-libre') 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 +# Contributor: Andrew Simmons + +_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 +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 +} + -- cgit v1.2.3-54-g00ecf