summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-07-18 01:40:42 -0300
committerMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-07-18 01:40:42 -0300
commit175f6306d0f981fdac178e1ee113a77ef5d28ec7 (patch)
tree6dae0f16785ce3538a522b6ec32b01641584ed1f
parent360e60ef91ce9cc3e5e2fd73dcb0f3b1c57092d9 (diff)
parent4dfeb1121c171e34cbb26111d998065173bc0252 (diff)
downloadabslibre-175f6306d0f981fdac178e1ee113a77ef5d28ec7.tar.gz
abslibre-175f6306d0f981fdac178e1ee113a77ef5d28ec7.tar.bz2
abslibre-175f6306d0f981fdac178e1ee113a77ef5d28ec7.zip
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
-rw-r--r--libre/atool-libre/PKGBUILD15
1 files changed, 12 insertions, 3 deletions
diff --git a/libre/atool-libre/PKGBUILD b/libre/atool-libre/PKGBUILD
index 3af247bcf..b2b3097b9 100644
--- a/libre/atool-libre/PKGBUILD
+++ b/libre/atool-libre/PKGBUILD
@@ -4,12 +4,13 @@
# 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.1
-pkgdesc="A script for managing file archives of various types, without nonfree unace recommendation"
+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,20 @@ 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}