From a8f6db4b52f5f88a8e0de3e2cb9788baecd28dfb Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Wed, 17 Jul 2013 21:47:16 -0300 Subject: atool-libre: add unar support --- libre/atool-libre/PKGBUILD | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'libre/atool-libre') diff --git a/libre/atool-libre/PKGBUILD b/libre/atool-libre/PKGBUILD index 3af247bcf..bb68cc824 100644 --- a/libre/atool-libre/PKGBUILD +++ b/libre/atool-libre/PKGBUILD @@ -4,12 +4,13 @@ # Contributor: tranquility # Contributor: Daniel J Griffiths # Maintainer (Parabola): Márcio Silva +# Contributor (Parabola): André Silva _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" +pkgdesc="A script for managing file archives of various types, with unar support included and without 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 unrar to unar + sed -i 's|unrar|unar|g' $(grep -rlI 'unrar') +} + build() { cd ${srcdir}/${_pkgname}-${pkgver} -- cgit v1.2.3 From af82feaf85f560e50da14ea6e554280490c0bc3d Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Wed, 17 Jul 2013 21:56:12 -0300 Subject: atool-libre: improve description on unar support --- libre/atool-libre/PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libre/atool-libre') diff --git a/libre/atool-libre/PKGBUILD b/libre/atool-libre/PKGBUILD index bb68cc824..1c324fd57 100644 --- a/libre/atool-libre/PKGBUILD +++ b/libre/atool-libre/PKGBUILD @@ -36,7 +36,7 @@ sha256sums=('aaf60095884abb872e25f8e919a8a63d0dabaeca46faeba87d12812d6efc703b') prepare() { cd ${srcdir}/${_pkgname}-${pkgver} - # replace unrar to unar + # replace nonfree unrar to unar sed -i 's|unrar|unar|g' $(grep -rlI 'unrar') } -- cgit v1.2.3 From 4dfeb1121c171e34cbb26111d998065173bc0252 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Wed, 17 Jul 2013 22:12:50 -0300 Subject: atool-libre: fix description for the package --- libre/atool-libre/PKGBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libre/atool-libre') diff --git a/libre/atool-libre/PKGBUILD b/libre/atool-libre/PKGBUILD index 1c324fd57..b2b3097b9 100644 --- a/libre/atool-libre/PKGBUILD +++ b/libre/atool-libre/PKGBUILD @@ -9,8 +9,8 @@ _pkgname=atool pkgname=atool-libre pkgver=0.39.0 -pkgrel=1.1 -pkgdesc="A script for managing file archives of various types, with unar support included and without nonfree unace recommendation removed" +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') -- cgit v1.2.3