summaryrefslogtreecommitdiff
path: root/libre/atool-libre
diff options
context:
space:
mode:
authorShackra Sislock <jorgean@lavabit.com>2013-07-28 00:05:17 -0600
committerShackra Sislock <jorgean@lavabit.com>2013-07-28 00:05:17 -0600
commit24a60eb2731228e05ffa0ed9dade0d6b56f9785f (patch)
tree5968c5be0899eeba7cbc294a12b39e165a7be4a7 /libre/atool-libre
parent6785d5420eb83d9990842bd812458ad862c0d9e7 (diff)
parent946d64a4f98b36d70189c65010e666a597ad7aab (diff)
downloadabslibre-24a60eb2731228e05ffa0ed9dade0d6b56f9785f.tar.gz
abslibre-24a60eb2731228e05ffa0ed9dade0d6b56f9785f.tar.bz2
abslibre-24a60eb2731228e05ffa0ed9dade0d6b56f9785f.zip
merging...
Diffstat (limited to 'libre/atool-libre')
-rw-r--r--libre/atool-libre/PKGBUILD16
1 files changed, 12 insertions, 4 deletions
diff --git a/libre/atool-libre/PKGBUILD b/libre/atool-libre/PKGBUILD
index 0745630ad..b2b3097b9 100644
--- a/libre/atool-libre/PKGBUILD
+++ b/libre/atool-libre/PKGBUILD
@@ -1,15 +1,16 @@
-# $Id$
+# $Id: PKGBUILD 78820 2012-10-25 06:47:28Z foutrelis $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: leif_thande <leif.thande@gmail.com>
# Contributor: tranquility <trankas@gmail.com>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
+# Contributor (Parabola): André Silva <emulatorman@lavabit.com>
_pkgname=atool
pkgname=atool-libre
pkgver=0.39.0
-pkgrel=1
-pkgdesc="A script for managing file archives of various types"
+pkgrel=1.2
+pkgdesc="A script for managing file archives of various types, with unar support included and nonfree unace recommendation removed"
arch=('any')
url="http://www.nongnu.org/atool/"
license=('GPL3')
@@ -25,12 +26,19 @@ optdepends=('bzip2: for using atool with bzip2 compressed archives'
'lzop: for using atool with lzop compressed archives'
'p7zip: for using atool with 7z archives'
'tar: for using atool with tar archives'
+ 'unar: for using atool for unpacking rar archives'
'zip: for using atool for creating zip archives'
- 'unzip: for using atool for unpacking archives')
+ 'unzip: for using atool for unpacking zip archives')
source=(http://savannah.nongnu.org/download/$_pkgname/$_pkgname-$pkgver.tar.gz)
sha256sums=('aaf60095884abb872e25f8e919a8a63d0dabaeca46faeba87d12812d6efc703b')
+prepare() {
+ cd ${srcdir}/${_pkgname}-${pkgver}
+
+ # replace nonfree unrar to unar
+ sed -i 's|unrar|unar|g' $(grep -rlI 'unrar')
+}
build() {
cd ${srcdir}/${_pkgname}-${pkgver}